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

misc/language: parse forced tag from external subtitle tracks #16061

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tgt
Copy link

@tgt tgt commented Mar 16, 2025

This also adds a forced argument to the sub-add command.

Fixes: #16060.

This is very similar to #16020.

It does not add support for <title>.forced.<lang>.<ext> as suggested in my issue and just adds support for <title>.<lang>.forced.<ext> as this is in line with the change in the sdh pull request.

I don't think it makes sense for a subtitle track to be marked as both sdh and forced, so I didn't update the filename parser to support both tags at once.

@kasper93 kasper93 added this to the Release v0.41.0 milestone Mar 16, 2025
@tgt tgt force-pushed the forced-external-subs branch from 6dcf014 to 853476f Compare March 18, 2025 12:11
Copy link

github-actions bot commented Mar 19, 2025

Download the artifacts for this pull request:

Windows
macOS

@tgt tgt force-pushed the forced-external-subs branch from 853476f to 2389df8 Compare March 30, 2025 08:44
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.

Recognise .forced in subtitle filenames
2 participants