Jump to content

XMLTV Guide Import


revengineer

Recommended Posts

revengineer

I noticed that XMLTV guide import for an IPTV service I am testing is limited to 24 hour. There is a note on the XMLTV page that import for longer times requires an emby premier subscription, which I have. On the Live TV -> Settings tab, I have guide download set to 3 days. 3-day import works for Schedules Direct for my HD Homerun, but not for the XMLTV guide for the IPTV provider.

 

First thing to do is to figure out whether this is this a problem with emby or whether the provider not giving the data more than 24 hours in advance. How should i proceed is narrowing this down?

Link to comment
Share on other sites

maegibbons

Speak to the provider to see how many days data should be in the xmltv file.

 

It is probably their restriction.

 

Krs

 

Mark

Link to comment
Share on other sites

revengineer

I confirmed with the provider that they offer 7 days of guide data. emby grabs only 24 hours. The problem seems to be with emby then. Any suggestions on how to track this down?

Link to comment
Share on other sites

First of all I would double check the xml file you're feeding into emby and see that it actually contains more than one day. This has happened on more than one occasion where people report the same problem only to later look inside the xml file and realize the data was never there to begin with.

 

Let us know if this helps. Thanks.

Link to comment
Share on other sites

revengineer

Yes, that got me further. The XML file contains no stop date past tomorrow demonstrating that indeed only 24 hours of guide data are provided rather than the 7 days they told me. Maybe I need another switch in the URL to enable multi-day EPG download. Is this standardized for XMLTV? Or are the URLs provider specific? 

Link to comment
Share on other sites

urls are provider specific, and yes it is possible you will need to customize the query string.

Link to comment
Share on other sites

revengineer

ok will check with them. Their support is not as great as yours. I started a chat and it was interrupted without resolution when the end of European' support hours was reached. 20 minutes wasted, nobody cared. Nice... Which reminded me to thank the emby team for their great support! 

Link to comment
Share on other sites

tdiguy

I use tvguide.com myself. You can sign up with them for free and you can specify your area ( i know usa is supported not sure about other countries ) 

Some good information on this at: http://zap2xml.awardspace.info/

Not sure if you have it but i had to install xmltv on my pi.

Its somewhat easy to use. I have a script set up to pull 7 days of programming from tvguide and its stored in a xml file. I then set up a cron job to run that script nightly because running a pi with the number of internet connections it makes and such its best to do when nobody is using the server.

  • Like 1
Link to comment
Share on other sites

emartinez

hello,

I'm having the same issue with my tv guide, most of channels only diplay the information for the programs that start the current day (before 0:00). I have check the guide and 7 days is included on it.

 

Aditional info, some channels like MTV show 7 days... I have checked the xml file and it is similar in both channels.

 

Attached is the xml and a photo of the error. Any ideas how to fix it?

 

XML: http://iptv-epg.com/2c78-mntnav.xml

59dbb5ce7e240_Capturadepantallade2017100

  • Like 1
Link to comment
Share on other sites

nagle3092

I use tvguide.com myself. You can sign up with them for free and you can specify your area ( i know usa is supported not sure about other countries ) 

Some good information on this at: http://zap2xml.awardspace.info/

Not sure if you have it but i had to install xmltv on my pi.

Its somewhat easy to use. I have a script set up to pull 7 days of programming from tvguide and its stored in a xml file. I then set up a cron job to run that script nightly because running a pi with the number of internet connections it makes and such its best to do when nobody is using the server.

 

Thanks for this, just set it up.

Link to comment
Share on other sites

revengineer

I use tvguide.com myself. You can sign up with them for free and you can specify your area ( i know usa is supported not sure about other countries ) 

Some good information on this at: http://zap2xml.awardspace.info/

Not sure if you have it but i had to install xmltv on my pi.

Its somewhat easy to use. I have a script set up to pull 7 days of programming from tvguide and its stored in a xml file. I then set up a cron job to run that script nightly because running a pi with the number of internet connections it makes and such its best to do when nobody is using the server.

Thanks, I will take a look. My IPTV provider has MANY international channel so the mapping may get complicated. 

Link to comment
Share on other sites

  • 2 weeks later...

Whats wrong with this xml because it wont recognize the Season and episode

 

i have created with webgrab+

 

 

 

 

 

  <programme start="20171021221500 +0000" stop="20171021224000 +0000" channel="Comedy Central HDTV (Netherlands)">

 

    <title lang="en">Modern Family (2011)</title>

 

    <sub-title>Family Portrait</sub-title>

 

    <desc lang="en">Claire plant al weken een familieportret maar heel de familie lijkt haar tegen te werken om de foto voor mekaar te krijgen. Phil en Gloria gaan samen naar een basketbalwedstrijd en komen daar in een ongemakkelijke situatie terecht. De beelden worden gefilmd en uitgezonden op tv, wat zorgt voor heel wat misverstanden. Cameron is uitgenodigd om te zingen tijdens een huwelijk maar een nukkige Mitchell weigert mee te gaan. Mitchell krijgt al snel spijt van zijn beslissing wanneer hij oog in oog komt te staan met een onverwachte bezoeker. (n)</desc>

 

    <credits>

 

      <actor>Ed O'Neill</actor>

 

      <actor>Sofía Vergara</actor>

 

      <actor>Julie Bowen</actor>

 

      <actor>Ty Burrell</actor>

 

      <actor>Jesse Tyler Ferguson</actor>

 

      <actor>Eric Stonestreet</actor>

 

      <actor>Sarah Hyland</actor>

 

      <actor>Ariel Winter</actor>

 

      <actor>Nolan Gould</actor>

 

      <actor>Rico Rodriguez</actor>

 

      <actor>Kobe Bryant</actor>

 

      <actor>Sean Smith</actor>

 

      <actor>Sandy Fury</actor>

 

      <actor>Jen Kuhn</actor>

 

    </credits>

 

    <category lang="en">Comedy</category>

 

    <category lang="en">Romance</category>

 

    <icon src="https://i.yo.tv/p/se...16ABC02B21.jpg"/>

 

    <episode-num system="onscreen}">S1E24</episode-num>

 

    <star-rating system="US">

 

      <value>8.4</value>

 

    </star-rating>

 

  </programme>

 

 

 

Sent from my Pixel XL using Tapatalk

Link to comment
Share on other sites

Does webgrab have a flag used to gather detailed information? I use a different program an without a flag set for detailed information it did not collect season and episode number.

Link to comment
Share on other sites

Does webgrab have a flag used to gather detailed information? I use a different program an without a flag set for detailed information it did not collect season and episode number.

Yes it has and with the mdb in it you will be able to collect the season and episode

 

 

Sent from my Pixel XL using Tapatalk

Link to comment
Share on other sites

Whats wrong with this xml because it wont recognize the Season and episode

 

i have created with webgrab+

 

 

 

 

 

 

 

   

Modern Family (2011)

 

    Family Portrait

 

    Claire plant al weken een familieportret maar heel de familie lijkt haar tegen te werken om de foto voor mekaar te krijgen. Phil en Gloria gaan samen naar een basketbalwedstrijd en komen daar in een ongemakkelijke situatie terecht. De beelden worden gefilmd en uitgezonden op tv, wat zorgt voor heel wat misverstanden. Cameron is uitgenodigd om te zingen tijdens een huwelijk maar een nukkige Mitchell weigert mee te gaan. Mitchell krijgt al snel spijt van zijn beslissing wanneer hij oog in oog komt te staan met een onverwachte bezoeker. (n)

 

   

 

      Ed O'Neill

 

      Sofía Vergara

 

      Julie Bowen

 

      Ty Burrell

 

      Jesse Tyler Ferguson

 

      Eric Stonestreet

 

      Sarah Hyland

 

      Ariel Winter

 

      Nolan Gould

 

      Rico Rodriguez

 

      Kobe Bryant

 

      Sean Smith

 

      Sandy Fury

 

      Jen Kuhn

 

   

 

    Comedy

 

    Romance

 

    https://i.yo.tv/p/se...16ABC02B21.jpg"/>

 

    S1E24

 

   

 

      8.4

 

   

 

 

 

 

 

Sent from my Pixel XL using Tapatalk

 

To answer the question here, your xml data has episode-num onscreen values, which are intended for textual on-screen display and are just free-form text. It could be anything in there.

 

To parse episode numbers from xmltv data, we support the episode-num system="xmltv_ns" convention. Thanks.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
Hello

Please someone tell me what I'm doing wrong in the .xmltv list for which the season and chapter appear. Becoming correct when recording. Getting right when checking the programs.

I'm putting some tags, but they're wrong, I need help to know which one. See the pictures below. Thanks again.
 
5c4d995a08a15_20190127emby01.png
 
5c4d996b223a6_20190127emby02.png
 
5c4d99783f183_20190127emby03.png
Link to comment
Share on other sites

Hello

 

Please someone tell me what I'm doing wrong in the .xmltv list for which the season and chapter appear. Becoming correct when recording. Getting right when checking the programs.

 

I'm putting some tags, but they're wrong, I need help to know which one. See the pictures below. Thanks again.

Have you looked in the post above your post ? 

 

To answer the question here, your xml data has episode-num onscreen values, which are intended for textual on-screen display and are just free-form text. It could be anything in there.

 

To parse episode numbers from xmltv data, we support the episode-num system="xmltv_ns" convention. Thanks.

So for Emby to show your episode and season data, your xml must contain this:

<episode-num system="xmltv_ns">0.23.</episode-num>

This number is indexed starting from 0. So Season 1 episode 24 is transformed into the xmltv_ns format to 0 and 23, like in the example code above.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...