totem r5899 - in trunk: . data



Author: hadess
Date: Tue Jan  6 12:17:05 2009
New Revision: 5899
URL: http://svn.gnome.org/viewvc/totem?rev=5899&view=rev

Log:
2009-01-06  Bastien Nocera  <hadess hadess net>

	* data/mime-functions.sh: Remove PLS and M3U files
	from the audio types, remove XSPF, SMIL, Google Video
	Pointers and Quicktime Media Links from the video types



Modified:
   trunk/ChangeLog
   trunk/data/mime-functions.sh

Modified: trunk/data/mime-functions.sh
==============================================================================
--- trunk/data/mime-functions.sh	(original)
+++ trunk/data/mime-functions.sh	Tue Jan  6 12:17:05 2009
@@ -2,13 +2,13 @@
 
 get_audio_mimetypes ()
 {
-	MIMETYPES=`grep -v ^# $1 | grep "\/" | grep audio | grep -v "audio/x-pn-realaudio"`
+	MIMETYPES=`grep -v ^# $1 | grep "\/" | grep audio | grep -v "audio/x-pn-realaudio" | grep -v "audio/x-scpls" | grep -v "audio/mpegurl" | grep -v "audio/x-mpegurl"`
 	MIMETYPES="$MIMETYPES application/x-flac"
 }
 
 get_video_mimetypes ()
 {
-	MIMETYPES=`grep -v ^# $1 | grep -v x-content/ | grep -v audio | grep -v "application/x-flac"`
+	MIMETYPES=`grep -v ^# $1 | grep -v x-content/ | grep -v audio | grep -v "application/x-flac" | grep -v "text/google-video-pointer" | grep -v "application/x-quicktime-media-link" | grep -v "application/smil" | grep -v "application/smil+xml" | grep -v "application/x-smil" | grep -v "application/xspf+xml"`
 	MIMETYPES="$MIMETYPES audio/x-pn-realaudio"
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]