@krx3d/tizentube2 1.31.750 → 1.31.760
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 +1 -1
- package/dist/userScript.js +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -156,7 +156,7 @@ scripts/pc-installer/ # PC-side install/update script (SDB from the PC,
|
|
|
156
156
|
| `remoteAccess.js` | Standalone only (`enableRemoteAccess`, `enableRemoteEval`, both off by default and kept across restarts). Tells the service what the settings say — CDP path: `window.__ttRemoteAccess`, drained by `injector.js`'s log poll, which writes the answer back to `window.__ttRemoteInfo`; proxy path: `POST /tizentube/remoteAccess`. The service (`standalone/service/remoteAccess.js`) serves a page on TCP 8098 with a 4-digit PIN kept in `tt-remote-access.json` (bookmarks keep working; *New PIN* replaces it). Its log buffer is fed by `relayLog`, so it holds every service line plus page lines. Page lines are sent while the remote page is open (`window.__ttRemoteViewer`: pushed by the injector poll on change, polled via `GET /tizentube/remoteAccess` on the proxy path; true while `/api/logs` was asked within 10 s), independent of `logServerEnabled`/syslog — `logServer.js` `isRelayActive()`. Lines not meant for the PC receiver are marked `__ttRemoteOnly` and `relayLog` stops them after buffering. JS eval runs via `injector.evaluateInPage` (CDP path only; promises are awaited by polling, 30 s). Ports for firewalls are in README "Network ports". |
|
|
157
157
|
| `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`). |
|
|
158
158
|
| `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`. |
|
|
159
|
-
| `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`);
|
|
159
|
+
| `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`); once the first video plays (not when the `<video>` element appears, which YouTube TV has from start), 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. |
|
|
160
160
|
| `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. When the injected session's CDP connection drops, `injector.js` `reattach()` reconnects to the same debug port every 3 s (no relaunch), skips contexts that already carry the mod (`window.__ttStandalone`), and injects new ones; the page waits up to 15 s for that before giving up. Also logs once whether the page can use `tizen.application` (`standalone.pageApis`). If the injector is still gone, `requestServiceRestart()` starts the service with app-control data `ttReattach` (only possible where the page has `tizen.application`); `standalone/service/index.js` `onRequest` then calls `injector.reattachSaved()`, which reconnects to the debug port saved in `tt-debug-port.json` at each debug launch. The reopen toast is the last fallback. |
|
|
161
161
|
| `visualConsole.js` | On-screen debug console (`enableDebugConsole`) — shows version via `../../package.json`, executes commands via `resolveCommand`. |
|
|
162
162
|
|