p_item = NULL;
}
}
- playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, 0, p_node, p_item );
+ playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, p_node, p_item );
}
vlc_object_release( p_playlist );
}
{
playlist_item_t *p_item;
p_item = playlist_ItemGetByInput( p_playlist, p_input );
- playlist_Control( p_playlist, PLAYLIST_ITEMPLAY, p_item );
+ playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, NULL, p_item );
}
else
{
{
playlist_item_t *p_item;
p_item = playlist_ItemGetByInput( p_playlist, p_input );
- playlist_Control( p_playlist, PLAYLIST_ITEMPLAY, p_item );
+ playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, NULL, p_item );
}
else
{