* That's how the playlist get's Service Discovery information
*/
+/***********************************************************************
+ * GetServicesNames
+ ***********************************************************************/
+char ** services_discovery_GetServicesNames( vlc_object_t * p_super )
+{
+ return module_GetModulesNamesForCapability( p_super, "services_discovery" );
+}
+
/***********************************************************************
* Create
***********************************************************************/
const char * psz_cat = p_event->u.services_discovery_item_added.psz_category;
playlist_item_t *p_new_item, * p_parent = user_data;
- msg_Dbg( p_parent->p_playlist, "Adding %s in %s", p_input->psz_name, psz_cat );
+ msg_Dbg( p_parent->p_playlist, "Adding %s in %s",
+ p_input->psz_name ? p_input->psz_name : "(null)",
+ psz_cat ? psz_cat : "(null)" );
/* If p_parent is in root category (this is clearly a hack) and we have a cat */
if( !EMPTY_STR(psz_cat) &&