mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
The Mornye search3 sync treated a page shorter than 500 songs as the last one, so a desktop that ever capped pages lower would have synced a truncated Library to the phone. The offset now advances by the number of entries each page returned and only an empty page ends the catalog, at the cost of one extra request per sync (5 instead of 4 for the 1,200-song fixture, 1 album page and 4 song pages). A non-empty page that brings no new id still fails the scan, so a server that ignores songOffset cannot loop or publish a partial Library. Video ids count as progress, so a last page holding only videos ends normally.