mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Add studio tab & filtering to TV show libraries (#1211)
## Description Adds a tab for Studios (TV networks) to TV libraries. This displays a grid of all of the studios. Clicking one displays the series produced by the studio. Additionally, adds a filter to the library tab to filter by studio. You can select multiple studios, but its not the best UX since there will likely be many studios (I have almost 200). Finally, you can add a home row for studios in a library. ### Related issues Closes #1002 ### Testing Mostly manual testing via emulator ## Screenshots ### Studios tab for a library  ### Filter drop down for studios  ### Updates series details Shows the studio above the genres  ## AI or LLM usage None
This commit is contained in:
parent
edaf06afd0
commit
ade564d907
21 changed files with 651 additions and 4 deletions
|
|
@ -43,6 +43,7 @@ class TestHomeRowSamples {
|
|||
parentId = UUID.randomUUID(),
|
||||
viewOptions = HomeRowViewOptions(),
|
||||
),
|
||||
HomeRowConfig.Studios(parentId = UUID.randomUUID()),
|
||||
HomeRowConfig.ContinueWatching(
|
||||
viewOptions = HomeRowViewOptions(),
|
||||
),
|
||||
|
|
@ -98,6 +99,7 @@ class TestHomeRowSamples {
|
|||
is HomeRowConfig.TvPrograms -> foundTypes.add(it::class)
|
||||
is HomeRowConfig.Suggestions -> foundTypes.add(it::class)
|
||||
is HomeRowConfig.TvChannels -> foundTypes.add(it::class)
|
||||
is HomeRowConfig.Studios -> foundTypes.add(it::class)
|
||||
}
|
||||
}
|
||||
Assert.assertEquals(HomeRowConfig::class.sealedSubclasses.size, foundTypes.size)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue