wolfskin/app/src/main
Damontecres 170989c31e
Guard against crash if episode has seasonId but no seriesId (#1964)
## Description
When clicking on an episode, the app assumes if there is a season ID for
the episode, then there must be a series ID. However, on my JF 12.0
server, an episode (with no metadata) appeared on my Continue Watching
and it has a season ID (which in turn has a series ID) but no series ID.

I'm not sure if this really a valid situation or if it's a server bug,
but Wholphin shouldn't crash at least. So this PR checks both `seasonId`
and `seriesId` and if either is null, falls back to the generic "Episode
Page". Similarly, if a season has no `seriesId` (again, not sure if a
valid situation), a crash won't occur, however there is no generic
"Season Page", so an error page is shown.

### Related issues
TODO, check JF server issues, maybe fixed in 12.1?

### Testing
Emulator

## Screenshots
N/a

## AI or LLM usage
None
2026-09-17 14:41:45 -04:00
..
assets Add experimental MPV player backend (#161) 2025-11-16 18:46:25 -05:00
java/com/github/damontecres/wholphin Guard against crash if episode has seasonId but no seriesId (#1964) 2026-09-17 14:41:45 -04:00
proto Adds option to dim the screensaver (#1834) 2026-08-17 22:53:40 -04:00
res Run pre-commit 2026-09-12 18:43:14 -04:00
seerr Fix some bugs on discover pages (#1832) 2026-08-13 13:57:51 -04:00
AndroidManifest.xml Update API level to Android 17 (#1908) 2026-08-29 21:35:58 -04:00
ic_launcher-playstore.png Add icons 2025-10-12 17:41:54 -04:00