mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Update parser.js
This commit is contained in:
parent
417e9cb997
commit
3d1a5ed5c5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue