diff --git a/lib/media.c b/lib/media.c index b190d0e268336aadf1a9127a7ea71be6c2a2f35a..a1c6d4e24a2ae6fce297e02e3cda514d74d2a933 100644 --- a/lib/media.c +++ b/lib/media.c @@ -793,21 +793,12 @@ static int media_parse(libvlc_media_t *media, bool b_async, input_item_meta_request_option_t parse_scope = META_REQUEST_OPTION_SCOPE_LOCAL; int ret; - /* Ignore libvlc_media_fetch_local flag since local art will be fetched - * by libvlc_MetadataRequest */ - if (parse_flag & libvlc_media_fetch_network) - { - ret = libvlc_ArtRequest(libvlc, item, - META_REQUEST_OPTION_SCOPE_NETWORK, - NULL, NULL); - if (ret != VLC_SUCCESS) - return ret; - } - if (parse_flag & libvlc_media_parse_network) parse_scope |= META_REQUEST_OPTION_SCOPE_NETWORK; if (parse_flag & libvlc_media_fetch_local) parse_scope |= META_REQUEST_OPTION_FETCH_LOCAL; + if (parse_flag & libvlc_media_fetch_network) + parse_scope |= META_REQUEST_OPTION_FETCH_NETWORK; if (parse_flag & libvlc_media_do_interact) parse_scope |= META_REQUEST_OPTION_DO_INTERACT;