dlhd.st HLS Proxy ================= GET /channels -> JSON list of all channels (each with all sources) GET /channels?format=m3u -> M3U playlist of all channels (default source) GET /events -> JSON schedule with channel proxy URLs GET /stream-{id}/index.m3u8 -> rewritten HLS master playlist, default source (cached 3s) GET /stream-{id}-{source}/index.m3u8 -> rewritten HLS master playlist for a specific source sources: 1=stream, 2=cast, 3=watch, 4=plus, 5=casting, 6=player auth: ?token=... required via hostname; direct LAN/IP access exempt GET /play?url= -> rewritten HLS master playlist (legacy) GET /extract?url= -> JSON scrape result GET /proxy/?referer=... -> proxied playlist / 302 redirect segment Examples: curl 'http://127.0.0.1:8080/channels' curl 'http://127.0.0.1:8080/channels?format=m3u' curl 'http://127.0.0.1:8080/events' curl 'http://127.0.0.1:8080/stream-44/index.m3u8' curl 'http://127.0.0.1:8080/stream-44-2/index.m3u8' # source 2 = cast