Merge pull request #983 from 1hitsong/FixDefaultView

Fix default view setting for movie genres
This commit is contained in:
1hitsong 2023-02-01 08:36:57 -05:00 committed by GitHub
commit 89eab9f721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ sub Main (args as dynamic) as void
sceneManager.callFunc("pushScene", group)
else if selectedItem.type = "Folder" and selectedItem.json.type = "Genre"
' User clicked on a genre folder
if selectedItem.collectionType = "movies"
if selectedItem.json.MovieCount > 0
group = CreateMovieLibraryView(selectedItem)
else
group = CreateItemGrid(selectedItem)