Open rado84-github opened 10 months ago
I forgot to attach the log, so here it is: smplayer_log.txt
I've just tested in my computer with the snap package with smplayer 23.13 and mpv 0.36 with a couple of mvks and I'm afraid I can't reproduce the issue. For me the audio and subtitles are correctly selected, respecting the preferred languages.
As I said, the same thing happens with deleted config and freshly installed system, even when smp has been downgraded, that's why I think the problem is in one of its dependencies. But IDK enough about each of them to know which dep could cause it. As for 23.13, I guess I'll have to wait for it to come to Arch's repo cuz we don't use snap and flatpaks and I'm not a big fan of them either. Though I doubt anything will change even with 23.13. Mpv is 0.37 here.
Update: I just found out what was causing the problem and you wouldn't believe what it was - the stupid Qt! Deleting ~/.config/QtProject.conf fixed the problem and now everything in my preferred languages is selected properly, even when they're NOT set as default tracks.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior SMPlayer should always select the first available track (audio and subtitles) whose language label matches the ones you've entered in "preferred language and subtitles".
Your Enviroment
Logs For the log see my next comment right after this one, since I forgot to attach it.
Additional context When there are multiple audio tracks, SMP selects the first audio track, regardless of your preferred language settings. When there's only one audio track left in the mkv, SMP selects that audio track automatically but not the subtitles. As you can see in picture1.png, I've set the subtitles and the audio to be default and yet picture2.png clearly shows that SMP hasn't selected the subtitles at all.
I tried downgrading SMP to an older version but that didn't change anything, so I assume the problem is in one of its dependencies, but IDK which one. I also deleted the entire ~/.config/smplayer directory in order to recreate the configuration from scratch but that didn't change anything either. When SMP was version 22.7.0 with the dependencies for that version, everything was working fine.