totem-pl-parser r130 - in trunk: . plparse



Author: hadess
Date: Sat May 24 12:22:53 2008
New Revision: 130
URL: http://svn.gnome.org/viewvc/totem-pl-parser?rev=130&view=rev

Log:
2008-05-24  Bastien Nocera  <hadess hadess net>

	* plparse/totem-pl-parser.c (totem_pl_parser_parse_internal):
	Also ignore pnm:// URLs



Modified:
   trunk/ChangeLog
   trunk/plparse/totem-pl-parser.c

Modified: trunk/plparse/totem-pl-parser.c
==============================================================================
--- trunk/plparse/totem-pl-parser.c	(original)
+++ trunk/plparse/totem-pl-parser.c	Sat May 24 12:22:53 2008
@@ -1387,8 +1387,9 @@
 
 	if (g_file_has_uri_scheme (file, "mms") != FALSE
 			|| g_file_has_uri_scheme (file, "rtsp") != FALSE
-			|| g_file_has_uri_scheme (file, "icy") != FALSE) {
-		DEBUG(file, g_print ("URL '%s' is MMS, RTSP or ICY, ignoring\n", uri));
+			|| g_file_has_uri_scheme (file, "icy") != FALSE
+			|| g_file_has_uri_scheme (file, "pnm") != FALSE) {
+		DEBUG(file, g_print ("URL '%s' is MMS, RTSP, PNM or ICY, not a playlist\n", uri));
 		return TOTEM_PL_PARSER_RESULT_UNHANDLED;
 	}
 



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