Merge pull request #271 from vexorian/20210228_dev

20210228 dev
This commit is contained in:
vexorian 2021-02-28 23:06:59 -04:00 committed by GitHub
commit 129e59deb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# dizqueTV 1.2.4-prerelease
# dizqueTV 1.2.5-prerelease
![Discord](https://img.shields.io/discord/711313431457693727?logo=discord&logoColor=fff&style=flat-square) ![GitHub top language](https://img.shields.io/github/languages/top/vexorian/dizquetv?logo=github&style=flat-square) ![Docker Pulls](https://img.shields.io/docker/pulls/vexorian/dizquetv?logo=docker&logoColor=fff&style=flat-square)
Create live TV channel streams from media on your Plex servers.

View File

@ -5,5 +5,5 @@ module.exports = {
TVGUIDE_MAXIMUM_FLEX_DURATION : 6 * 60 * 60 * 1000,
TOO_FREQUENT: 100,
VERSION_NAME: "1.2.4-prerelease"
VERSION_NAME: "1.2.5-prerelease"
}

View File

@ -105,9 +105,15 @@ async function _writeProgramme(channel, program, xw) {
xw.endElement()
xw.startElement('episode-num')
xw.writeAttribute('system', 'xmltv_ns')
xw.text((program.sub.season - 1) + ' . ' + (program.sub.episode - 1) + ' . 0/1')
xw.writeAttribute('system', 'onscreen')
xw.text( "S" + (program.sub.season) + ' E' + (program.sub.episode) )
xw.endElement()
xw.startElement('episode-num')
xw.writeAttribute('system', 'xmltv_ns')
xw.text((program.sub.season - 1) + '.' + (program.sub.episode - 1) + '.0/1')
xw.endElement()
}
// Icon
if (typeof program.icon !== 'undefined') {