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
![playlist_sort_filter
Large](https://github.com/user-attachments/assets/9880021b-a1c3-4d8d-ace2-83737f3f772a)

## AI or LLM usage
None
This commit is contained in:
Ray 2026-02-03 15:11:37 -05:00 committed by GitHub
parent ae5035703f
commit 045b689994
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 497 additions and 246 deletions

View file

@ -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