Update regions.js

This commit is contained in:
Aleksandr Statciuk 2022-09-12 21:14:19 +03:00
parent 90e1cfb805
commit 16622fa76d
1 changed files with 0 additions and 3 deletions

View File

@ -27,8 +27,5 @@ module.exports = async function (streams = []) {
output.push({ filepath: `regions/${region.code.toLowerCase()}.m3u`, items }) output.push({ filepath: `regions/${region.code.toLowerCase()}.m3u`, items })
} }
let items = _.filter(streams, stream => !stream.broadcast_area.length)
output.push({ filepath: 'regions/undefined.m3u', items })
return output return output
} }