Commit 84091c66 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix #1761: open directory plays.

This needs double-check.
parent 4917bfb8
...@@ -356,14 +356,15 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go ) ...@@ -356,14 +356,15 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
playlist_AddInput( THEPL, p_input, playlist_AddInput( THEPL, p_input,
go ? ( PLAYLIST_APPEND | PLAYLIST_GO ) : PLAYLIST_APPEND, go ? ( PLAYLIST_APPEND | PLAYLIST_GO ) : PLAYLIST_APPEND,
PLAYLIST_END, pl, pl_Unlocked ); PLAYLIST_END, pl, pl_Unlocked );
input_Read( THEPL, p_input, false ); /* Why this ?
* input_Read( THEPL, p_input, false ); */
vlc_gc_decref( p_input ); vlc_gc_decref( p_input );
} }
} }
void DialogsProvider::PLAppendDir() void DialogsProvider::PLAppendDir()
{ {
openDirectory( p_intf, true, false ); openDirectory( p_intf, true, true );
} }
void DialogsProvider::MLAppendDir() void DialogsProvider::MLAppendDir()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment