You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parity: re-read the series page after the player's stop lands (from Silo-Server/silo-server#4423) #985
On the phone app, coming back to a series or episode page from the player should show the episode you just watched as watched, along with the season's updated watched count and Next Up. Right now the page can keep showing old watch state until it refreshes again.
The player stops its session after it closes, and that stop writes more than the last progress report: watch history, and the watched marks for the later episodes of a multi-episode file (for example S01E05-E06 in one file). The detail page refreshes as soon as it resumes. ItemDetailViewModel.refreshOnReturn() calls quietRefresh() directly and doesn't wait for the stop, so its reads can come in ahead of it, and nothing reads again once the stop lands.
Android TV already does this: #954 has refreshOnReturn wait for the stop, then read the season list and episode rail again. The web app does the same in Silo-Server/silo-server#4423, which re-reads the page's catalog, progress, and history queries once the player's stop settles.
Users should get: after leaving the player, the series page, the episode page, and the season watched counts match the server without a manual refresh.
From Silo-Server/silo-server#4423. Not reproduced on a phone; this comes from reading the code and matches the gap #954's follow-ups note for the phone app.
Activity