EPG Format to activate TVMosaic Flags

TVMosaic live and recorded TV products for Desktop/NAS/Raspbery Pi
Post Reply
Dr-Bond
Posts: 13
Joined: Fri Mar 30, 2018 11:50 pm

EPG Format to activate TVMosaic Flags

Post by Dr-Bond » Sat Apr 21, 2018 6:20 am

Hi Oberon,

Could you tell us the formatting of what the EPG data needs to be in to make the most out of the TVMoasic App TV Guide, when using TVAdvisor it enables flags like HD on the TV guide, how would an XMLTV file need to be formatted to enable these flags?

Oberon
Posts: 1285
Joined: Thu Jan 26, 2017 8:45 am

Re: EPG Format to activate TVMosaic Flags

Post by Oberon » Tue Apr 24, 2018 10:18 am

XMLTV format in general is described here:
http://wiki.xmltv.org/index.php/XMLTVFormat

DTD is available here:
https://github.com/AlekSi/xmltv/blob/master/xmltv.dtd

In particular, TVMosaic uses:
- video/quality/HDTV for HD flag
- episode-num/xmltv_ns for episode/season number
- category keywords for genre mapping
- premiere for Premiere
- previously-shown for isRepeat

Let me know if you have any specific questions regarding the metadata.

robtheone
Posts: 43
Joined: Sat Mar 24, 2018 3:35 pm
Location: Fort Lauderdale, FL

Re: EPG Format to activate TVMosaic Flags

Post by robtheone » Wed Apr 25, 2018 4:09 pm

Is there a way to get the guide to display the entire original air date? My guide currently will display a "repeat" flag and shows a Year, but doesn't display the full date being given. Many times the YEAR will be 2018, so I am not sure when the program originally aired.
Guide Example.JPG
Guide Example.JPG (85.06 KiB) Viewed 2208 times
*
But the XML file shows this date in 2 fields:
<previously-shown start="20171101000000" />
<date>20171101</date>

So, I would take it that the Original Air Date is Nov 1 2017

From that info, the guide appears to only show:

"YEAR: 2017"

Any reason why only the YEAR is showing vs the entire date?

<programme start="20180425210000 -0400" stop="20180425213100 -0400" channel="I10.1.20493.schedulesdirect.org">
<title lang="en">Modern Family</title>
<sub-title lang="en">Ten Years Later</sub-title>
<desc lang="en">Claire throws a 10th anniversary party for Jay and Gloria; Phil plans a magic trick in which Gloria appears out of thin air in her wedding dress.</desc>
<credits>
<director>Fred Savage</director>
<actor>Ed O'Neill</actor>
<actor>Julie Bowen</actor>
<actor>Ty Burrell</actor>
<actor>Sofía Vergara</actor>
<actor>Jesse Tyler Ferguson</actor>
<actor>Eric Stonestreet</actor>
<actor>Sarah Hyland</actor>
<actor>Nolan Gould</actor>
<actor>Ariel Winter</actor>
<actor>Rico Rodriguez</actor>
<actor>Aubrey Anderson-Emmons</actor>
<actor>Jeremy Maguire</actor>
<writer>Danny Zuker</writer>
<producer>Steven Levitan</producer>
<producer>Christopher Lloyd</producer>
<guest>Shelley Long</guest>
</credits>
<date>20171101</date>
<category lang="en">Sitcom</category>
<episode-num system="dd_progid">EP01158124.0224</episode-num>
<episode-num system="xmltv_ns">8.5.</episode-num>
<video>
<aspect>16:9</aspect>
<quality>HDTV</quality>
</video>
<audio>
<stereo>dolby digital</stereo>
</audio>
<previously-shown start="20171101000000" />
<rating system="USA Parental Rating">
<value>TVPG</value>
</rating>
</programme>

Oberon
Posts: 1285
Joined: Thu Jan 26, 2017 8:45 am

Re: EPG Format to activate TVMosaic Flags

Post by Oberon » Sun Apr 29, 2018 10:11 am

TVMosaic data format currently only has "year". We will put a full date request on our todo list.

Post Reply