mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 11:58:35 -04:00
Update parsePlaylist() function
This commit is contained in:
1 parent
e2da72906c
commit
d4b4593125
3 files changed
+5
-6
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user