MPC-BE
MPC-BE copied to clipboard
Why do the /dub and /sub command line parameters need paths?
If you type
MPC-BE.exe Test.mp4
It will look in the current directory for "Test.mp4", and play it.
However, if you type;
MPC-BE.exe Test.mp4 /sub SomeSubs.srt
It doesn't load the subs, even if they're in the same directory. You need to type something like;
MPC-BE.exe Test.mp4 /sub E:\Stuff\Crap\Videos\Newest\SomeSubs.srt
It won't even accept .\ as a placeholder for the current directory;
MPC-BE.exe Test.mp4 /sub .\SomeSubs.srt
Which works in pretty much every other situation.
The same is true of /dub.
I'm wondering why those two command line parameters can't just check the current directory if no path is specified. Why do they absolutely REQUIRE a path to be included?