Commit 09649055 authored by Rafaël Carré's avatar Rafaël Carré

Preparse file items which don't begin with 'file:'. Patch by Antoine Lejeune.

parent 75da1471
......@@ -485,7 +485,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
PL_LOCK;
if( p_current )
{
if( !strncmp( p_current->psz_uri, "file:", 5 ) )
if( p_current->i_type == ITEM_TYPE_FILE )
{
stats_TimerStart( p_playlist, "Preparse run",
STATS_TIMER_PREPARSE );
......
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