Developer's notes

Go to Blog

I have a network smb share with different videos that I want to watch over network on my devices. Today I’d tried to watch a video on my Kubuntu laptop with VLC. It prints errors like:

Your input can't be opened:
VLC is unable to open the MRL 'smb://10.0.0.1/Share/video.mkv'. Check the log for details.

I’d checked logs and found nothing. I’d tried to set username and password in the settings as suggested on the Internet with no results. I’d also tried to install kio-fuse as described on Reddit — nothing changed. So I think, there is some bug in the VLC, that is why I used a different solution:

  1. Open /usr/share/applications/vlc.desktop.
  2. Remove line X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb.
  3. Make sure that kio-fuse installed.

X-KDE-Protocols instructs Dolphin to pass smb URLs directly to VLC. Without this line, kio mounts smb share and allows VLC to work with a local file.