Rename index.topic.m3u to index.content.m3u

This commit is contained in:
freearhey 2019-07-20 18:50:19 +03:00
parent 57877ad5ec
commit 4d7494b6e2
3 changed files with 4 additions and 4 deletions

View File

@ -28,9 +28,9 @@ Below you can find a manually selected list of such applications for different p
If your application does not support nested playlists, you can instead use one of these playlists: If your application does not support nested playlists, you can instead use one of these playlists:
- `https://raw.githubusercontent.com/freearhey/iptv/master/index.full.m3u` (grouped by country and topic) - `https://raw.githubusercontent.com/freearhey/iptv/master/index.full.m3u` (grouped by country and content)
- `https://raw.githubusercontent.com/freearhey/iptv/master/index.country.m3u` (grouped only by country) - `https://raw.githubusercontent.com/freearhey/iptv/master/index.country.m3u` (grouped only by country)
- `https://raw.githubusercontent.com/freearhey/iptv/master/index.topic.m3u` (grouped only by topic) - `https://raw.githubusercontent.com/freearhey/iptv/master/index.content.m3u` (grouped only by content)
Or select a playlist for a specific country from the list below. Or select a playlist for a specific country from the list below.

View File

@ -1,7 +1,7 @@
const util = require('./util') const util = require('./util')
const urlParser = require('url') const urlParser = require('url')
const types = ['full', 'country', 'topic'] const types = ['full', 'country', 'content']
const debug = false const debug = false
let cache = {} let cache = {}
let stats = { let stats = {
@ -48,7 +48,7 @@ function init() {
groupTitle = [ countryName, channel.group ].filter(i => i).join(';') groupTitle = [ countryName, channel.group ].filter(i => i).join(';')
} else if(type === 'country') { } else if(type === 'country') {
groupTitle = countryName groupTitle = countryName
} else if(type === 'topic') { } else if(type === 'content') {
groupTitle = channel.group groupTitle = channel.group
} }