From 6151ba21e6062604cf2015740aa39583079440f8 Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Fri, 20 Sep 2024 16:40:24 -0400 Subject: [PATCH] Fix music genre library view Fixes #43 --- source/Main.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Main.bs b/source/Main.bs index 09e50667c..68769d6c9 100644 --- a/source/Main.bs +++ b/source/Main.bs @@ -373,7 +373,7 @@ sub Main (args as dynamic) as void group = CreateItemGrid(selectedItem) end if sceneManager.callFunc("pushScene", group) - else if selectedItemType = "folder" and selectedItem.json.type = "musicgenre" + else if selectedItemType = "folder" and LCase(type(selectedItem.json.type)) = "rostring" and LCase(selectedItem.json.type) = "musicgenre" group = CreateMusicLibraryView(selectedItem) sceneManager.callFunc("pushScene", group) else if selectedItemType = "userview" or selectedItemType = "folder" or selectedItemType = "channel" or selectedItemType = "boxset"