feat(renderer): add Chromecast backend with protocol-neutral orchestration#162
Merged
feat(renderer): add Chromecast backend with protocol-neutral orchestration#162
Conversation
Closed
…ume init - New CastRendererBackend with pychromecast integration, status listeners, and event-driven state sync - Protocol-neutral orchestration layer with _apply_status using targeted DB writes (update_playback_progress_db) to prevent lost-update races on current_index during concurrent status callbacks - Position-based track ended detection; trust_idle flag so polling path can distinguish real IDLE from transient startup states - In-memory history dedup via should_log_history tracker - Volume: null slate on remote renderer select, slider defaults to 50% until device volume is polled, polling loop syncs volume from server - Frontend: renderer picker UI with Cast/UPnP/Local badges and icons
1175f07 to
af03556
Compare
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.
Summary
CastRendererBackendwith pychromecast integration — discovery, playback, status listeners, volume/mute controlRendererOrchestratorthat routes operations to any backend (UPnP, Cast, local) without callers branching on renderer typeRendererRegistrywith backend registration/discovery/persistence, sharedRendererDevice/RendererStatuscontracts, and LAN-aware stream token TTL policycurrent_indexshould_log_historytrackerOpen items