by rvm » Mon Apr 30, 2018 11:26 am
I was able to reproduce the problem. This is what I found out: when trying to play the file سالي.mp4 SMPlayer actually gets "????.mp4" as filename (4 question marks). The filename of course is wrong. SMPlayer passes that name to mpv which interprets it as a wildcard, meaning play the first file with 4 characters in the filename. So that's why it plays another file.
I don't know why this is happening. Maybe a bug in QCoreApplication::arguments(). SMPlayer gets the filenames to play from that function.
It works fine if you use the option File -> Open, or if you drag & drop the video in the SMPlayer window, because in that case SMPlayer receives the correct filename since the filename comes from other functions.
If I rename the filename, for example, appending "-2" to the name, then SMPlayer gets the correct filename.