How dhasap/dhanytv works
dhanytv provides IPTV M3U playlists and XMLTV programme data, plus a browser player. Its user-facing flow is to load a playlist, parse and browse channels, look up EPG entries, then play a stream, optionally through a proxy. The README also describes daily playlist updates and Televizo/OTT variants. The source index identifies the update scripts as substantial, but their orchestration and several internal handoffs were not shown; those links are omitted rather than inferred.
Main entry points: update_playlist.sh Playlist update · main.js Web app · epg.xml XMLTV guide · dhanytv.m3u M3U playlists
Components 28
Playlist curation
- Playlist update
update-script/update_playlist.sh - Source merging
update-script/merge_source.py - Extra channels
update-script/merge_extra.py - International channels
update-script/merge_international.py - Astatv merge
update-script/merge_astatv.py - Playlist cleanup
update-script/cleanup_playlist.py - Playlist repair
update-script/repair_playlist.py - ClearKey fixes
update-script/fix_clearkeys.py - Tag fixes
update-script/fix_tags.py - Group normalization
update-script/normalize_groups.py - DASH tagging
update-script/tag_dash.py - Protected channels
update-script/apply_protected.py - Popularity sorting
update-script/sort_channels.py - Televizo variants
update-script/make_televizo.py - M3U playlists
dhanytv.m3u
EPG guide
- EPG generation
update-script/generate_epg.py - EPG append
update-script/append_epg.py - XMLTV guide
epg.xml
Web playback
- Web app
web/src/main.js - M3U parser
web/src/lib/m3u.js - EPG store
web/src/lib/epg.js - XMLTV parser
web/src/lib/epgWorker.js - Stream player
web/src/lib/player.js - Proxy routing
web/src/lib/proxy.js
Stream proxy
- Proxy worker
web/proxy/worker.js
Other components
- Viewer
- Browser viewer
- Stream origin
Connections 31
- Browser viewer → Web app: uses
README.md - Web app → M3U playlists: loads playlist
web/src/main.js - Web app → M3U parser: parses channels
web/src/main.js - Web app → EPG store: loads guide
web/src/main.js - EPG store → XMLTV parser: starts worker
web/src/lib/epg.js - XMLTV parser → XMLTV guide: fetches XMLTV
- Web app → Stream player: starts playback
web/src/main.js - Stream player → Proxy routing: routes streams
web/src/lib/player.js - Proxy routing → Proxy worker: configures endpoint
web/src/lib/proxy.js - Proxy worker → Stream origin: fetches stream
web/proxy/worker.js - Playlist update → Source merging: runs stages
- Playlist update → Extra channels: runs stages
- Playlist update → International channels: runs stages
- Playlist update → Astatv merge: runs stages
- Playlist update → Playlist cleanup: runs stages
- Playlist update → Playlist repair: runs stages
- Playlist update → ClearKey fixes: runs stages
- Playlist update → Tag fixes: runs stages
- Playlist update → Group normalization: runs stages
- Playlist update → DASH tagging: runs stages
- Playlist update → Protected channels: runs stages
- Playlist update → Popularity sorting: runs stages
- Playlist update → Televizo variants: runs stages
- Playlist update → EPG generation: generates guide
- Playlist update → EPG append: updates guide
- Popularity sorting → Televizo variants: provides sorting
update-script/make_televizo.py - Playlist update → M3U playlists: publishes playlists
- EPG generation → XMLTV guide: writes guide
- EPG append → XMLTV guide: updates guide
- Viewer → M3U playlists: uses playlist
README.md - Viewer → XMLTV guide: uses guide
README.md