Commit b84ee0b7 authored by François Cartegnie's avatar François Cartegnie 🤞

sd: mediadirs: make item options unique

parent 6d91ece4
...@@ -199,10 +199,10 @@ static void *Run( void *data ) ...@@ -199,10 +199,10 @@ static void *Run( void *data )
input_item_t* p_root = input_item_New( psz_uri, NULL ); input_item_t* p_root = input_item_New( psz_uri, NULL );
if( p_sys->i_type == Picture ) if( p_sys->i_type == Picture )
input_item_AddOption( p_root, "ignore-filetypes=ini,db,lnk,txt", input_item_AddOption( p_root, "ignore-filetypes=ini,db,lnk,txt",
VLC_INPUT_OPTION_TRUSTED ); VLC_INPUT_OPTION_TRUSTED|VLC_INPUT_OPTION_UNIQUE );
input_item_AddOption( p_root, "recursive=collapse", input_item_AddOption( p_root, "recursive=collapse",
VLC_INPUT_OPTION_TRUSTED ); VLC_INPUT_OPTION_TRUSTED|VLC_INPUT_OPTION_UNIQUE );
vlc_event_manager_t *p_em = &p_root->event_manager; vlc_event_manager_t *p_em = &p_root->event_manager;
......
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