Upgrade to last version of iptv-playlist-parser

This commit is contained in:
freearhey 2019-10-07 04:15:27 +03:00
parent f8c956ad40
commit 5947ccf4a6
4 changed files with 8 additions and 11 deletions

View file

@ -69,7 +69,7 @@ async function main() {
}
}
const epgUrl = playlist.attrs['x-tvg-url']
const epgUrl = playlist.header.attrs['x-tvg-url']
if(epgUrl && !buffer[epgUrl] && parseEpg) {
console.log(`Loading '${epgUrl}'...`)
const epg = await util.loadEPG(epgUrl)