Display episode air date in video playback and controls#991
Open
ijaron wants to merge 4 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds episode air date metadata to active playback UI surfaces so users can see an episode’s air date during playback (instead of inferring it from labels).
Changes:
- Display localized episode air date in the floating mini player subtitle line (episodes only, when available).
- Display localized episode air date in the player controls details row (episodes only, when available).
- Display localized episode air date in the playback information dialog (episodes only, when available).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| lib/widgets/navigation_scaffold/components/floating_player_bar.dart | Adds localized episode air date to the mini player subtitle line. |
| lib/screens/video_player/video_player_controls.dart | Adds localized episode air date to the controls’ details row. |
| lib/screens/video_player/components/video_playback_information.dart | Adds localized episode air date to the playback information dialog. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+71
to
+73
| final episodeAirDate = item is EpisodeModel && item.dateAired != null | ||
| ? DateFormat.yMMMEd(context.localized.localeName).format(item.dateAired!) | ||
| : null; |
Comment on lines
+457
to
+459
| final episodeAirDate = item is EpisodeModel && item.dateAired != null | ||
| ? DateFormat.yMMMEd(context.localized.localeName).format(item.dateAired!) | ||
| : null; |
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.
Pull Request Description
This change adds episode airdate metadata to the player UI so it is visible during playback instead of only being inferred from episode labels.
What was changed
Result
When playing TV episodes, users now see the episode airdate directly in the active playback UI surfaces where episode context is shown.
Issue Being Fixed
Episode playback UI was missing explicit airdate information in key player surfaces (full controls details row and floating player bar), making it harder to identify episode chronology at a glance. This update restores and standardizes airdate visibility in those locations.
Screenshots / Recordings
Tested On
Checklist