[vlc-commits] meta/folder: fix options being hidden in GUI
Lyndon Brown
git at videolan.org
Sat Sep 26 09:28:17 CEST 2020
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sun Apr 7 03:00:32 2019 +0100| [bc6700f7d1f5a483dc59f74fb42a1baacea716c1] | committer: Jean-Baptiste Kempf
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).
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bc6700f7d1f5a483dc59f74fb42a1baacea716c1
---
modules/meta_engine/folder.c | 2 ++
1 file changed, 2 insertions(+)
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-commits
mailing list