Update parsePlaylist() function

This commit is contained in:
Aleksandr Statciuk 2022-03-11 18:01:45 +03:00
parent 70207240d5
commit c1a6dd4ba1
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) {