CogentRedTester / mpv-sub-select

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

"forced" option is not working #11

Closed ma-zsola closed 2 years ago

ma-zsola commented 2 years ago

First of all, thank you for the great script. It seems like, since your latest commits this setting is not working for me:

[ 
   {
        "alang": "hun?",
        "slang": [
            "forced",
            "no"
        ]
    }
]

The script cannot find the subtitle track with "forced" flag. I also tried it with "default" option and without the "no" option, but it doen't work either. It works fine with other settings.

Can you help me?

CogentRedTester commented 2 years ago

Could you upload a log file generated with --log-file and with --msg-level=sub_select='trace'. Make sure that you open the file you're having trouble with so that it shows up in the log.

ma-zsola commented 2 years ago

My log: log.txt

CogentRedTester commented 2 years ago

Can you check if the latest commit fixed this for you?

ma-zsola commented 2 years ago

Yes, it's working. :-) Thank you very much.