Update parser.js
This commit is contained in:
parent
417e9cb997
commit
3d1a5ed5c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue