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

pull/595/head
freearhey 5 years ago
parent 2bdd713888
commit cb2fbc6962

@ -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.

@ -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.

@ -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) => {

Loading…
Cancel
Save