[vlc-devel] [PATCH 10/10] Let's not fetch art for browsable items
Julien 'Lta' BALLET
elthariel at gmail.com
Mon May 26 11:41:50 CEST 2014
From: Julien 'Lta' BALLET <contact at lta.io>
---
src/playlist/fetcher.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/playlist/fetcher.c b/src/playlist/fetcher.c
index efb0c2a..9838ce0 100644
--- a/src/playlist/fetcher.c
+++ b/src/playlist/fetcher.c
@@ -120,6 +120,10 @@ void playlist_fetcher_Push( playlist_fetcher_t *p_fetcher, input_item_t *p_item,
fetcher_entry_t *p_entry = malloc( sizeof(fetcher_entry_t) );
if ( !p_entry ) return;
+ /* Folder doesn't have metadata (yet) */
+ if( p_item->i_flags & ITEM_FLAG_BROWSABLE )
+ return;
+
vlc_gc_incref( p_item );
p_entry->p_item = p_item;
p_entry->p_next = NULL;
--
1.9.3
More information about the vlc-devel
mailing list