Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pycaption to 2.2.15 #720

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Oct 2, 2024

This PR updates pycaption from 2.1.0 to 2.2.15.

Changelog

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 an empty input file is 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.12

^^^^^^
- Pinned nltk to 3.8.0

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.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.6

^^^^^
- Pass the caption cue time with all error messages.

2.2.5

^^^^^
- Yanked.

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