Is #DURATION supported for WebEPG? (1 Viewer)

vuego

Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,639
    764
    Göteborg
    Home Country
    Sweden Sweden
    MediaPortal Version: 1.1.0 RC 1

    I'm trying to create a new grabber and the site doesn't specify an ending time for the programs. But it does specify the length of each program. Lets say the program starts 12:00 and the duration is "60 min", how could I get WebEPG to set #END = "13:00"?

    I tried #DURATION but it didn't work :oops:
    (Also tried #DESCRIPTION to see that the value is correctly parsed by WebEPG, "60" in this case)

    Any help is appreciated.
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,639
    764
    Göteborg
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #3
    Hello Arion

    It's been almost a year :)

    I created a grabber for yourdiscovery.com. It should be really easy to add support for other countries and languages, just add the channel id:s and put the grabber file in the correct folder of WebEPG.
    Code:
    Asia	
    	
    Australia & New Zealand	
    APAN-ENG	Animal Planet
    DCAU-ENG	Discovery Channel
    DHASA-ENG	Home & Health
    TAAN-ENG	TLC
    	
    	
    India	
    DCIN-ENG	Discovery Channel
    DLFI-ENG	TLC
    	
    	
    Korea	
    DCKR-KOR	Discovery Channel
    	
    	
    South East Asia	
    APAS-ENG	Animal Planet
    DCSE-ENG	Discovery Channel
    DSAS-ENG	Discovery Science
    HLAS-ENG	Discovery Turbo
    DHAS-ENG	Home & Health
    TASA-ENG	TLC
    	
    	
    Taiwan	
    APTA-CCH	Animal Planet
    DCTA-CCH	Discovery Channel
    HDTA-CCH	Discovery HD
    DSAST-CCH	Discovery Science
    HLAST-CCH	Discovery Turbo
    TATA-CCH	TLC
    	
    	
    	
    Europe	
    	
    Belgium	
    DFLA-H	Discovery Channel
    	
    	
    Czech	
    DCEN-CZ	Discovery Channel
    	
    	
    Denmark	
    APNR-D	Animal Planet
    AHDE-D	Animal Planet HD
    DDEN-D	Discovery Channel
    HDEU-D	Discovery HD
    SCEU-D	Discovery Science
    CVEU-D	Discovery World
    IDEU-D	Investigation Discovery
    TLEU-D	Travel & Living
    	
    	
    Deutschland	
    APGER-GER	Animal Planet
    DMAX-GER	DMAX
    DCGE-GER	Discovery Channel
    HDT-GER	Discovery HD
    	
    	
    Finland	
    AHDE-F	Animal Planet HD
    DCFI-F	Discovery Channel
    	
    	
    France	
    DFRA-FR	Discovery Channel
    HHFR-FR	Discovery Real Time
    	
    	
    Hungary	
    DHUN-HU	Discovery Channel
    	
    	
    Italy	
    APLI-IT	Animal Planet
    DITA-IT	Discovery Channel
    RTIT-IT	Discovery Real Time
    	
    	
    Netherlands	
    APEU-H	Animal Planet
    DBEN-H	Discovery Channel
    HDEU-H	Discovery HD Showcase
    SCEU-H	Discovery Science
    CVEU-H	Discovery World
    TLEU-H	Travel & Living
    	
    	
    Norway	
    APNR-N	Animal Planet
    AHDE-N	Animal Planet HD
    DNOR-N	Discovery Channel
    HDEU-ENG	Discovery HD
    SCEU-N	Discovery Science
    CVEU-N	Discovery World
    TLCN-N	TLC
    	
    	
    Poland	
    APPL-P	Animal Planet
    DPOL-P	Discovery Channel
    TLPO-P	TLC
    	
    	
    Portugal	
    DIBE-POR	Discovery Channel
    	
    	
    Romania	
    APEU-RO	Animal Planet
    DROM-RO	Discovery Channel
    TLRO-RO	TLC Romania
    	
    	
    Russia	
    DCEN-RUS	Discovery Channel
    TLRU-RUS	TLC
    	
    	
    Spain	
    DIBE-SP	Discovery Channel
    	
    	
    Sweden	
    APNR-S	Animal Planet
    AHDE-S	Animal Planet HD
    DSWE-S	Discovery Channel
    HDEU-S	Discovery HD
    SCEU-S	Discovery Science
    CVEU-S	Discovery World
    IDEU-S	Investigation Discovery
    TLSW-S	TLC
    	
    	
    United Kingdom	
    APLU-ENG	Animal Planet
    DXUK-ENG	DMAX
    DCUK-ENG	Discovery Channel
    HDUC-ENG	Discovery HD
    CVUK-ENG	Discovery History
    RTUK-ENG	Discovery Real Time
    SCUK-ENG	Discovery Science
    RTXC-ENG	Discovery Shed
    HHUK-ENG	Home & Health
    IDUK-ENG	Investigation Discovery
    TLUK-ENG	Travel & Living
    TUUK-ENG	Turbo
    	
    	
    	
    Latin America	
    	
    Argentina	
    DCAR-SP	Discovery Channel
    DKAR-SP	Discovery Kids
    LVAR-SP	LIV
    	
    	
    Brasil	
    APBR-PRT	Animal Planet
    DCBR-PRT	Discovery Channel
    DKBR-PRT	Discovery Kids
    DHBR-PRT	Home & Health
    LVBR-PRT	LIV
    TLBR-PRT	Travel & Living
    	
    	
    Latin America	
    APLA-SP	Animal Planet
    DCLA-SP	Discovery Channel
    DKLA-SP	Discovery Kids
    DHLA-SP	Home & Health
    LVLA-SP	LIV
    TLLA-SP	Travel & Living
    	
    	
    Mexico	
    DCME-SP	Discovery Channel
    DKMX-SP	Discovery Kids
    LVME-SP	LIV
    	
    	
    United States	
    DFUH-SP	Discovery Kids
    DCES-SP	Discovery en Español
    	
    	
    Venezuela	
    DCVE-SP	Discovery Channel
    	
    	
    	
    Middle East, Turkey & Africa	
    	
    Mid-East, Turkey & Africa	
    DMEA-ENG	Discovery Channel

    Now this web page also lacks end times but displays duration.
    yourdiscovery.png

    Would it be possible to add support for <#DURATION>?
     

    Attachments

    • yourdiscovery_com.xml
      1.5 KB

    Quake505

    Portal Pro
    May 23, 2009
    68
    8
    vuego,

    Do you really need a duration?
    WebEPG should workout the end time from the start time of the next program, is this not the case?

    If you really need duration then WebGrab+Plus can do it, to get you going I have attached a site.ini (grabbing) file for this site.
    I have disabled the time duration by * out the last line, to enable it just remove the *.

    I have disabled the duration because there is a problem with the TUUK-ENG site having everything listed twice witch is causing WebGrab to not list the programes, with it disabled everything is listed correctly.

    You may need to change the time zone for your time zone.

    I've only done limited testing, so it may need tweaking.

    Information can be found here: -

    https://forum.team-mediaportal.com/xmltv-137/webgrab-plus-new-xmltv-grabber-88425/

    Jan is very helpful and he is the programmer for WebGrab+Plus, he responds to posts in the link above.

    If you try WebGrab+Plus, tell me how you get on.

    Regards,

    Q505
     

    Attachments

    • www.yourdiscovery.com.Quake505-V1.zip
      2.4 KB

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,639
    764
    Göteborg
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #5
    Hey Quake

    Of course end time is needed on channels that isn't broadcasting 24/7 and even if they are you'll always lose the last program. I know duration is supported by other grabbers but I wanted to have built-in support in MP.

    Thanks for the tip on Webgrab++, I'll have a look at it. Especially the modifier commands looks useful :)
     

    Quake505

    Portal Pro
    May 23, 2009
    68
    8
    Hi,

    Also in webgrab you can set the time period per channel in the config file, as discribed below: -

    <!-- period (optional)
    It is possible to limit the daily period for which the epg of a channel is grabbed. It must be specified like :
    <channel update="i" site="tvgids.nl" site_id="1" xmltv_id="NED1-tvgids" period="14:00-24:00">NED1</channel>
    -->

    This may force a stop for the last show, never tried it.

    Q505
     

    Users who are viewing this thread

    Top Bottom