Aleksoid1978/MPC-BE

Why can't MPC-BE directly open (double click on file) files that are over the windows path limit while it can open them through "Quick Open File"?

Closed this issue · 4 comments

Just as the title says, why can't MPC-BE open the files that are over the windows path limit when double-clicking them?

Instead, it can open them if u go through "Quick Open File" (Ctrl+Q), but it takes a few seconds instead of being instantaneous as in the other media players that can open it (MPC-HC and mpv.io).

In other words, every other good media player (MPC-HC and mpv.io) can do it, why MPC-BE cant?
Would it be possible to make it work through double-clicking too?

ps: I dont need a binary compiled specifically for me for this matter (like in this case), it's something that would be necessary on the main mpc-be release that every person installs, thus having the average users being able to open the files and not going around saying MPC-BE is bad or doesnt work when the fault is on windows (the fact that the other media players found a solution still stands, and the fact that the files can actually be opened in MPC-BE but only from "Quick Open File" stands as well).

Thank you for your interest.

We don't support long files path.

Why does it work through "Quick/ Open File" (Ctrl+Q/O) then... ?

When opening a file through "Quick/ Open File" it automatically adds \\?\ to the file paths longer than MAX_PATH, shouldnt it be possible to do the same when u double-click a video?

v0lt commented

When opening a file through "Quick/ Open File" it automatically adds \\?\ to the file paths longer than MAX_PATH, shouldnt it be possible to do the same when u double-click a video?

  1. There will be different behavior on different versions of Windows. In some cases there will be a shortened path with tildes (~).
  2. You can't just add \\?\.

I see, thx for the explanation.