[vlc-devel] commit: SD: Fix podcast announcement and Qt special hack ( Jean-Philippe André )

git version control git at videolan.org
Thu Feb 4 21:26:30 CET 2010


vlc | branch: master | Jean-Philippe André <jpeg at videolan.org> | Thu Feb  4 21:07:10 2010 +0100| [82a3942149e80c28e833a2ebb7d7c9babb03c7ef] | committer: Jean-Philippe André 

SD: Fix podcast announcement and Qt special hack

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82a3942149e80c28e833a2ebb7d7c9babb03c7ef
---

 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 09305f6..7af34d2 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 07afe5b..7bc87ef 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, " \




More information about the vlc-devel mailing list