+ FIXME FIXME TODO TODO XXX XXX */
+ msg_Err( p_intf, "moving using indexes is obsolete. We need to update this function" );
+ }
+ else if( !strcmp( s, "playlist_sort" ) )
+ {
+ int i_order = SSPopN( st, vars );
+ int i_sort = SSPopN( st, vars );
+ i_order = i_order % 2;
+ i_sort = i_sort % 9;
+ /* FIXME FIXME TODO TODO XXX XXX
+ do not release before fixing this
+ playlist_RecursiveNodeSort( p_sys->p_playlist,
+ p_sys->p_playlist->p_general,
+ i_sort, i_order );
+ msg_Dbg( p_intf, "requested sort playlist by : %d in order : %d",
+ i_sort, i_order );
+ FIXME FIXME TODO TODO XXX XXX */
+ msg_Err( p_intf, "this needs to be fixed to use the new playlist framework" );
+ }
+ else if( !strcmp( s, "services_discovery_add" ) )
+ {
+ char *psz_sd = SSPop( st );
+ playlist_ServicesDiscoveryAdd( p_sys->p_playlist, psz_sd );
+ free( psz_sd );
+ }
+ else if( !strcmp( s, "services_discovery_remove" ) )
+ {
+ char *psz_sd = SSPop( st );
+ playlist_ServicesDiscoveryRemove( p_sys->p_playlist, psz_sd );
+ free( psz_sd );
+ }
+ else if( !strcmp( s, "services_discovery_is_loaded" ) )
+ {
+ char *psz_sd = SSPop( st );
+ SSPushN( st,
+ playlist_IsServicesDiscoveryLoaded( p_sys->p_playlist, psz_sd ) );
+ free( psz_sd );