Update format.js

Pass playlist to createChannel()
This commit is contained in:
freearhey 2021-01-29 21:30:54 +03:00
parent 8b3a7d152a
commit e4054d4f2e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ async function loadPlaylist(url) {
playlist.url = url
playlist.items = playlist.items
.map(item => {
return helper.createChannel(item)
return helper.createChannel(item, playlist)
})
.filter(i => i.url)