Update update-readme.js

This commit is contained in:
freearhey 2019-11-01 19:36:19 +03:00
parent bf554806a2
commit 3e770c7c78

View File

@ -34,6 +34,7 @@ function main() {
}
for(let category of categories) {
const filename = `categories/${category}.m3u`
const categoryName = util.supportedCategories.find(c => c.toLowerCase() === category) || 'Other'
repo.categories[category] = { category: categoryName, channels: 0, playlist: `<code>https://iptv-org.github.io/iptv/${filename}</code>` }
}