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

can't override subtitle track with local mpv.conf #32

Open
tastytea opened this issue Jun 23, 2022 · 0 comments
Open

can't override subtitle track with local mpv.conf #32

tastytea opened this issue Jun 23, 2022 · 0 comments

Comments

@tastytea
Copy link

I sometimes use a directory-local mpv.conf (use-filedir-conf) to force a subtitle track, in this case the local mpv.conf contains sid=2. Without mpv-autosub it works but when the plugin is loaded the default (or the first?) track is always selected.

Is it possible to have the plugin respect the configuration?

mpv log
[autosub] Reactivate external subtitle files:
Track list:
 (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
     Video --vid=2 [P] 'cover.jpg' (mjpeg)
     Audio --aid=1 --alang=eng (*) 'Stereo - ENG (AAC)' (aac 2ch 48000Hz)
 (+) Audio --aid=2 --alang=jpn 'Stereo - JPN (AAC)' (aac 2ch 48000Hz)
     Subs  --sid=1 --slang=eng (*) 'Signs - ENG (ASS)' (ass)
 (+) Subs  --sid=2 --slang=eng 'Dialog - ENG (ASS)' (ass)
[autosub] No German subtitles were detected
[autosub] => Proceeding to download:
[autosub] Searching German subtitles ...
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p10
[autosub] No German subtitles found
[autosub]
Track switched:
 (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
     Video --vid=2 [P] 'cover.jpg' (mjpeg)
     Audio --aid=1 --alang=eng (*) 'Stereo - ENG (AAC)' (aac 2ch 48000Hz)
 (+) Audio --aid=2 --alang=jpn 'Stereo - JPN (AAC)' (aac 2ch 48000Hz)
 (+) Subs  --sid=1 --slang=eng (*) 'Signs - ENG (ASS)' (ass)
     Subs  --sid=2 --slang=eng 'Dialog - ENG (ASS)' (ass)
[autosub] Enabled English embedded subtitles!
[autosub] => NOT downloading new subtitles
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

No branches or pull requests

1 participant