From 865e2019c39e7b23dcbe3a473acda9f5ada59d9c Mon Sep 17 00:00:00 2001 From: david Date: Tue, 1 Apr 2025 19:37:28 -0700 Subject: [PATCH] url decode issue fix; channel scan update --- dvb_channel.conf | 3 ++- src/http.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dvb_channel.conf b/dvb_channel.conf index 2617fe6..fee2bf8 100644 --- a/dvb_channel.conf +++ b/dvb_channel.conf @@ -1,6 +1,7 @@ +FOX 12:207028615:8VSB:49:52:3 ION:521028615:8VSB:49:52:3 KATU:533028615:8VSB:49:52:3 KOIN-HD:539028615:8VSB:49:52:3 KGW:545028615:8VSB:49:52:3 KBLN-DT:575028615:8VSB:49:52:1 -TBN HD:581028615:8VSB:49:52:3 +TBN HD:581028615:8VSB:49:52:3 \ No newline at end of file diff --git a/src/http.ts b/src/http.ts index 9d067c9..4f41483 100644 --- a/src/http.ts +++ b/src/http.ts @@ -38,7 +38,7 @@ export default class HttpServer { case "PUT": switch (api) { case "tune": - const channel = query[3]; + const channel = decodeURIComponent(query[3]); const adapter = parseInt(url.searchParams.get('adapter')); tune(channel, adapter); status = 202;