mirror of
https://github.com/iptv-org/iptv.git
synced 2024-09-05 00:01:35 +02:00
Update format.js
This commit is contained in:
parent
7e811f4c33
commit
b4c430a510
@ -187,10 +187,6 @@ function parseRequests(requests) {
|
|||||||
|
|
||||||
function updateDescription(channel, playlist) {
|
function updateDescription(channel, playlist) {
|
||||||
const code = playlist.country.code
|
const code = playlist.country.code
|
||||||
// tvg-name
|
|
||||||
if (!channel.tvg.name && channel.name) {
|
|
||||||
channel.tvg.name = channel.name.replace(/\"/gi, '')
|
|
||||||
}
|
|
||||||
// tvg-id
|
// tvg-id
|
||||||
if (!channel.tvg.id && channel.tvg.name) {
|
if (!channel.tvg.id && channel.tvg.name) {
|
||||||
const id = utils.name2id(channel.tvg.name)
|
const id = utils.name2id(channel.tvg.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user