[vlc-devel] [PATCH] Added URI scheme handlers: mms, rtmp, rtsp

Rémi Denis-Courmont remi at remlab.net
Tue Oct 11 19:03:12 CEST 2011


Le mardi 11 octobre 2011 19:57:44 Scrool, vous avez écrit :
> Hi,
> 
> 2011/10/11 Rémi Denis-Courmont <remi at remlab.net>:
> >        Hello,
> > 
> > Le lundi 10 octobre 2011 02:06:18 Pavol Babincak, vous avez écrit :
> >> URI scheme handlers allows VLC to manifest ability to open these URIs.
> >> Practically it means that if user wants to open url like
> >> mms://example.com/ system may automatically choose VLC to open it.
> > 
> > Hmm? This is not in the desktop entry specification, not even the git
> > tree.
> 
> - I've created patch against latest master of git repository
> git://git.videolan.org/vlc.git. What do you mean it is not git tree?

It's not even in the xdg-specs git tree.

> - To my knowledge vlc.desktop.in is used as source for vlc.desktop. Am I
> wrong?
> 
> >> I haven't included http, ftp, etc. because they are better handled by
> >> web browsers than media player.
> > 
> > So how does the "desktop" knows that VLC supports HTTP and FTP, but not
> > NNTP and Gopher then?
> 
> I haven't included nntp and gopher schemes in desktop file. Therefore
> I don't understand why would "desktop" known that.

That's not the point really.

> I've found that gnome-default-applications-properties (Gnome
> application for setting couple of default applications) thinks that
> application which can handle http is web browser. Because of that it
> lists VLC in list of available web browsers which could confuse user.
> 
> You are right. Now desktop doesn't automatically know that VLC can
> handle streams from HTTP and FTP. These can be added be added if
> aforementioned Gnome "problem" is ok.

So this stuff is broken on GNOME, not agreed in XDG yet and not supported on 
any other desktop?

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list