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

This commit is contained in:
freearhey committed 2019-07-20 18:50:19 +03:00
1 parent 836d8d3441
commit dcb4675042
3 files changed
+4 -4

No files matched your search

+2 -2
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.
+2 -2
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
} }
File renamed without changes.