Relay IPTV streams over the Roku LAN connection

This commit is contained in:
Josh
2026-11-13 16:33:32 -05:00
parent 66e2406582
commit 9c6f48186d
4 changed files with 112 additions and 4 deletions

View File

@@ -120,7 +120,7 @@ class BridgeTest(unittest.TestCase):
)
with TestClient(app) as client:
channels = client.get("/api/v1/channels").json()["channels"]
self.assertEqual(channels[0]["streamUrl"], "https://example.com/live.m3u8")
self.assertEqual(channels[0]["streamUrl"], "/iptv/iptv-sports/master.m3u8")
self.assertEqual(channels[0]["type"], "iptv")
self.assertEqual(client.get("/api/v1/guide").json()["channels"][0]["programs"], [])
self.assertIsNone(client.get("/api/v1/channels/iptv-sports/now").json()["now"])