[totem-pl-parser] And a little more iTunes Podcast



commit d2877326df883f1f590bb9d7b64f453f5126b7fa
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Oct 11 22:19:14 2010 +0100

    And a little more iTunes Podcast

 plparse/totem-pl-parser-podcast.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c
index 7f6b3f2..e329d91 100644
--- a/plparse/totem-pl-parser-podcast.c
+++ b/plparse/totem-pl-parser-podcast.c
@@ -754,7 +754,7 @@ totem_pl_parser_is_itms_feed (GFile *file)
 
 	if (g_file_has_uri_scheme (file, "itms") != FALSE ||
 	    (g_file_has_uri_scheme (file, "http") != FALSE &&
-	     g_str_has_prefix (uri, "http://itunes.apple.com/";) != FALSE)) {
+	     strstr (uri, ".apple.com/") != FALSE)) {
 		if (strstr (uri, "/podcast/") != NULL ||
 		    strstr (uri, "viewPodcast") != NULL) {
 			g_free (uri);



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