wolfskin/app/src/main/java/com/github/damontecres/wholphin/data
Damontecres d705a3ea01
Add filtering & sorting for discover grid pages (#1614)
## Description
This PR adds sort & filter options for the discover grid pages.

Sort options:
- Popularity
- Release date
- "Community rating" (TMDB user vote)
- Name

Filter options:
- Genre
- Studio/Network
- "Community rating" (TMDB user vote)
- Parental rating
- Production status (TV only)

Also, two more tabs are added to the discover page for browsing movies
and TV. These are essentially the same as clicking "View more" on the
respective rows on the Discover tab.

### Limitations

This PR hardcodes the region used for studio listing and filtering to
"United States". I'll work on a follow up PR to enable users to specify
this.

The sort & filters are not persisted. I think they should be on the two
new tabs, but not elsewhere, but this will be a follow up PR.

### Related issues
Related to #702 
Implements some of #1511
Rewrites the filter logic in #1610 

### Testing
Emulator, but needs further testing

## Screenshots
<img width="1280" height="720" alt="discover_filters Large"
src="https://github.com/user-attachments/assets/cdefb95c-c4b7-4e06-9bac-b535d372ba03"
/>


## AI or LLM usage
None
2026-06-23 17:24:37 -04:00
..
filter Add filtering & sorting for discover grid pages (#1614) 2026-06-23 17:24:37 -04:00
model Discover movies & tv shows by genre (#1610) 2026-06-22 19:35:44 -04:00
AppDatabase.kt Store remembered tabs in app database instead of preferences (#1541) 2026-06-08 13:45:38 -04:00
ExtrasItem.kt Fix issues from #1530 2026-06-14 19:55:01 -04:00
ItemPlaybackDao.kt More subtitle selection fixes (#630) 2026-01-04 17:06:54 -05:00
ItemPlaybackRepository.kt Use Wholphin-specific dispatchers (#1583) 2026-06-18 11:17:19 -04:00
JellyfinServerDao.kt Add setting to protect a user profile with a PIN (#356) 2025-12-04 14:37:27 -05:00
LibraryDisplayInfoDao.kt Better collection pages including more view options (#1137) 2026-03-28 10:31:03 -04:00
PlaybackEffectDao.kt Add support for viewing photos in photo albums (#703) 2026-02-04 20:04:46 -05:00
PlaybackLanguageChoiceDao.kt More subtitle selection fixes (#630) 2026-01-04 17:06:54 -05:00
RememberedTabDao.kt Store remembered tabs in app database instead of preferences (#1541) 2026-06-08 13:45:38 -04:00
SeerrServerDao.kt Fixes for Jellyseerr login issues (#1031) 2026-03-04 15:11:09 -05:00
ServerPreferencesDao.kt Dependency updates & removing unused code (#70) 2025-10-26 18:17:47 -04:00
ServerRepository.kt Use Wholphin-specific dispatchers (#1583) 2026-06-18 11:17:19 -04:00