mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
Add a periodic call to updateWatchProgress in the 5-second progress loop when playing offline media (playbackReportContext == null). Previously, offline media progress was only written to the Room database on session stop/release. This meant that if playback was interrupted (crash, force-kill) the persisted position would be lost. Now, the Room offline cache is updated every 5 seconds during offline playback, matching the existing scrobble cadence for online streaming.