Fix service discovery submodules (i.e. shoutcast TV and the likes)
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 8 Feb 2009 18:08:20 +0000 (20:08 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 8 Feb 2009 18:14:27 +0000 (20:14 +0200)
Pointed-out-by: Rémi Duraffort
src/playlist/services_discovery.c

index cdbbeb2..36a297e 100644 (file)
@@ -238,7 +238,7 @@ int playlist_ServicesDiscoveryAdd( playlist_t *p_playlist, const char *psz_modul
     if( !p_sd )
         return VLC_ENOMEM;
 
-    module_t *m = module_find( psz_module );
+    module_t *m = module_find_by_shortcut( psz_module );
     if( !m )
     {
         msg_Err( p_playlist, "No such module: %s", psz_module );