mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-11 17:40:03 -04:00
Update parsePlaylist() function
This commit is contained in:
parent
70207240d5
commit
c1a6dd4ba1
3 changed files with 5 additions and 6 deletions
|
@ -6,9 +6,8 @@ const parser = {}
|
|||
|
||||
parser.parsePlaylist = async function (filepath) {
|
||||
const content = await file.read(filepath)
|
||||
const playlist = ipp.parse(content)
|
||||
|
||||
return playlist.items
|
||||
return ipp.parse(content)
|
||||
}
|
||||
|
||||
parser.parseLogs = async function (filepath) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue