Twitch Helix Integration
The Twitch tab uses the modern Twitch Helix API (replacing Snaz’s legacy v3/Kraken integration) to export live viewer counts and update your stream title and category directly from OSMV.
Authentication Setup
- Create or open an application in the Twitch Developer Console with an OAuth Redirect URL of
http://localhost. - Enter your Twitch Client ID and Channel username in the Twitch tab.
- Click Get OAuth Token to open Twitch authorization in your browser (requests the
channel:manage:broadcastscope). - OSMV starts a temporary local listener on
http://localhost(port80,180seconds timeout) and fills and saves your OAuth Access Token automatically once you approve access. - If port
80is occupied or blocked on your machine, copy the redirect URL from your browser address bar and paste it into the OAuth Access Token field (OSMV extracts#access_token=...automatically).
Live Viewer Count (TwitchViewers.txt)
Polls GET /helix/streams on the configurable interval (minimum 15 seconds, default 60 seconds) and writes shared/dynamic_text/TwitchViewers.txt.
$viewers: Current live viewer count- Offline text: Custom message written when the channel is offline (default:
Offline) - Example format:
Viewers: $viewers->Viewers: 1423
Stream Title, Game Search & Favorites
- Search live Twitch categories via
GET /helix/search/categories. - Select a category and save it to your Favorite Games (Presets) for one-click switching (existing Snaz
games-custom.jsonfiles inshared/are also imported automatically if presets are empty). - Click Update Stream to apply your title and selected game immediately via
PATCH /helix/channels.
Last updated on