@hatfiller/tizenpstream
v1.0.2
Published
TizenBrew module for P-Stream (pstream.mov) on Samsung Tizen TVs — TV remote support and focus handling for pre-2022 and older Tizen.
Downloads
53
Maintainers
Readme
Tizen-PStream
TizenBrew site modification module for P-Stream on Samsung Tizen TVs. Adds TV remote support and D-pad focus navigation, aimed at older Tizen TVs (pre-2022) and current models.
Install
- Install TizenBrew on your Samsung Tizen TV.
- App (launcher): In the module manager add
tizenpstream-app(no @). This gives you a PStream tile; opening it launches pstream.mov in the app view so you can navigate with the remote like a normal Tizen app. - Mod (navigation + keys): Add
@hatfiller/tizenpstreamso D-pad, Enter, Back, and media keys work on pstream.mov. Enter exactly@hatfiller/tizenpstream(nonpm/in front). If you see “unknown module”, tryhatfiller/tizenpstream(without@).
What it does
- D-pad navigation: Arrow keys move focus between links, buttons, and the video (spatial-style).
- Enter on video: Play/pause when the video has focus.
- Back key: Exits fullscreen when in fullscreen.
- Media keys: Registers Play/Pause, Stop, FastForward, Rewind, Next/Previous so the TV sends key events to the page.
The script is written in ES5-style JS for compatibility with older Tizen WebKit.
See your TV’s Tizen / device info (debug)
- Once on load: A small debug overlay appears for about 6 seconds with your TV’s user agent and Tizen build info (if available).
- Anytime: Press the 0 key on the remote to show or hide the same overlay (UA, Tizen API, build). Press 0 or Back again to close it.
Module type
This is a site modification module (packageType: "mods"). It injects mods/userScript.js (or dist/userScript.js) into https://pstream.mov when you open it via TizenBrew.
Repo layout
- Mod (this package):
@hatfiller/tizenpstream— injects into pstream.mov for remote navigation and debug overlay. - App launcher:
tizen-pstream-app/— packagetizenpstream-app(unscoped); add it in TizenBrew for a PStream tile. Publish from that folder withnpm publish --access public.
Build
npm run buildThis copies mods/userScript.js to dist/userScript.js (used when publishing).
License
MIT
