From cb2fbc6962300ba35f1acb0f49101e113f3a617e Mon Sep 17 00:00:00 2001 From: freearhey Date: Sat, 2 Nov 2019 15:11:33 +0300 Subject: [PATCH] Renamed index.content.m3u to index.category.m3u --- .gh-pages/{index.content.m3u => index.category.m3u} | 0 .readme/template.md | 2 +- README.md | 2 +- scripts/generate.js | 8 ++++---- 4 files changed, 6 insertions(+), 6 deletions(-) rename .gh-pages/{index.content.m3u => index.category.m3u} (100%) diff --git a/.gh-pages/index.content.m3u b/.gh-pages/index.category.m3u similarity index 100% rename from .gh-pages/index.content.m3u rename to .gh-pages/index.category.m3u diff --git a/.readme/template.md b/.readme/template.md index 5915c65bfc..713334d1ee 100644 --- a/.readme/template.md +++ b/.readme/template.md @@ -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. diff --git a/README.md b/README.md index aa7766fce5..f9ed8f78bd 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/scripts/generate.js b/scripts/generate.js index a5b86e5d1a..569bfa01bc 100644 --- a/scripts/generate.js +++ b/scripts/generate.js @@ -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) => {