Commit 749065d0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

shoutcast: dummy probe support for Internet entries

TODO: Freebox
parent 220742ef
...@@ -103,6 +103,8 @@ OPEN( FrenchTV ) ...@@ -103,6 +103,8 @@ OPEN( FrenchTV )
#undef OPEN #undef OPEN
static int vlc_sd_probe_Open( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_category( CAT_PLAYLIST ) set_category( CAT_PLAYLIST )
set_subcategory( SUBCAT_PLAYLIST_SD ) set_subcategory( SUBCAT_PLAYLIST_SD )
...@@ -136,6 +138,7 @@ vlc_module_begin () ...@@ -136,6 +138,7 @@ vlc_module_begin ()
set_callbacks( OpenFreebox, Close ) set_callbacks( OpenFreebox, Close )
add_shortcut( "freebox" ) add_shortcut( "freebox" )
VLC_SD_PROBE_SUBMODULE
vlc_module_end () vlc_module_end ()
...@@ -274,3 +277,13 @@ static void Close( vlc_object_t *p_this ) ...@@ -274,3 +277,13 @@ static void Close( vlc_object_t *p_this )
vlc_join (p_sys->thread, NULL); vlc_join (p_sys->thread, NULL);
free (p_sys); free (p_sys);
} }
static int vlc_sd_probe_Open( vlc_object_t *obj )
{
vlc_probe_t *probe = (vlc_probe_t *)obj;
vlc_sd_probe_Add( probe, "shoutcast", N_("Shoutcast Radio") );
vlc_sd_probe_Add( probe, "shoutcasttv", N_("Shoutcast TV") );
vlc_sd_probe_Add( probe, "frenchtv", N_("French TV") );
return VLC_PROBE_CONTINUE;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment