diff --git a/config/default.js b/config/default.js index 300118c1..ac0609f2 100755 --- a/config/default.js +++ b/config/default.js @@ -418,9 +418,9 @@ module.exports = { attempts: 2, fetchStreams: true, streamConcurrency: 2, // max number of video streams (m3u8 etc.) to fetch and process at once + streamExcludeHostnames: [], // resource hogs flushOrphaned: true, flushWindow: 1000, - excludeStreamHostnames: [], // resource hogs }, titleSlugLength: 50, }; diff --git a/src/media.js b/src/media.js index 4319589e..3efee543 100755 --- a/src/media.js +++ b/src/media.js @@ -674,7 +674,7 @@ streamQueue.define('fetchStreamSource', async ({ source, tempFileTarget, hashStr const { hostname } = new URL(source.stream); - if (config.media.excludeStreamHostnames.includes(hostname)) { + if (config.media.streamExcludeHostnames.includes(hostname)) { throw new Error(`Stream source hostname ${hostname} is excluded by config`); }