mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Add ability to sort and filter items in a playlist (#818)
## Description Add ability to sort and filter items in a playlist. There's a new button for each added to the playlist details page. Starting playback will run in the order selected. The sort and filter are persisted locally per playlist, so returning to the playlist will remember the previous settings. Note: playlist playback is still limited to 100 items (#42) ### Related issues Closes #285 ### Testing Emulator & nvidia shield ## Screenshots  ## AI or LLM usage None
This commit is contained in:
parent
ae5035703f
commit
045b689994
5 changed files with 497 additions and 246 deletions
|
|
@ -39,6 +39,17 @@ val DefaultForGenresFilterOptions =
|
|||
DecadeFilter,
|
||||
)
|
||||
|
||||
val DefaultPlaylistItemsOptions =
|
||||
listOf(
|
||||
PlayedFilter,
|
||||
FavoriteFilter,
|
||||
CommunityRatingFilter,
|
||||
OfficialRatingFilter,
|
||||
VideoTypeFilter,
|
||||
YearFilter,
|
||||
DecadeFilter,
|
||||
)
|
||||
|
||||
sealed interface ItemFilterBy<T> {
|
||||
@get:StringRes
|
||||
val stringRes: Int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue