refactor(runtime): require playlist storage bridge

This commit is contained in:
4gray committed 2026-05-22 13:37:36 +03:00
1 parent 4603bd83d5
commit f626e176d2
5 files changed
+77 -23

No files matched your search

+5 -3
View File
@@ -70,9 +70,11 @@ direct `window.electron` or `DataService.getAppEnvironment()` checks. Keep
feature decisions expressed as capabilities such as `supportsEpg`,
`supportsSqlite`, `supportsXtreamSqliteDataSource`, `supportsDownloads`, or
`supportsManagedExternalPlayers` so PWA and Electron behavior stays auditable
from one shared boundary. `supportsDownloads` requires the complete downloads
preload API surface used by `DownloadsService`, `supportsPlaylistRefresh`
requires the native playlist refresh/cancel/progress bridge, and
from one shared boundary. `supportsSqlite` requires the complete playlist
storage preload API surface used by `PlaylistsService`, `supportsDownloads`
requires the complete downloads preload API surface used by `DownloadsService`,
`supportsPlaylistRefresh` requires the native playlist refresh/cancel/progress
bridge, and
`supportsManagedExternalPlayers` requires the MPV and VLC preload launch methods
(`openInMpv` and `openInVlc`); a partial Electron bridge must not expose
desktop-only actions in the PWA/shared UI.