Skip to content

VLC recursively opens the entire home folder when opening a file via Samba

The occurs when running on Fedora 25 with Plasma 5.8 using the latest version of VLC on rpmfusion (3.0.0-0.12 from rpmfusion-free-updates-testing).

When attempting to open a file on a Samba share from the file open dialog I have no issues navigating to the folder either via the network shares menu item or by directly entering the address into the navigation bar. However, when I select a file and try to open it something goes wrong and the VLC playlist is populated with every file in my home directory (recursively) instead of the selected file.

I have no issues with local files and navigating to the samba share via the Zeroconf explorer in the playlist menu allows me to play the shared files correctly.

I was able to reproduce this issue from the command line as well depending upon the formatting of the path. Opening a file with the command line:

vlc smb://10.0.0.100/VHS/My%20Tape.mkv

works correctly. However, when using an escaped path or character

vlc "smb://10.0.0.100/VHS/My Tape.mkv" or vlc smb://10.0.0.100/VHS/My\ Tape.mkv

VLC will fail to open the file and try to recursively open my entire home folder, the same as when trying to load it from the file selection dialog.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information