fix: use per-episode overview in pause overlay instead of series synopsis#415
Open
EierKopZA wants to merge 1 commit into
Open
fix: use per-episode overview in pause overlay instead of series synopsis#415EierKopZA wants to merge 1 commit into
EierKopZA wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the player pause overlay metadata for TV content by using each episode’s TMDB-provided overview (from season details) instead of always displaying the series-level synopsis.
Changes:
- Fetch and retain the matched
TmdbEpisodeobject (not just its name) when resolving the current episode. - Populate
episodeTitlefrommatchedEpisode.nameand override the UIoverviewwithmatchedEpisode.overviewwhen it’s non-blank.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
File: PlayerViewModel.kt:967-977
Problem: The pause overlay showed the series synopsis for every episode instead of the episode-specific overview. E.g. every episode of "Breaking Bad" showed the show's general blurb.
Fix: The TMDB season details endpoint already returns per-episode objects with their own overview field. The existing code was only using the episode name. Now it also captures matchedEpisode.overview and overrides the series-level overview with it, so each episode shows its unique description.