wolfskin/app/src/main/java/com/github/damontecres/wholphin
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
..
api/seerr Add integration with Jellyseerr/Seerr (#558) 2026-01-12 16:35:27 -05:00
data Guard against crash if episode has seasonId but no seriesId (#1964) 2026-09-17 14:41:45 -04:00
preferences Add wrap around scrolling to settings pages (#1937) 2026-09-05 12:11:30 -04:00
services Wait for switched user's home settings before fetching data (#1981) 2026-09-17 14:41:36 -04:00
ui Wait for switched user's home settings before fetching data (#1981) 2026-09-17 14:41:36 -04:00
util Fixes to default home view options for music & videos (#1926) 2026-09-01 17:52:47 -04:00
MainActivity.kt Fixes to v1.0.7 (#1953) 2026-09-11 15:40:11 -04:00
MainContent.kt Several minor bug fixes (#1866) 2026-08-20 17:09:39 -04:00
WholphinApplication.kt Display server error message on server list (#1741) 2026-07-25 22:52:02 -04:00
WholphinDreamService.kt Several minor bug fixes (#1866) 2026-08-20 17:09:39 -04:00