Grabber for Norwegian radio channels; counts listings, dont grab.

Discussion in 'WebEPG' started by aat, January 3, 2012.

  1. aat

    aat Portal Member

    Joined:
    September 24, 2011
    Messages:
    26
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Norway Norway
    I've spent some time now trying to make a webepg grabber for the Norwegian radio channels. Unfortunately it locates listings, but don't grab them - and I can't find where I did wrong. As source for grabbing I’ve used m.nrk.no // TV Guide - NRK P3 - Tue 03.01 - NRK as I thought it looked pretty clean and easy to capture… It logs:
    WebEPG: ChannelId: nrkp1@nrk.no
    2012-01-03 21:45:43.981344 [WebEPGImporter(4)]: WebEPG: Grab Start 21:45 03.01.2012
    2012-01-03 21:45:44.012594 [WebEPGImporter(4)]: WebEPG: Reading TV Guide - NRK P1 - Tue 03.01 - NRK POST: - Delay: 7000ms
    2012-01-03 21:45:47.450116 [WebEPGImporter(9)]: HTMLPage: GetInternal encoding: Forced: utf-8
    2012-01-03 21:45:47.450116 [WebEPGImporter(9)]: WebEPG: Listing Count 75
    2012-01-03 21:45:47.465741 [WebEPGImporter(9)]: WebEPG: Program Count (0), Listing Count (75), Discard Count (0)
    2012-01-03 21:45:47.465741 [WebEPGImporter(9)]: WebEPG: Program Count (0) < Listing Count (75) - Discard Count (0), possible template error

    Please help....:) Attached is a screenshot from the designertool, errorlog from tv.log and the grabber .xml-file.


     

    Attached Files:

    • designer.jpg
      designer.jpg
      File size:
      77.4 KB
      Uploaded:
      January 3, 2012
      Views:
      120
    • m_nrk_no.xml
      File size:
      961 bytes
      Uploaded:
      January 3, 2012
      Views:
      106
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
    As I said @ mspc.no, I hope you get this working.
    (Sorry, this is beyond my knowledge...)
     
  4. aat

    aat Portal Member

    Joined:
    September 24, 2011
    Messages:
    26
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Norway Norway
    Just found a typo in the tag TITLE (or TITEL as I like to spell it…), my touristenglish is probably not suited for scripts like this....:) The grabber is now working for NRK radio channels. Attached.
     

    Attached Files:

    • m_nrk_no.xml
      File size:
      1.4 KB
      Uploaded:
      February 26, 2012
      Views:
      97
    • Like Like x 1
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!