mirror of
https://github.com/iptv-org/iptv
synced 2026-04-22 10:47:16 -04:00
Update scripts
This commit is contained in:
@@ -20,7 +20,9 @@ export class PlaylistParser {
|
||||
for (const filepath of files) {
|
||||
if (!this.storage.existsSync(filepath)) continue
|
||||
const _parsed: Collection<Stream> = await this.parseFile(filepath)
|
||||
parsed.concat(_parsed)
|
||||
_parsed.forEach((item: Stream) => {
|
||||
parsed.add(item)
|
||||
})
|
||||
}
|
||||
|
||||
return parsed
|
||||
|
||||
Reference in New Issue
Block a user