]> git.sesse.net Git - vlc/commitdiff
SD: Fix podcast announcement and Qt special hack
authorJean-Philippe André <jpeg@videolan.org>
Thu, 4 Feb 2010 20:07:10 +0000 (21:07 +0100)
committerJean-Philippe André <jpeg@videolan.org>
Thu, 4 Feb 2010 20:22:40 +0000 (21:22 +0100)
modules/gui/qt4/components/playlist/selector.cpp
modules/services_discovery/podcast.c

index 09305f6aa9e11e340cb95f4b484d94cfe4e17c86..7af34d2db94fe82981b673ed5a5f6b15711d7842 100644 (file)
@@ -278,7 +278,7 @@ void PLSelector::createItems()
             putSDData( addItem( SD_TYPE, *ppsz_longname, false, mfldrs ),
                        *ppsz_name, *ppsz_longname );
         }
-        else if( SD_IS("podcast") )
+        else if( !strncmp( *ppsz_name, "podcast", 7 ) )
         {
 
             PLSelItem *podItem = addItem( SD_TYPE, qtr( "Podcasts" ), false );
index 07afe5bc2ca0bdca4cf170f6c3b87d57af64872c..7bc87ef3c05023f3a8d60c90e140717554f30cbb 100644 (file)
@@ -53,7 +53,7 @@
 static int  Open ( vlc_object_t * );
 static void Close( vlc_object_t * );
 
-VLC_SD_PROBE_HELPER("podcast", N_("Podcasts"))
+VLC_SD_PROBE_HELPER("podcast{longname=Podcasts}", N_("Podcasts"))
 
 #define URLS_TEXT N_("Podcast URLs list")
 #define URLS_LONGTEXT N_("Enter the list of podcasts to retrieve, " \