This commit is contained in:
Aleksandr Statciuk
2022-02-07 03:06:27 +03:00
parent 4a555db4ee
commit 3d90020de2
2 changed files with 1 additions and 2 deletions

View File

@@ -2,5 +2,6 @@ const api = require('../core/api')
const _ = require('lodash')
module.exports = async function (streams = []) {
streams = _.filter(streams, s => !s.channel || s.channel.is_nsfw === false)
return { filepath: 'index.m3u', items: streams }
}