Skip to content

Update pycaption to 2.2.20#807

Open
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-pycaption-2.1.0-to-2.2.20
Open

Update pycaption to 2.2.20#807
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-pycaption-2.1.0-to-2.2.20

Conversation

@pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Feb 5, 2026

This PR updates pycaption from 2.1.0 to 2.2.20.

Changelog

2.2.20

None

2.2.19

Remove support for python 3.18 and 3.19.

2.2.18

update changelog

2.2.16

- Update copyright details.

2.2.15

- Always skip doubled special characters, not just in case the cue
 starters are doubled.

2.2.14

- Fix an issue with WebVTT writer text positioning on break inside a
 cue.
- Prevent creating a repositioning command to the same coordinates.

2.2.13

- Mid-row codes only add spaces only if there isn't one before.
- Mid-row codes add spaces only if they affect the text in the same
 row (not adding if it follows break or PACS).
- Remove spaces to the end of the lines.
- Close italics on receiving another style setting command.
- Throw an CaptionReadNoCaptions error in case of empty input file are
 provided.
- Ignore repositioning commands which are not followed by any text
 before breaks.
- Mid-row codes will not add the space if it is in front of
 punctuation.
- Fix a bug with background codes when the InstructionNodeCreator
 collection is empty.
- Fix a bug WebVTT writer adding double line breaks.

2.2.11

- A space should not be placed before a mid row code if it follows a
 PAC command or a Tab Offset
- The backspace command should be treated like other commands and
 duplicates should be skipped if PAC commands are duplicated
- Prevent webvtt writer from creating a new cue in case of line break
- In case of style setting PAC which also breaks the line, we add the
 break first, then the style tag

2.2.10 ^^^^^ - Yanked.

2.2.10

A space should not be placed before a mid row code if it follows a
PAC command or a Tab Offset
The backspace command should be treated like other commands and
duplicates should be skipped if PAC commands are duplicated

2.2.9

Yanked

2.2.8

- Honor backspaces on captions in scc files
- When mid-row codes which are preceded by a PAC command don't add spaces
- Mid row codes which don't follow after a PAC and don't have a style reset command before will add a space to the end of the previous text node 
- Mid row codes which don't follow after a PAC and have a style reset command before will add a space to the beginning of the next text node 
- Background color codes to delete the space in front

2.2.7

- The cursor moves automatically one column to the right after each
 character or Mid-Row Code received.

2.2.4

- Skip duplicated extended characters.

2.2.3

-   - Add new substitute character to ignore before extended
     character  
     in SCC input files

2.2.2

- Remove support for Python 3.6 & 3.7
- Restrict SCC source files to 31 characters per line (32 will throw
 an exception)
- Bump readthedocs-sphinx-search from 0.3.1 to 0.3.2
- Change Apache copyright licensing (ending) copyright year

2.2.1

- Ignore the substitute character that comes before the extended
 character in SCC files.

2.2.0

- Added support for Python 3.11
- Added support for Beautifulsoup 4.12.2
- Remove support for Beautifulsoup \< 4.12.1
- DFXP captions now end consistently with a newline

2.1.1

- Added nltk as transcript dependency
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant