mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
feat(portals): make connection cooldown configurable in desktop settings (#1536)
This commit is contained in:
1 parent
de81e3b238
commit
0245d73d78
48 files changed
+787
-27
No files matched your search
@@ -166,6 +166,20 @@ agent-browser connect ws://127.0.0.1:9222/devtools/page/<iptvnator-page-id>
|
||||
agent-browser screenshot /tmp/iptvnator-cdp.png
|
||||
```
|
||||
|
||||
## Portal Connectivity Preference
|
||||
|
||||
- Desktop Settings > General > Portal connections exposes default-on
|
||||
`Settings.portalConnectivityGuard`. Only explicit false opts out. Save mirrors
|
||||
the value to Electron `PORTAL_CONNECTIVITY_GUARD` and applies it without restart;
|
||||
settings bootstrap restores it before the renderer loads. It controls Xtream
|
||||
and Stalker together. Preference transitions clear cooldowns and invalidate old
|
||||
request completions; unchanged saves preserve evidence. The environment switch
|
||||
`IPTVNATOR_DISABLE_CONNECTIVITY_GUARD=1` remains authoritative. PWA clients do not
|
||||
control the shared backend's guard.
|
||||
- Both account-info dialogs explain guard refusals with localized paused-request
|
||||
copy and Retry now; Stalker preserves cached account data on a failed refresh.
|
||||
Contract: `docs/architecture/host-connectivity-guard.md`.
|
||||
|
||||
## Radio / Audio Player
|
||||
|
||||
M3U playlists can contain radio channels identified by the `radio="true"` attribute on `#EXTINF` lines. When a radio channel is selected:
|
||||
|
||||
Reference in new issue
Block a user