mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Update update-readme.js
This commit is contained in:
parent
bf554806a2
commit
3e770c7c78
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ function main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for(let category of categories) {
|
for(let category of categories) {
|
||||||
|
const filename = `categories/${category}.m3u`
|
||||||
const categoryName = util.supportedCategories.find(c => c.toLowerCase() === category) || 'Other'
|
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>` }
|
repo.categories[category] = { category: categoryName, channels: 0, playlist: `<code>https://iptv-org.github.io/iptv/${filename}</code>` }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue