FS#26455 - mplayer: play file from smb share instead downloading

Attached to Project: Arch Linux
Opened by bartonello (bartonello) - Saturday, 15 October 2011, 14:04 GMT
Last edited by Ionut Biru (wonder) - Sunday, 04 March 2012, 18:47 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I'm kde user and I like mplayer. It'll be great to play media files from samba shares by clicking on it in dolphin. But by default media file will be downloaded after clicking on it.

To play file from smb share instead downloading I need edit "/usr/share/applications/mplayer.desktop": add line "X-KDE-Protocols=smb" and change "Exec=mplayer %F" to "Exec=mplayer %U". After this I can play media from dolphin. May be it is good idea to pack mplayer package with this options by default? Also mplayer can play files not only from smb. So it'll be great to add other protocols too.

Additional info:
* package version(s)
extra/mplayer 34174-1

* config and/or log files etc.
diff /usr/share/applications/mplayer.desktop ~/mplayer.desktop
17c17
< Exec=mplayer %F
---
> Exec=mplayer %U
21a22
> X-KDE-Protocols=smb

Steps to reproduce:
open dolphin, enter samba share, right click on media file, open with... mplayer.
This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 04 March 2012, 18:47 GMT
Reason for closing:  Won't implement
Comment by Jan de Groot (JGC) - Monday, 17 October 2011, 09:59 GMT
I don't like adding these X-KDE-* things to random desktop files. What's next, add all those to GNOME applications also because they support GIO/GVFS?
Comment by bartonello (bartonello) - Monday, 17 October 2011, 12:51 GMT
Why not? Desktop files describe "how a particular program is to be launched" in different desktop environments (as desktop entry spec says). In my humble opinion it's not bad if it will be comfortable to use program.

By the way VLC media player already have this options. Is mplayer worse for some reason?
Comment by Mamy Ratsimbazafy (ChoK) - Sunday, 18 December 2011, 12:19 GMT
SMplayer is affected as well, but I believe this should be requested upstream (to mplayer and smplayer teams).

VLC team configures vlc.desktop in its git repo :
http://git.videolan.org/?p=vlc.git;a=blob;f=share/vlc.desktop.in
Comment by Rasmus Steinke (rasi) - Wednesday, 18 January 2012, 17:45 GMT
This solution does not work at all for me.

Now it doesnt even copy the files.

Loading...