Skip to content

feat: casting playback tracking#3226

Open
kikoso wants to merge 2 commits intofuto-org:masterfrom
kikoso:feat/casting-playback-tracking
Open

feat: casting playback tracking#3226
kikoso wants to merge 2 commits intofuto-org:masterfrom
kikoso:feat/casting-playback-tracking

Conversation

@kikoso
Copy link
Copy Markdown

@kikoso kikoso commented Mar 30, 2026

This pull request should an issue where video watch history and view tracking were not being updated while casting. Previously, the background tasks and event listeners responsible for piping playback progression to the tracking systems were either stubbed out or disconnected during casting scenarios.

Note: While this wires up the Android architecture to support tracking during casts, the actual remote YouTube tracking still relies on the plugin's source.getPlaybackTracker(url) successfully returning a payload rather than null. -> this was fixed after activating "Provide YouTube Activity" on the Grayjay app.

kikoso added 2 commits March 28, 2026 17:03
- Add startUpdateTimeJob implementation to StateCasting to update time periodically
- Assign the job to _updateTimeJob in CastView so it continues updating
- Call updatePlaybackTracking in VideoDetailView when time changes during casting
@kikoso kikoso marked this pull request as ready for review March 30, 2026 15:10
@Zvonimir-FUTO Zvonimir-FUTO added Enhancement New feature or request Casting Related to FCast, AirPlay, Chromecast labels Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Casting Related to FCast, AirPlay, Chromecast CLA-signed Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants