8 lines
237 B
JavaScript
8 lines
237 B
JavaScript
const api = require('../core/api')
|
|
const _ = require('lodash')
|
|
|
|
module.exports = async function (streams = []) {
|
|
streams = _.filter(streams, stream => stream.is_nsfw === false)
|
|
return { filepath: 'index.m3u', items: streams }
|
|
}
|