[vlc-devel] [PATCH 2/3] playlist: item: use META_REQUEST_OPTION_NO_AUTO_RECURSION

Filip Roséen filip at atch.se
Fri Jul 20 10:15:43 CEST 2018


fixes: #18236
---
 src/playlist/item.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/playlist/item.c b/src/playlist/item.c
index b8deef464c..3971da0727 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -743,7 +743,8 @@ static void playlist_Preparse( playlist_t *p_playlist,
 
     if( sys->b_preparse && !input_item_IsPreparsed( input )
      && (EMPTY_STR(psz_artist) || EMPTY_STR(psz_album)) )
-        libvlc_MetadataRequest( p_playlist->obj.libvlc, input, 0, -1, p_item );
+        libvlc_MetadataRequest( p_playlist->obj.libvlc, input,
+            META_REQUEST_OPTION_NO_AUTO_RECURSION, -1, p_item );
     free( psz_artist );
     free( psz_album );
 }
-- 
2.18.0


More information about the vlc-devel mailing list