From 7424ede4fa38a8b4e1af61904f1925fed70677f8 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 22 Jan 2022 19:45:08 +0300 Subject: [PATCH] Update tvtv.us.config.js --- sites/tvtv.us/tvtv.us.config.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sites/tvtv.us/tvtv.us.config.js b/sites/tvtv.us/tvtv.us.config.js index baa9b7ca..3dd94614 100644 --- a/sites/tvtv.us/tvtv.us.config.js +++ b/sites/tvtv.us/tvtv.us.config.js @@ -12,7 +12,7 @@ module.exports = { }/airings?startDateTime=${date.format()}&endDateTime=${date.add(1, 'd').format()}` }, logo({ channel }) { - return channel.logo + return `http://tvtv.tmsimg.com/assets/s${channel.site_id}_ll_h15_ad.png?w=360&h=270` }, parser: function ({ content }) { let programs = [] @@ -40,14 +40,12 @@ module.exports = { .catch(console.log) return data.data - .filter(i => ['Satellite'].includes(i.type)) + .filter(i => !['Radio Station'].includes(i.type)) .map(item => { return { lang: 'en', site_id: item.id, - xmltv_id: item.shortName, - name: item.name, - logo: item.logo + name: item.name } }) }