From 82a3942149e80c28e833a2ebb7d7c9babb03c7ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Andr=C3=A9?= Date: Thu, 4 Feb 2010 21:07:10 +0100 Subject: [PATCH] SD: Fix podcast announcement and Qt special hack --- modules/gui/qt4/components/playlist/selector.cpp | 2 +- modules/services_discovery/podcast.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp index 09305f6aa9..7af34d2db9 100644 --- a/modules/gui/qt4/components/playlist/selector.cpp +++ b/modules/gui/qt4/components/playlist/selector.cpp @@ -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 ); diff --git a/modules/services_discovery/podcast.c b/modules/services_discovery/podcast.c index 07afe5bc2c..7bc87ef3c0 100644 --- a/modules/services_discovery/podcast.c +++ b/modules/services_discovery/podcast.c @@ -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, " \ -- 2.39.5