Update parser.js

This commit is contained in:
Aleksandr Statciuk 2021-08-01 08:25:48 +03:00
parent 417e9cb997
commit 3d1a5ed5c5

View File

@ -15,7 +15,7 @@ parser.parseIndex = function () {
return result.items
}
parser.parsePlaylist = function (filename) {
parser.parsePlaylist = async function (filename) {
const content = utils.readFile(filename)
const result = playlistParser.parse(content)
const name = path.parse(filename).name