[vlc-devel] [PATCH] playlist: Media Library automatic item removal
remi at remlab.net
Mon May 25 14:25:21 CEST 2015
Le 2015-05-25 14:52, Aleksandr Pasechnik a écrit :
> Added a setting that automatically removes the last played item from
> playlist once the next item starts playing. This setting only effects
> the Media Library portion of the playlist.
That's going to confuse users.
> Items are not removed if the user manually selects an item to play
> from the
That's even more confusing.
> diff --git a/src/playlist/thread.c b/src/playlist/thread.c
> index 178c5cc..d55af83 100644
> --- a/src/playlist/thread.c
> +++ b/src/playlist/thread.c
> @@ -240,6 +240,16 @@ static bool PlayItem( playlist_t *p_playlist,
> playlist_item_t *p_item )
> var_SetAddress( p_playlist, "input-current", p_input_thread );
> + if( strcmp( PLI_NAME( p_sys->status.p_node ), "Media Library" )
> == 0 )
This is very brittle. In fact, it is plain wrong.
More information about the vlc-devel