Skip to content

Commit

Permalink
Fix music genre library view
Browse files Browse the repository at this point in the history
Fixes #43
  • Loading branch information
1hitsong committed Sep 20, 2024
1 parent 03375c8 commit 6151ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Main.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6151ba2

Please sign in to comment.