"reveal in finder" files in folders with spaces

macOS specific usage questions
santos46
New Cone
New Cone
Posts: 4
Joined: 12 Feb 2011 03:30

"reveal in finder" files in folders with spaces

Postby santos46 » 12 Feb 2011 03:47

Hello, i just tried VLC 1.1.7 and I've noticed a problem that I've had since 1.0.4. When i play a file and I want to reveal it in the finder by right-clicking on it in the playlist or on the top of the movie window it works fine as long as the folders in the path don't have spaces in their names. But when they do, the spaces are suddenly replaced by "%20" and the folders can't be opened and the files cannot be revealed.
I'm the only one having this problem?
Thanks for your time.

P.S. I'm running MacOSX 10.6.6

stevenmusicmaker
New Cone
New Cone
Posts: 5
Joined: 05 Feb 2011 07:17

Re: "reveal in finder" files in folders with spaces

Postby stevenmusicmaker » 13 Feb 2011 19:39

Hi, santos46, I also am using 1.1.7 while running MacOSX 10.6.6 on a Macbook Pro. I am currently just beginning to find what this great program can do, so I thought I would see if I could mimic your problem. In my playlist, if I click on the title and choose 'Reveal in finder,' if there are spaces in the title, it will not reveal it at all, until I remove the spaces. However, an anomaly I have noticed is that if the title is: 'ShowNameHereS01E01EpisodeTitleNameHereDVDRip.XviD-SAiNTS.avi,' then in the playlist anything after S[season]01E[episode]01 is not shown, until I rename AND remove S01E01. For instance, I can change S01E01 to 1-1 and everything in the name of the file will now show in the playlist window, but I MUST remove S01E01. Not sure why having Season number and Episode number listed in this fashion does this, but that is what I have noticed. I do a lot of renaming AND removing of spaces, it is house keeping, at least that is what I call it! Anyone out there in VideoLAN have some insights or comments? --want to thank the VideoLAN developers out there for this remarkable software!!!

ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: "reveal in finder" files in folders with spaces

Postby ajmas » 18 Feb 2011 20:59

I suspect that internally VLC is storing the file as a URL, but neglects to 'decode' the path before trying to open it on disk.
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.

santos46
New Cone
New Cone
Posts: 4
Joined: 12 Feb 2011 03:30

Re: "reveal in finder" files in folders with spaces

Postby santos46 » 19 Feb 2011 14:41

It worked fine till 1.0.4 came out. What happened?

fkuehne
Developer
Developer
Posts: 7241
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: "reveal in finder" files in folders with spaces

Postby fkuehne » 20 Feb 2011 13:20

Probably some internal change I didn't notice. Thanks for making me aware of this issue (my paths usually don't include spaces which is why I didn't notice..).
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

santos46
New Cone
New Cone
Posts: 4
Joined: 12 Feb 2011 03:30

Re: "reveal in finder" files in folders with spaces

Postby santos46 » 27 Apr 2011 16:28

Hello, i just want to let you know that this problem persists in 1.1.8 and also in 1.1.9.

fkuehne
Developer
Developer
Posts: 7241
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: "reveal in finder" files in folders with spaces

Postby fkuehne » 27 Apr 2011 18:10

Thanks for the reminder. I forgot about that bug when preparing 1.1.9. I created a ticket on this matter now: http://trac.videolan.org/vlc/ticket/4721
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

fkuehne
Developer
Developer
Posts: 7241
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: "reveal in finder" files in folders with spaces

Postby fkuehne » 30 Apr 2011 23:20

Just for your interest: this bug is fixed for VLC 1.1.10. Nightly builds will include this fix as soon as new ones are created (probably not tonight due to server maintenance, but tomorrow).
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

whiterainbow
Blank Cone
Blank Cone
Posts: 30
Joined: 25 Apr 2011 23:47

Re: "reveal in finder" files in folders with spaces

Postby whiterainbow » 13 May 2011 17:19

I just tested this and the behaviour is the same if the folders don't have any spaces but the filename itself does. Just thought I should add that in case the fix wasn't the same. Thanks in advance for fixing this!

fkuehne
Developer
Developer
Posts: 7241
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: "reveal in finder" files in folders with spaces

Postby fkuehne » 14 May 2011 14:15

The fix is for any space in the file's path including the file's name :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

santos46
New Cone
New Cone
Posts: 4
Joined: 12 Feb 2011 03:30

Re: "reveal in finder" files in folders with spaces

Postby santos46 » 10 Jun 2011 16:11

Thank you very much for this fix!

toddat
New Cone
New Cone
Posts: 2
Joined: 20 Dec 2011 16:42

Re: "reveal in finder" files in folders with spaces

Postby toddat » 20 Dec 2011 17:16

I created an interface from the base HTTP files to browse for movies by cover art. The internal VLC web server (ver. 1.1.12) won't render image files with spaces in the names even if URL encoded in the function.js.

So in some form this bug still exists.

fkuehne
Developer
Developer
Posts: 7241
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: "reveal in finder" files in folders with spaces

Postby fkuehne » 22 Dec 2011 12:25

The problem within the web interface is absolutely unrelated to the bug in the OS X interface. Please file a ticket on trac.videolan.org/vlc or provide a patch yourself! :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests