Commit fc7008e9 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

misc: acoustid: set NO_INTERACT

(cherry picked from commit 6dfc9301c5791bad9e85078b025cd5f20174aa6a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7efb8d22
...@@ -180,7 +180,10 @@ int DoAcoustIdWebRequest( vlc_object_t *p_obj, acoustid_fingerprint_t *p_data ) ...@@ -180,7 +180,10 @@ int DoAcoustIdWebRequest( vlc_object_t *p_obj, acoustid_fingerprint_t *p_data )
vlc_cleanup_push( cancelDoAcoustIdWebRequest, &request ); vlc_cleanup_push( cancelDoAcoustIdWebRequest, &request );
msg_Dbg( p_obj, "Querying AcoustID from %s", request.psz_url ); msg_Dbg( p_obj, "Querying AcoustID from %s", request.psz_url );
int i_saved_flags = p_obj->i_flags;
p_obj->i_flags |= OBJECT_FLAGS_NOINTERACT;
request.p_stream = stream_UrlNew( p_obj, request.psz_url ); request.p_stream = stream_UrlNew( p_obj, request.psz_url );
p_obj->i_flags = i_saved_flags;
if ( !request.p_stream ) if ( !request.p_stream )
{ {
i_status = VLC_EGENERIC; i_status = VLC_EGENERIC;
......
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