Update parsePlaylist() function

This commit is contained in:
Aleksandr Statciuk
2022-03-11 18:01:45 +03:00
parent e2da72906c
commit d4b4593125
3 changed files with 5 additions and 6 deletions

View File

@@ -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) {