mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 14:16:16 -08:00
fix(server-storage): merge user data on move, keep failed writes, sign-in route gate
- A merged playlist gains the browser document's favorites and history; Xtream values for one server entry are combined (lists unioned, maps merged, the server winning conflicts) and written once. - A failed user-data write stays queued and survives a re-read; the page-hide flush waits for a batch still travelling. - The start-up screen lets the sign-in route through whatever its check reports. - The backend refuses IPTVNATOR_ACCESS_TOKEN without server storage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
676e3adcd4
commit
fc32934ce3
17 files changed
+474
-90
No files matched your search
@@ -83,8 +83,9 @@ on the server. Adding a playlist stays the ordinary "Add playlist" flow.
|
||||
already has (same id, or same source: Xtream server and user, Stalker
|
||||
portal and MAC, M3U URL) merges into the server's copy, so the same
|
||||
provider added on two devices is not duplicated; the others upload with
|
||||
their ids. The Xtream maps follow under the server id and never replace
|
||||
what a merged playlist already has. The backup format is not used: its
|
||||
their ids. A merged playlist gains the browser's favorites and history,
|
||||
and the Xtream maps follow under the server id, combined with what the
|
||||
server has (lists unioned, maps merged, the server winning conflicts). The backup format is not used: its
|
||||
PWA export carries no Xtream user data.
|
||||
- The decision marker is written only when nothing failed, so a partial
|
||||
move stays on offer and can run again.
|
||||
|
||||
Reference in new issue
Block a user