Trying to create Icelandic grabber for WebEPG

Discussion in 'TV-Server Plugins' started by thegunzo, April 24, 2016.

  1. thegunzo
    • Premium Supporter

    thegunzo MP Donator

    Joined:
    November 15, 2008
    Messages:
    49
    Likes Received:
    2
    Occupation:
    IT
    Location:
    Sauðárkrókur
    Ratings:
    +3 / 0
    Home Country:
    Iceland Iceland
    Hi

    I have been running Mediaportal 1 for several years. I have been using xmltv plugin to import the icelandic EPG. Just installed Mediaportal 2 with the same xmltv setup it does not work and I can't se an error.
    I wanted to move over to WebEPG. I added six channels to the channels.xml and a section or IS.
    Created a grabber file to get the EPG from a web site http://muninn.ruv.is/files/xml/.

    for each channel i can get a period of days.



    http://muninn.ruv.is/files/xml/ruv/2016-04-24/2016-04-30/

    When I open the mapping selection in WebEPG I can't see Iceland nor the grabber I created.

    Any suggestions ?
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. thegunzo
    • Premium Supporter

    thegunzo MP Donator

    Joined:
    November 15, 2008
    Messages:
    49
    Likes Received:
    2
    Occupation:
    IT
    Location:
    Sauðárkrókur
    Ratings:
    +3 / 0
    Home Country:
    Iceland Iceland
    Get this in the error log

    [2016-04-25 18:40:33,082] [11781 ] [WebEPGImporter] [INFO ] - WebEPG: Reading http://muninn.ruv.is/files/xml/ruvhd POST: - Delay: 2000ms
    [2016-04-25 18:40:35,457] [14156 ] [WebEPGImporter] [DEBUG] - HTMLPage: GetInternal encoding:
    [2016-04-25 18:40:35,473] [14172 ] [WebEPGImporter] [ERROR] - plugin:webepg import failed
    [2016-04-25 18:40:35,473] [14172 ] [WebEPGImporter] [ERROR] -
    System.Xml.XPath.XPathException: Expression must evaluate to a node-set.

    That is my grabber file

    <?xml version="1.0" encoding="utf-8"?>
    <Grabber>
    <Info availableDays="0" timezone="Greenwich Standard Time" version="2.0.2" />
    <Channels>
    <Channel id="ruv@ruv.is" siteId="ruv" />
    <Channel id="ruvplus@ruv.is" siteId="ruv.plus" />
    <Channel id="ruv2@ruv.is" siteId="ruv2" />
    <Channel id="ruvhd@ruv.is" siteId="ruvhd" />
    <Channel id="ras1@ruv.is" siteId="ras1" />
    <Channel id="ras2@ruv.is" siteId="ras2" />
    </Channels>
    <Listing type="Xml">
    <Site url="http://muninn.ruv.is/files/xml/[ID]" post="" external="false" encoding="" delay="2000" />
    <Xml xpath="//schedule/service/event">
    <Fields>
    <Field name="#START" xmlname="start-time" />
    <Field name="#DURATION" xmlname="duration" />
    <Field name="#TITLE" xmlname="title" />
    <Field name="#SUBTITLE" xmlname="original-title" />
    <Field name="#DESCRIPTION" xmlname="short-description" />
    </Fields>
    </Xml>
    </Listing>
    </Grabber>
     
  4. thegunzo
    • Premium Supporter

    thegunzo MP Donator

    Joined:
    November 15, 2008
    Messages:
    49
    Likes Received:
    2
    Occupation:
    IT
    Location:
    Sauðárkrókur
    Ratings:
    +3 / 0
    Home Country:
    Iceland Iceland
    Ok, I got this working. You want me to submit the solution here?
     
  5. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,908
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,229 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    You vould submit your grabber to Mediaportal repository by creating thread in web-epg grabbers seection I believe
     
  6. thegunzo
    • Premium Supporter

    thegunzo MP Donator

    Joined:
    November 15, 2008
    Messages:
    49
    Likes Received:
    2
    Occupation:
    IT
    Location:
    Sauðárkrókur
    Ratings:
    +3 / 0
    Home Country:
    Iceland Iceland
    Can't find that place, put is here for anyone to download.
     

    Attached Files:

  7. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,770
    Likes Received:
    1,125
    Gender:
    Male
    Ratings:
    +2,408 / 22
    Home Country:
    Germany Germany
    Show System Specs
  8. thegunzo
    • Premium Supporter

    thegunzo MP Donator

    Joined:
    November 15, 2008
    Messages:
    49
    Likes Received:
    2
    Occupation:
    IT
    Location:
    Sauðárkrókur
    Ratings:
    +3 / 0
    Home Country:
    Iceland Iceland
    Thank you, have done just that.
     
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!