Skip to content

Centralised Media Metadata Handling & General Cleanup#70

Closed
thomasm789 wants to merge 44 commits into
unfoldedcircle:mainfrom
thomasm789:external_mediaartwork
Closed

Centralised Media Metadata Handling & General Cleanup#70
thomasm789 wants to merge 44 commits into
unfoldedcircle:mainfrom
thomasm789:external_mediaartwork

Conversation

@thomasm789
Copy link
Copy Markdown
Contributor

@thomasm789 thomasm789 commented May 6, 2025

This PR includes changes already proposed in #68 and #69

This PR centralises and simplifies media metadata handling, fixing issues like flickering between app icons and media artwork. It improves consistency, respects config flags, and handles key edge cases.

Highlights:

  • Replaces scattered logic with a single _update_media_status method.
  • Fixes flickering by clearly prioritising metadata: Chromecast -> external artwork -> external metadata -> offline mapping -> fallback.
  • External and Chromecast metadata processing are conditional (use_external_metadata, use_chromecast).
  • Introduces both YouTube and Movie/TV Show media artwork.
  • Handles off-state, homescreen, and standby gracefully.
  • General cleanup, clearer structure, less redundancy, better logging.

@thomasm789 thomasm789 closed this May 15, 2025
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.

1 participant