Renamed index.content.m3u to index.category.m3u

This commit is contained in:
freearhey 2019-11-02 15:11:33 +03:00
parent 2bdd713888
commit cb2fbc6962
4 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ Also you can instead use one of these playlists:
- `https://iptv-org.github.io/iptv/index.full.m3u` (grouped by country and content)
- `https://iptv-org.github.io/iptv/index.country.m3u` (grouped by country)
- `https://iptv-org.github.io/iptv/index.content.m3u` (grouped by content)
- `https://iptv-org.github.io/iptv/index.category.m3u` (grouped by category)
- `https://iptv-org.github.io/iptv/index.language.m3u` (grouped by language)
Or select one of the playlists from the list below.

View File

@ -14,7 +14,7 @@ Also you can instead use one of these playlists:
- `https://iptv-org.github.io/iptv/index.full.m3u` (grouped by country and content)
- `https://iptv-org.github.io/iptv/index.country.m3u` (grouped by country)
- `https://iptv-org.github.io/iptv/index.content.m3u` (grouped by content)
- `https://iptv-org.github.io/iptv/index.category.m3u` (grouped by category)
- `https://iptv-org.github.io/iptv/index.language.m3u` (grouped by language)
Or select one of the playlists from the list below.

View File

@ -20,8 +20,8 @@ function main() {
generateCountryIndex()
console.log('Generating index.language.m3u...')
generateLanguageIndex()
console.log('Generating index.content.m3u...')
generateContentIndex()
console.log('Generating index.category.m3u...')
generateCategoryIndex()
console.log('Generating index.full.m3u...')
generateFullIndex()
console.log('Generating /countries...')
@ -137,8 +137,8 @@ function generateLanguageIndex() {
}
}
function generateContentIndex() {
const filename = `${ROOT_DIR}/index.content.m3u`
function generateCategoryIndex() {
const filename = `${ROOT_DIR}/index.category.m3u`
helper.createFile(filename, '#EXTM3U\n')
const channels = list.all.sort((a, b) => {