@krx3d/tizentube2 1.31.650 → 1.31.670
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -1
- package/dist/userScript.js +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -151,8 +151,9 @@ scripts/pc-installer/ # PC-side install/update script (SDB from the PC,
|
|
|
151
151
|
| `playlistBatchCollect.js` | Batch-collects playlist items (`enablePlaylistBatchCollect`). |
|
|
152
152
|
| `logServer.js` | Optional remote log server (`logServerEnabled`) for on-device debugging. In TizenBrew mode, relays via TizenBrew's own `127.0.0.1:8081` service + CDP-queue fallback. In standalone mode (`window.location.hostname === 'localhost'`), instead POSTs to the standalone service's own `POST /tizentube/log` (see `standalone/service/index.js`), which relays to the PC receiver at `logServerHost`:`logServerPort` (same `/tv-log` path/JSON shape as TizenBrew's `remoteLogger.js`, so the receiver script at `scripts/log-receiver/receiver.ps1` works for both). Host/port are set via the RED-key theme overlay (`mods/ui/ui.js`), standalone-only fields — there's no free-text entry in the native TV settings menu. The standalone *service itself* also self-logs its own lifecycle (startup, uncaught exceptions, DIAL service load, proxy errors) unconditionally to a hardcoded `DEFAULT_LOG_HOST`/`DEFAULT_LOG_PORT` in `standalone/service/index.js`, independent of any page config — added specifically because the service can crash before the page/userscript ever loads, at which point page-driven config never gets read. `relayLog` (the single choke point both the page-side proxy fetch and the CDP-queue drain ultimately funnel through) tracks per-`host:port` availability: after the first failed attempt (fast `ECONNREFUSED`, or a 3s timeout for a genuinely unreachable host that would otherwise hang far longer at the OS TCP-connect level) it skips all further attempts to that target for the rest of the process, so an unreachable/not-running PC receiver can't add repeated delay to every subsequent log call. |
|
|
153
153
|
| `homeBarPreview.js` | Standalone only: builds TizenTube's row on the TV home bar (Smart Hub Preview, TVs up to 2021) from the latest unfinished history entry, the latest playlists and the subscriptions page, via the InnerTube client; hands it to the service (POST on the proxy path, `window.__ttHomeBarPreview` drained by the injector's CDP poll otherwise). `openLaunchAction()` opens what a tile asked for (`window.__ttLaunchAction`, set by the injector from index.html's `ttLaunch`). |
|
|
154
|
-
| `subscriptionChannelFilter.js` | Channels hidden only on the Subscriptions page (and the subscriptions part of the home bar row), picked
|
|
154
|
+
| `subscriptionChannelFilter.js` | Channels hidden only on the Subscriptions page (and the subscriptions part of the home bar row), picked in `mods/ui/subscriptionChannelsSettings.js` from the channel list (browse `FEchannels`) plus the uploaders of feed videos. Feed tiles carry no channel id and often show an artist or "X und 2 weitere", so each video's uploader is looked up once via oEmbed (`author_name`) and cached in localStorage `ytaf-video-uploaders`; applied through `channelHider.js`'s `filterHiddenChannels` when the page is `subscriptions`. |
|
|
155
155
|
| `internalsCheck.js` | Startup check (`enableInternalsCheck`, default on): once `resolveCommand` exists plus 10s, looks up every icon name TizenTube uses (its own `ICONS` list) in the app's icon registry (the big string-valued `Map` on `_yttv`) and the internals other modules find by string (`resolveCommand`, InnerTube `mappings`, `_yttv` `JSON.parse`, `ENABLE_PREVIEWS_WITH_SOUND`, `this.actionName`); after the first `<video>`, the player container `customUI.js` patches and its button groups. Shows one toast per phase listing missing names, silent otherwise; logs under `internals.`. **Add new icon names to `ICONS` when you use them**, or they go unchecked. |
|
|
156
|
+
| `injectorAlive.js` | CDP path only: `checkInjector()` waits for a fresh `window.__ttInjectorSeenAt` stamp (set by `injector.js`'s log poll every 2 s) and answers alive/gone/unknown. `resumeAfterSuspend.js` skips its wake reload when the injector is gone (a reload would bring back YouTube without the mod) and asks the user to reopen TizenTube. 'unknown' (proxy path, or a service older than the stamp) keeps the old behaviour. |
|
|
156
157
|
| `visualConsole.js` | On-screen debug console (`enableDebugConsole`) — shows version via `../../package.json`, executes commands via `resolveCommand`. |
|
|
157
158
|
|
|
158
159
|
## UI map (`mods/ui/*.js`)
|