+ input_item_t *p_current = input_GetItem( p_input );
+ playlist_item_t *p_item;
+
+ if( p_playlist->status.p_item->p_input == p_current )
+ p_item = p_playlist->status.p_item;
+ else
+ p_item = playlist_ItemGetByInput( p_playlist, p_current, pl_Unlocked );
+
+ if( p_item )
+ i_ret = GetTracks( p_access, p_playlist, p_item );
+ else
+ msg_Dbg( p_playlist, "unable to find item in playlist");
+ vlc_object_release( p_input );