@krx3d/tizentube2 1.31.680 → 1.31.700

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 CHANGED
@@ -153,7 +153,7 @@ scripts/pc-installer/ # PC-side install/update script (SDB from the PC,
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
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. 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`). |
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. 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. |
157
157
  | `visualConsole.js` | On-screen debug console (`enableDebugConsole`) — shows version via `../../package.json`, executes commands via `resolveCommand`. |
158
158
 
159
159
  ## UI map (`mods/ui/*.js`)