[vlc-devel] [PATCH 4/8] meta/folder: fix options being hidden in GUI
Lyndon Brown
jnqnfe at gmail.com
Sat Sep 26 00:31:44 CEST 2020
From: Lyndon Brown <jnqnfe at gmail.com>
Date: Sun, 7 Apr 2019 03:00:32 +0100
Subject: meta/folder: fix options being hidden in GUI
not having a cat+subcat specified means that the options were ignored
when constructing the preferences tree in Qt (and possibly others).
diff --git a/modules/meta_engine/folder.c b/modules/meta_engine/folder.c
index 795fcc15be..9d7e72b3f1 100644
--- a/modules/meta_engine/folder.c
+++ b/modules/meta_engine/folder.c
@@ -66,6 +66,8 @@ static int FindMeta( vlc_object_t * );
vlc_module_begin ()
set_shortname( N_( "Folder" ) )
set_description( N_("Folder meta data") )
+ set_category( CAT_PLAYLIST )
+ set_subcategory( SUBCAT_PLAYLIST_GENERAL )
add_loadfile("album-art-filename", NULL, N_("Album art filename"),
N_("Filename to look for album art in current directory"))
set_capability( "art finder", 90 )
More information about the vlc-devel
mailing list