[Bot] Update playlists (#4600)
* Update Playlist.js * Install axios package * Create epg.js * Update db.js * Update format.js * Update Channel.js * Update db.js * Update generate.js * [Bot] Format playlists * [Bot] Remove duplicates * [Bot] Sort channels * [Bot] Update README.md * [Bot] Format playlists * [Bot] Remove duplicates * [Bot] Sort channels * [Bot] Update README.md Co-authored-by: Aleksandr Statciuk <free.arhey@gmail.com> Co-authored-by: iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -187,10 +187,6 @@ function parseRequests(requests) {
|
||||
|
||||
function updateDescription(channel, playlist) {
|
||||
const code = playlist.country.code
|
||||
// tvg-name
|
||||
if (!channel.tvg.name && channel.name) {
|
||||
channel.tvg.name = channel.name.replace(/\"/gi, '')
|
||||
}
|
||||
// tvg-id
|
||||
if (!channel.tvg.id && channel.tvg.name) {
|
||||
const id = utils.name2id(channel.tvg.name)
|
||||
|
Reference in New Issue
Block a user