Commit d1093a8d authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Fixes album art local discovery and preparsing for directory:// subitems (refs [18129])

parent 7d22f489
...@@ -84,6 +84,9 @@ static int FindMeta( vlc_object_t *p_this ) ...@@ -84,6 +84,9 @@ static int FindMeta( vlc_object_t *p_this )
*psz_dir = '\0'; *psz_dir = '\0';
} }
if( !strncmp( psz_dir, "file://", 7 ) )
psz_dir += 7;
for( i = 0; b_have_art == VLC_FALSE && i < 3; i++ ) for( i = 0; b_have_art == VLC_FALSE && i < 3; i++ )
{ {
switch( i ) switch( i )
......
...@@ -1995,6 +1995,8 @@ static int InputSourceInit( input_thread_t *p_input, ...@@ -1995,6 +1995,8 @@ static int InputSourceInit( input_thread_t *p_input,
else else
{ {
psz_path = psz_dup; psz_path = psz_dup;
if( !strncmp( psz_path, "file://", 7 ) )
psz_path += 7;
msg_Dbg( p_input, "trying to pre-parse %s", psz_path ); msg_Dbg( p_input, "trying to pre-parse %s", psz_path );
psz_demux = ""; psz_demux = "";
psz_access = "file"; psz_access = "file";
......
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