Skip to content

Display episode air date in video playback and controls#991

Open
ijaron wants to merge 4 commits into
DonutWare:developfrom
ijaron:Episode-air-date
Open

Display episode air date in video playback and controls#991
ijaron wants to merge 4 commits into
DonutWare:developfrom
ijaron:Episode-air-date

Conversation

@ijaron
Copy link
Copy Markdown

@ijaron ijaron commented May 13, 2026

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

  • Added airdate display to the playback details row in the video player controls.
  • Added airdate display to the floating mini player subtitle line.
  • Airdate is only shown for episode items and only when a valid airdate exists.
  • Airdate formatting uses localized date formatting to match the user locale.

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

image image

Tested On

  • Android
  • Android TV
  • iOS
  • Linux
  • Windows
  • macOS
  • Web

Checklist

  • If a new package was added, did you ensure it works for all supported platforms? Is the package well maintained
  • Check that any changes are related to the issue at hand.

Copilot AI review requested due to automatic review settings May 13, 2026 02:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 thread lib/widgets/navigation_scaffold/components/floating_player_bar.dart Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants