Update parser.js

This commit is contained in:
Aleksandr Statciuk 2021-08-01 08:25:48 +03:00
parent 417e9cb997
commit 3d1a5ed5c5
1 changed files with 1 additions and 1 deletions

View File

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