FS#21291 - [kde] VLC can't play a remote files directly
Attached to Project:
Arch Linux
Opened by Alexander (heaven) - Sunday, 17 October 2010, 12:38 GMT
Last edited by Ronald van Haren (pressh) - Wednesday, 10 August 2011, 07:16 GMT
Opened by Alexander (heaven) - Sunday, 17 October 2010, 12:38 GMT
Last edited by Ronald van Haren (pressh) - Wednesday, 10 August 2011, 07:16 GMT
|
Details
Description:
I can't play remote file in VLC directly. When i click on a remote media file in dolphin, it starts to download it firstly. But dolphin can play this file directly in its information panel Steps to reproduce: Just open a remote (smb in my case) folder with media files and try to open it in VLC. |
This task depends upon
Closed by Ronald van Haren (pressh)
Wednesday, 10 August 2011, 07:16 GMT
Reason for closing: Fixed
Additional comments about closing: As per comment, fixed in KDE 4.7.
Wednesday, 10 August 2011, 07:16 GMT
Reason for closing: Fixed
Additional comments about closing: As per comment, fixed in KDE 4.7.
try changing fom %U to %F
It doesn't help.
This doesn't happen with all url's, but only with url's like this https://bugs.kde.org/show_bug.cgi?id=185881 that I have in mails, received from bugs.kde.org
It seems all .desktop-files should get an extra line "X-KDE-Protocols=http,ftp,smb" or similar, to provide the protocols they support natively. According to http://blog.jfdesignnet.com/?p=1281 it defaults to "X-KDE-Protocols=http,ftp". His solution is adding smb to the default list, but IMHO it's not the proper way, as http://reviewboard.kde.org/r/5280/diff/ explains the bug they were trying to fix in the first place.
"A package which does not include a .desktop file or icons or other freedesktop stuff. This is not a bug if such files are not included in the source tarball, and this must be requested as a feature request upstream. If such files are provided by upstream but not used in the package then this is a bug."
Does anyone know how to do this? I am new at this.
By the way, I realized that to fix this problem, you have to set both the %U-parameter (usually replace %F by %U) and the X-KDE-Protocols in «application».desktop, e.g.:
Exec=mplayer -really-quiet %U
X-KDE-Protocols=http,ftp,smb
They support certain protocols themselves, but because this is not listed in their respective .desktop-files with the "X-KDE-Protocols"-variable, KDE will download all files to local disk before starting VLC or MPlayer.
Btw, this only matters for SMB, because KDE will default to "X-KDE-Protocols=http,ftp". This used to default to "X-KDE-Protocols=http,ftp,smb", hence the current problems.