-
-
Notifications
You must be signed in to change notification settings - Fork 788
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
[Suggestion] For subtitle stream selectors #550
Comments
heh, I write this feature request in march which is (as of writing this comment) 7. in issues:open #541 :D You made it more comprehensive than I did |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
THIS COMMENT might be useful for current users.
I suggest to force the separator for the subtitle stream selectors to be a semicolon (space & commas should not be accepted as separator for subtitle stream selectors). Then adjust/add the operators:
1- Title filter (@): Mach any word in the subtitle TITLE - Accepts quotes - Case insensitive - Space is separator for multiple matching
Include any word = @
Include all words = @[ ]
Exclude any word = !@
Exclude all words = !@[ ]
2- Element number (#): Select the subtitle stream number after applying the languages & flags filters
3- Add support for multiple languages matching
Basically, if we have a list of subtitle streams L0 = [C1,C2,C3,.....] and a selector of the form
A1,A2,....:S1,S2,....|F@T!@t#N
then:1- Check that the audio is in any of the languages A1 or A2 or ....
2- From the list L0 create the subtitle list L1 that mach the languages S1 and S2 and .....
3- From the list L1 create the subtitle list L2 that mach the flags filter F
4- From the list L2 create the subtitle list L3 that mach the include Title filter T
5- From the list L3 create the subtitle list L4 that mach the exclude Title filter t
6- Choose the Nth element from the list L4 (Default is N=1 while N=-1 means last element)
multiple selectors (separated by semicolon):
A1,A2,....:S1,S2,....|F@T!@t#N
;A1,A2,....:S1,S2,....|F@T!@t#N
Example:
If we have the subtitle streams:
1- English SDH [eng] [forced]
2- Full (Modified) [eng]
3- English (Full) [eng]
4- Full, Simplified [chi] [forced]
5- Traditional SDH [chi]
6- Simplified [chi]
7- Simplified SDH [chi]
8- Simplified (Modified) [chi]
9- SDH [spa]
Thank you
The text was updated successfully, but these errors were encountered: