CogentRedTester / mpv-sub-select

An advanced conditional subtitle track selector for mpv player
MIT License
89 stars 8 forks source link

Add option to use "sid=" value from mpv.conf inside media folder #30

Closed soredake closed 6 months ago

soredake commented 8 months ago

MPV has useful option for overriding certain options per-folder by creating mpv.conf in it with option you need (for example sid=2 to always select subtitle number two), but, sub-select overrides mpv's subtitle selecting logic and "sid" value from this file is not used, so, it would be nice to have an option to use "sid" value if mpv.conf has it.

CogentRedTester commented 7 months ago

Can you try the file from the commit referenced above.

soredake commented 7 months ago

Thank you! After switching to this branch and enabling force_prediction sid option is now respected in mpv.conf

soredake commented 6 months ago

@CogentRedTester shouldn't this be closed when your commit will land to the master branch?