mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-12 01:50:07 -04:00
Update m.tv.sms.cz.config.js
This commit is contained in:
parent
9e928c1b87
commit
744a846afe
1 changed files with 3 additions and 2 deletions
|
@ -10,9 +10,9 @@ dayjs.extend(utc)
|
||||||
dayjs.extend(timezone)
|
dayjs.extend(timezone)
|
||||||
dayjs.extend(customParseFormat)
|
dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
let PM = false
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
lang: 'cs',
|
lang: 'cs',
|
||||||
|
days: 7,
|
||||||
site: 'm.tv.sms.cz',
|
site: 'm.tv.sms.cz',
|
||||||
channels: 'm.tv.sms.cz.channels.xml',
|
channels: 'm.tv.sms.cz.channels.xml',
|
||||||
output: '.gh-pages/guides/m.tv.sms.cz.guide.xml',
|
output: '.gh-pages/guides/m.tv.sms.cz.guide.xml',
|
||||||
|
@ -28,6 +28,7 @@ module.exports = {
|
||||||
return img ? img.src : null
|
return img ? img.src : null
|
||||||
},
|
},
|
||||||
parser: function ({ buffer, date }) {
|
parser: function ({ buffer, date }) {
|
||||||
|
let PM = false
|
||||||
const programs = []
|
const programs = []
|
||||||
const items = parseItems(buffer)
|
const items = parseItems(buffer)
|
||||||
items.forEach((item, i) => {
|
items.forEach((item, i) => {
|
||||||
|
@ -54,7 +55,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseStop(item, date) {
|
function parseStop(item, date) {
|
||||||
return date.tz('Europe/Prague').endOf('d').add(6, 'h')
|
return date.tz('Europe/Prague').endOf('d').add(5, 'h')
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseStart(item, date) {
|
function parseStart(item, date) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue