TV Mode
TV mode streams live channels from M3U playlists. You add playlists by URL or local file path, and the app parses, groups, dedupes, and lets you search and play them.
Entering TV mode
Ctrl+Ttoggles Streaming / TV mode.- On first entry with no playlists, the playlist manager opens.
- While in TV mode, type to filter channels by name or group,
Enterto play,/listfor all channels,/configto manage playlists,[r]to reload.
Adding playlists
/configopens the playlist manager, split into URL playlists and File playlists.- Select
[ Add URL ]or[ Add file ], type the source,Enterto add.- URL example:
https://example.com/playlist.m3u - File example:
~/playlists/mine.m3u
- URL example:
- Sources persist in
tv_config.json(under the config dir). Local file playlists are reread directly on every TV-mode entry; remote URL playlists may reuse a recent cached snapshot for up to 24 hours. Iftv_config.jsonencounters corrupt data on disk, it is safely rotated totv_config.json.corrupt.{timestamp}rather than deleted. - Highlight a source and press
d(orEnter) to remove it; the list reloads.
Parsing and search
src/providers/tv/ parses each source (http(s) or local file), extracting channel id,
name, logo, group-title, and stream URL. Playlist lines are pre-counted to preallocate vector capacity, eliminating dynamic heap reallocations during large 50,000+ channel imports. Channels are deduped by stream URL
across all playlists. The search box filters by name or group; the status bar reports
how many channels were imported and which playlists failed.
Playback
Enter on a channel launches the default player with the channel URL (via the same
launch_player path as movies). Channel logos are cached under the iptv image
namespace.
Commands in TV mode
/list— display all loaded TV channels.[r]key — reload all active M3U playlist sources.- Global commands (
/settings,/clear,/help,/exit) are active across all modes. - Streaming/Addon-only commands (e.g.
/browse,/history,/favorites) display friendly guidance notifications prompting you to switch modes (Ctrl+SorCtrl+A).