From 7dcaf7060824c368d6ecb51999c98cd598879633 Mon Sep 17 00:00:00 2001 From: vexorian Date: Mon, 7 Sep 2020 22:02:51 -0400 Subject: [PATCH 1/2] Fix unraid repo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5572081..5a888e6 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ docker run --name dizquetv -p 8000:8000 -v C:\.dizquetv:/home/node/app/.dizquetv #### Unraid Install Add ``` -https://github.com/vexorian/dizquetv +https://github.com/vexorian/dizquetv/tree/main ``` to your "Template repositories" in the Docker tab. Click the "Add Container" button From 307507a2237a37f073225f1d5af5e3872d1c70fd Mon Sep 17 00:00:00 2001 From: vexorian Date: Mon, 7 Sep 2020 22:03:31 -0400 Subject: [PATCH 2/2] Fix #95 Channel at night channels not rendering in TV guide when used as redirect. --- src/tv-guide-service.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tv-guide-service.js b/src/tv-guide-service.js index 1d89e36..515f9e9 100644 --- a/src/tv-guide-service.js +++ b/src/tv-guide-service.js @@ -32,7 +32,7 @@ class TVGuideService let t = (new Date()).getTime(); this.updateTime = t; this.updateLimit = t + limit; - let channels = inputChannels.filter( ch => (ch.stealth !== true) ); + let channels = inputChannels; this.updateChannels = channels; while( this.lastUpdate < t) { if (this.currentUpdate == -1) { @@ -296,8 +296,10 @@ class TVGuideService } } else { for (let i = 0; i < channels.length; i++) { + if(! channels[i].stealth) { let programs = await this.getChannelPrograms(t0, t1, channels[i] ); result[ channels[i].number ] = programs; + } } } return result;