Skip to content

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

@tastytea

Description

@tastytea

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions