[Feature] Mkv subtitle detection
-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
[Feature] Mkv subtitle detection
Would be very interesting to be able to detect when a mkv container already has subtitles and not download extra subtitles which many times are out of sync and get priority in many players.
Re: [Feature] Mkv subtitle detection
That's pretty easy. Check how AMC forces anime-mode by checking Japnese audio + ASS subtitles.
-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: [Feature] Mkv subtitle detection
Couldn't the AMC script check if the subtitles already exist in the mkv before downloading more, just like it checks for existing subtitles files?
-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: [Feature] Mkv subtitle detection
Could you add this improvement to the AMC script?
Thank you
Thank you

-
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: [Feature] Mkv subtitle detection
Has this been forgotten or is there a reason not to add this feature?
Re: [Feature] Mkv subtitle detection
I guess you could easily add this logic to your own custom subtitle script.
Just check with getMediaInfo(...) and see if you get subtitles tracks and if yes just don't pass them along to getMissingSubtitles(...)
Just check with getMediaInfo(...) and see if you get subtitles tracks and if yes just don't pass them along to getMissingSubtitles(...)
Re: [Feature] Mkv subtitle detection
oohh... kewlies..
Is there a way to feed that into a cmd line for use in the context menu?
i.e. How would I edit something like this to check getMediaInfo() if the mkv already includes subtitles for a (or multiple) specific language(s)?
Is there a way to feed that into a cmd line for use in the context menu?
i.e. How would I edit something like this to check getMediaInfo() if the mkv already includes subtitles for a (or multiple) specific language(s)?
Code: Select all
cmd /c filebot -get-subtitles \"%1\" -non-strict --lang en --log-file context.log
There can be only one Power² User
Re: [Feature] Mkv subtitle detection
Sorry, that one will need some scripting, either in groovy or cmdline, 1. select all files, 2. filter out files mkv files with embedded subtitles, 3. run -get-subtitles on the remaining files.
Like so:
https://github.com/filebot/scripts/blob ... all.groovy
Like so:
https://github.com/filebot/scripts/blob ... all.groovy
Re: [Feature] Mkv subtitle detection
wow.. um... that sounds like an absolute truck-load of work for a very niche requirement, lol.
I think I'll pass on adding that to the context menu for the time being
Hopefully it helps verysofttoiletpaper though.
Side Note: that is one freaking hilarious alias, lol.
I think I'll pass on adding that to the context menu for the time being

Hopefully it helps verysofttoiletpaper though.
Side Note: that is one freaking hilarious alias, lol.
There can be only one Power² User