Update parser.js

This commit is contained in:
freearhey 2021-01-30 07:32:27 +03:00
parent 42b28c0d3f
commit 6a33900a10
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ parser.parsePlaylist = function (filename) {
parser.parseCountries = function (string) {
return string
.split(';')
.filter(i => i)
.filter(code => code && utils.codeIsValid(code))
.map(code => ({ code: code.toLowerCase(), name: utils.code2name(code) }))
}