Fixes to default home view options for music & videos (#1926)
## Description This PR fixes how cards are displayed initially when creating the default home page or loading it from the web config: - Ensure view options are selected based on the library type (this is how it's done already when manually adding a row) - Support more home row types such as photos and music ### Related issues Fixes https://github.com/damontecres/Wholphin/issues/1838 ### Testing Emulator, resetting to default and loading from web config ## Screenshots N/A, music cards will be square instead of poster sized ## AI or LLM usage None
This commit is contained in:
parent
cedca9b2b1
commit
6fbf6209a1
3 changed files with 68 additions and 43 deletions
|
|
@ -33,14 +33,7 @@ val supportedCollectionTypes =
|
|||
CollectionType.MUSICVIDEOS,
|
||||
CollectionType.FOLDERS,
|
||||
CollectionType.MUSIC,
|
||||
null, // Mixed
|
||||
)
|
||||
|
||||
val supportedHomeCollectionTypes =
|
||||
setOf(
|
||||
CollectionType.MOVIES,
|
||||
CollectionType.TVSHOWS,
|
||||
CollectionType.HOMEVIDEOS,
|
||||
CollectionType.PHOTOS,
|
||||
null, // Mixed
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue