Update format.js

pull/4598/head
Aleksandr Statciuk 3 years ago
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…
Cancel
Save