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 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;