Commit 1dc4df30 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

playlist/fetcher: do not ignore metadata scope when downloading art

Previously the implementation would unconditionally download art,
these changes make sure that we respect the scope of the fetcher being
used.

fixes #17760
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent f1195781
......@@ -377,6 +377,9 @@ static int DownloadArt( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
goto error;
}
if( !( p_fetcher->e_scope & FETCHER_SCOPE_NETWORK ) )
goto error;
stream_t *p_stream = vlc_stream_NewURL( p_fetcher->object, psz_arturl );
if( !p_stream )
goto error;
......
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