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

Pavol Babincak git at videolan.org
Wed Oct 19 21:46:11 CEST 2011


vlc | branch: master | Pavol Babincak <scroolik at gmail.com> | Wed Oct 19 22:45:39 2011 +0300| [167e86b9399166a7f2be57cba6ec8e53386e4338] | committer: Rémi Denis-Courmont

Added URI scheme handlers: mms, rtmp, rtsp

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.

I haven't included http, ftp, etc. because they are better handled by
web browsers than media player.

More info about URI scheme handlers are here:
http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#id2869854

Line with MimeType key is now longer than 998 characters (see RFC 2822).
I haven't found a way of making it shorter. In case you didn't get whole
line it ends with: x-content/audio-player;application/xspf+xml;

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=167e86b9399166a7f2be57cba6ec8e53386e4338
---

 share/vlc.desktop.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/vlc.desktop.in b/share/vlc.desktop.in
index 425f1e4..5d76ab1 100644
--- a/share/vlc.desktop.in
+++ b/share/vlc.desktop.in
@@ -75,5 +75,5 @@ Icon=vlc
 Terminal=false
 Type=Application
 Categories=AudioVideo;Player;
-MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;video/x-flv;video/vnd.rn-realvideo;video/mp4;video/mp4v-es;video/mp2t;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;audio/amr;audio/amr-wb;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;applic
 ation/xspf+xml;
+MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;video/x-flv;video/vnd.rn-realvideo;video/mp4;video/mp4v-es;video/mp2t;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;audio/amr;audio/amr-wb;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;applic
 ation/xspf+xml;x-scheme-handler/mms;x-scheme-handler/rtmp;x-scheme-handler/rtsp;
 X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb



More information about the vlc-commits mailing list