WebEPG does not import any programs

Discussion in 'WebEPG' started by Khurram, December 23, 2008.

  1. Khurram

    Khurram Portal Pro

    Joined:
    May 12, 2008
    Messages:
    211
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Pakistan Pakistan
    I have created a grabber as a test case and have configured TVServer with the output file of WebEPG (TVguide.xml). When I try to import it into TVServer, it does not import any programs. This is what I get in the log:
    Code (Text):
    1. 2008-12-23 15:00:00.765625 [XmlTvImporter]: plugin:xmltv importing C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\xmltv\\tvguide.xml
    2. 2008-12-23 15:00:01.000000 [XmlTvImporter]: xmltv import C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\xmltv\\tvguide.xml
    3. 2008-12-23 15:00:01.359375 [XmlTvImporter]: Xmltv: imported 1 channels, 0 programs status:
    4. 2008-12-23 15:00:01.375000 [XmlTvImporter]: plugin:xmltv import done
    My TVguide.xml file is as follows:
    Code (Text):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <!DOCTYPE tv SYSTEM "xmltv.dtd">
    3. <tv generator-info-name="WebEPG">
    4.   <channel id="GEO News-Geo News">
    5.     <display-name>GEO News</display-name>
    6.   </channel>
    7.   <programme start="20081223140500" channel="GEO News-Geo News">
    8.     <title>VoA</title>
    9.   </programme>
    10.   <programme start="20081223163000" channel="GEO News-Geo News">
    11.     <title>Tezi Mandee Round Up</title>
    12.   </programme>
    13.   <programme start="20081223180500" channel="GEO News-Geo News">
    14.     <title>Bazaar</title>
    15.   </programme>
    16.   <programme start="20081223183000" channel="GEO News-Geo News">
    17.     <title>Score</title>
    18.   </programme>
    19.   <programme start="20081223193000" channel="GEO News-Geo News">
    20.     <title>VoA</title>
    21.   </programme>
    22.   <programme start="20081223200500" channel="GEO News-Geo News">
    23.     <title>Capital talk</title>
    24.   </programme>
    25.   <programme start="20081223220500" channel="GEO News-Geo News">
    26.     <title>Aaj Kamran Khan Kay Sath</title>
    27.   </programme>
    28.   <programme start="20081223230500" channel="GEO News-Geo News">
    29.     <title>Geo Meray Shehar</title>
    30.   </programme>
    31. </tv>
    As far as I can tell, there are no error in the xml file. But it doesnt work :(


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. rekenaar
    • Team MediaPortal

    rekenaar Retired Team Member

    Joined:
    December 17, 2006
    Messages:
    4,421
    Likes Received:
    782
    Ratings:
    +785 / 0
    Home Country:
    South Africa South Africa
  4. Khurram

    Khurram Portal Pro

    Joined:
    May 12, 2008
    Messages:
    211
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Pakistan Pakistan
    Thanks, but that thread talks about a problem in WebEPG-conf. I didnt have any problem running WebEPG-conf.

    Are parenthesis allowed in channel ids? It seems that the xmltv plugin in TVServer chokes for those channels which have either a left or right parenthesis in their channel id attribute.

    Btw, how is the channel id attribute generated in the TVguide.xml file? In my case, it is concatenating the channel name I have specified in TVServer with the channel id attribute value from the grabber. Is there any way to control this so that it uses only the channel name from TVServer?

    Thanks.
     
  5. Khurram

    Khurram Portal Pro

    Joined:
    May 12, 2008
    Messages:
    211
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Pakistan Pakistan
    You have to do the mapping a 2nd time in the mappings tab in the xmltv plugin for TVServer for the programs to show up:eek: It is difficult to do if you have a large number of channels. I am using RC4. Hopefully, it has been fixed in 1.0 release. I will test that later.

    The parenthesis are definitely a no no for the channel id attribute. So dont have them in the channel name if you are using WebEPG.

    I have one more question. I cant seem to grab epg for more than 1 day. My grabber has the site url using YYYY, MM and DD and the url show data for 1 day at a time. I have changed the Global Settings -> Grab Days to 7, but it only grabs for 1 day.
     
  6. vuego
    • Team MediaPortal

    vuego Documentation Group

    Joined:
    August 5, 2006
    Messages:
    1,568
    Likes Received:
    658
    Occupation:
    Alchemist, Astrobiologist, Exotic dancer
    Location:
    Göteborg
    Ratings:
    +865 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    What does webEPG.log say? It will list every web address it's trying to grab from.
     
  7. Khurram

    Khurram Portal Pro

    Joined:
    May 12, 2008
    Messages:
    211
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Pakistan Pakistan
    Do you mean it will list the url 7 times if it is grabbing for 7 days (and each url gives data for 1 day)? If so, then it does not work this way for me. WebEPG.log only lists the url once.
     
  8. vuego
    • Team MediaPortal

    vuego Documentation Group

    Joined:
    August 5, 2006
    Messages:
    1,568
    Likes Received:
    658
    Occupation:
    Alchemist, Astrobiologist, Exotic dancer
    Location:
    Göteborg
    Ratings:
    +865 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    That's right. It should list 7 URLs. Why don't you attach the xml file and let someone else have a look?
     
  9. Khurram

    Khurram Portal Pro

    Joined:
    May 12, 2008
    Messages:
    211
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Pakistan Pakistan
    The xml file is already listed in my first post. Could someone please take a look?

    Thanks.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!