WebEPG Merge not working correctly (1 Viewer)

vuego

Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,639
    764
    Göteborg
    Home Country
    Sweden Sweden
    TV-Server Version: 1.0 RC2 build 20078
    MediaPortal Version: 1.0 RC2 build 20078
    MediaPortal Skin: Blue Two Wide
    Windows Version: Vista Ultimate x86 SP1
    CPU Type: Intel Core 2 Duo E6400
    HDD: 2*400GB Samsung RAID0
    Memory: 2*1GB PC4200
    Motherboard: Gigabyte GA-965G-DS3
    Video Card: Gigabyte X1950 Pro 256MB
    Video Card Driver:
    Sound Card: Creative Soundblaster X-Fi Platinum
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Terratec Cinergy 1200 DVB-C
    1. TV Card Type: DVB-C
    1. TV Card Driver:

    I'm trying to merge two channels using the SE\www_dagenstv_com.xml grabber. One channel transmits between 06:30-18:00 and the other 20:00-01:00. Grabbing the two channels as single channels works fine and all programs are downloaded (but not if using the xml file that comes with MP. I have to use this one Please add it to SVN).

    There's two problems.
    1. Shows starting at the same time as the merge time gets removed.
    For example setting start time 06:30 and end time 18:00 in WebEPG-conf, all programs are found:
    Code:
    2008-09-06 16:39:31.506172 [Info.][WebEPG-xmltv]: WebEPG: Reading http://www.dagenstv.com/se/chart/?dat=2008-09-07&cha=143 POST: 
    2008-09-06 16:39:32.147094 [Info.][WebEPG-xmltv]: WebEPG: Listing Count 50
    2008-09-06 16:39:32.147094 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080907063000 - Gnottarna
    2008-09-06 16:39:32.147094 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080907070000 - Lille Ho och loppan Fli
    2008-09-06 16:39:32.147094 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080907071000 - Jasper Pingvin
    
    .....
    
    2008-09-06 16:39:32.187152 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080907173000 / 20080907180000 - Bobster söndag
    2008-09-06 16:39:32.187152 [Debug][WebEPG-xmltv]: WebEPG: Program Count (46), Listing Count (50), Discard Count (4)
    2008-09-06 16:39:32.187152 [Info.][WebEPG-xmltv]: WebEPG: Writing Merged Channel Part to XMLTV: BarnKunskap
    2008-09-06 16:39:32.197166 [Info.][WebEPG-xmltv]:         [6:30-18:0]
    But the first show is removed in TVGuide.xml:
    Code:
      <programme start="20080906170500" stop="20080906173000" channel="BarnKunskap-[Merged]">
        <title>Parallax</title>
        <desc>Del 16 av 26.</desc>
        <episode-num>16</episode-num>
      </programme>
    [B]  <programme start="20080907070000" channel="BarnKunskap-[Merged]">
    [/B]    <title>Lille Ho och loppan Fli</title>
        <desc>Snöugglan.</desc>
      </programme>
      <programme start="20080907071000"...

    2. When grabbing over midnight the next day disappears.
    Setting start time 20:00 and end time 01:00 in WebEPG-conf, all programs are found:
    Code:
    2008-09-06 16:52:32.565819 [Info.][WebEPG-xmltv]: WebEPG: Reading http://www.dagenstv.com/se/chart/?dat=2008-09-06&cha=213 POST: 
    2008-09-06 16:52:33.056524 [Info.][WebEPG-xmltv]: WebEPG: Listing Count 6
    2008-09-06 16:52:33.086568 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080906200000 - Skola för smarta
    2008-09-06 16:52:33.096582 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080906203000 - Vetenskapslandet
    2008-09-06 16:52:33.096582 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080906210000 - Råd för resande till Syrien
    2008-09-06 16:52:33.096582 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080906220000 - Den mångfacetterade diamanten
    2008-09-06 16:52:33.096582 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080906230000 - Kustspaning
    2008-09-06 16:52:33.096582 [Info.][WebEPG-xmltv]: WebEPG: Guide, Program Info: 20080907000000 / 20080907010000 - CIA:s profil på Hitler
    2008-09-06 16:52:33.096582 [Debug][WebEPG-xmltv]: WebEPG: Program Count (6), Listing Count (6), Discard Count (0)
    But only programs before midnight make it to TVGuide.xml:
    Code:
    ...
      </programme>
      <programme start="20080906220000" channel="BarnKunskap-[Merged]">
        <title>Den mångfacetterade diamanten</title>
        <desc>Vetenskapsserie. Klyftor och konflikter.</desc>
        <episode-num>2</episode-num>
      </programme>
      [B]<programme start="20080906230000" channel="BarnKunskap-[Merged]">[/B]
        <title>Kustspaning</title>
        <desc>Tvärvetenskaplig serie.</desc>
        <episode-num>2</episode-num>
      </programme>
     [B] <programme start="20080907203000" channel="BarnKunskap-[Merged]">[/B]
        <title>I love språk - samtal</title>
        <desc>Behövs en språkportfolio?</desc>
      </programme>
      <programme start="20080907210000"...
     

    pbb

    Retired Team Member
  • Premium Supporter
  • October 30, 2006
    306
    24
    51
    Trondheim
    Home Country
    Norway Norway
    I have the same problem as your #1, the first programs are always removed. As a work-around, I enter the switch times one minute before the hour. So, if the switch happens at 19:00, I enter 18:59 as start-time for the new station. (It seems you can leave 19:00 as the end-time for the old station.)

    Your second problem I have not seen. What happens if you make a separate entry for the time before, and the time after midnight? So for the station that transmits between 20:00 and 01:00, you make one entry 19:59 - 00:00, and one entry 00:00 - 01:00? Though that might mean you are missing the first entry after midnight again, because of bug #1. Come to think of it, maybe WebEPG is already doing this internally and that might be the reason why you don't see the program starting at 00:00?

    The channel I tried it with, always has a movie running from 23:00 - 01:00, so there is no item starting at 00:00. Maybe you could have a try with a switching channel that has an item starting after 00:00?
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,639
    764
    Göteborg
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #3
    Thanks for the reply, pbb

    My only switching channel has a program starting at 00:00 every night. But your post made me try some other channels and it looks like all programs starting between 00:00 and 00:59 are removed IF start and end is on each side of midnight.

    Let me show you what I mean in more detail. Here's a schedule:
    Program A 23:00-00:25
    Program B 00:25-00:45
    Program C 00:45-01:30
    Program D 01:30-02:30

    If I set the merged channel grabber to start at 00:01 and end at 02:30 the resulting TVGuide.xml has Program B, C and D.
    However if I set it to start at 22:59 (because of bug #1) and end at 02:30 only Program A and D is written to TVGuide.xml.

    Can you enter those issues into Mantis so a developer can take a look at it? Although there's a workaround for issue #1 it's not nice to let all new users find it out by them self's.
    :D
     

    pbb

    Retired Team Member
  • Premium Supporter
  • October 30, 2006
    306
    24
    51
    Trondheim
    Home Country
    Norway Norway
    Hi Vuego,

    I did some more testing, and I can confirm your findings: on merged channels, where the timeframe overspans midnight (for example, starting 22:59 or 23:59 and ending 02:30), then all programs starting between 00:00 and 00:59 are dropped. When then timeframe starts on or after midnight, only the program starting at the switch time is dropped (bug #1).

    I submitted this issue to Mantis: 0001677: WebEPG drops programs on merged channels - MediaPortal Bugtracker
     

    Users who are viewing this thread

    Top Bottom