WebGrab+Plus a new xmltv grabber (1 Viewer)

WG++Maker

Portal Pro
October 25, 2010
130
112
La Gomera, Canary Islands
Home Country
Spain Spain
Hey there,
two things, first i wanted to bring you attention to a post of mine a while back, would be great if you could think about it, or atleast, if you decide against it, tell me that ;) https://forum.team-mediaportal.com/...a-new-xmltv-grabber.88425/page-13#post-851657

second, i use tvtv.de to grab the epg infos, and i saw that the genres werent fetched at all.
i changed the line
Code:
category.scrub {multi|Categorie:</td>|target="tvtv_main">|</a>|</tr>}
to
Code:
category.scrub {multi|Kategorie:</td>|target="tvtv_main">|</a>|</tr>}

and now it works, just wanted to let you now, so you can add it to you siteini pack =)


Thanks for the tvtv.de.ini correction (Category was a leftover of the dutch version tvtv.nl.ini)

WG++Maker .. Jan
 

WG++Maker

Portal Pro
October 25, 2010
130
112
La Gomera, Canary Islands
Home Country
Spain Spain
I'm still loving this grabber, thank you. I have to rework some of the Iceland files as they just changed the server layout again. I'll post the new ones soon

I do have a request. For some channels I can't get a guide from anywhere. Would it be possible to set up a method that would just enter 1 hour shows on the hour for the whole day with a default title for the hour show? It would help with doing manual records, so I could just record for that hour.

Thanks again.

What an interresting idea! A fake channel filled with 1 hour shows which don't happen!
The easiest way to do this (I mean that doesn't need any additional coding) is to place this 'fake' channel epg somewhere on the internet.

As a tryout I have placed it temporary on servercare , but I prefer not to leave it there.
Do you have a website or another spot on the internet where you can park a file?

For now, you can try it with the uploaded siteini wg++fakechannel.ini

In the config you need to add:

<channelupdate="f"site="wg++fakechannel"site_id="fake"xmltv_id="fake">fake</channel>

Please mail me how to finalize this

.. WG++Maker .. Jan
 

Attachments

  • wg++fakechannel.rar
    465 bytes

Frantid

Portal Pro
October 11, 2008
117
12
Home Country
Iceland Iceland
I'm still loving this grabber, thank you. I have to rework some of the Iceland files as they just changed the server layout again. I'll post the new ones soon

I do have a request. For some channels I can't get a guide from anywhere. Would it be possible to set up a method that would just enter 1 hour shows on the hour for the whole day with a default title for the hour show? It would help with doing manual records, so I could just record for that hour.

Thanks again.

What an interresting idea! A fake channel filled with 1 hour shows which don't happen!
The easiest way to do this (I mean that doesn't need any additional coding) is to place this 'fake' channel epg somewhere on the internet.

As a tryout I have placed it temporary on servercare , but I prefer not to leave it there.
Do you have a website or another spot on the internet where you can park a file?

For now, you can try it with the uploaded siteini wg++fakechannel.ini

In the config you need to add:

<channelupdate="f"site="wg++fakechannel"site_id="fake"xmltv_id="fake">fake</channel>

Please mail me how to finalize this

.. WG++Maker .. Jan


Wow, thanks for putting that out there -- incredible support. You don't have to keep it up. I don't want to put the traffic on your server.

This was just the only part of the old webgrab that webgrab++ doesn't do. It's really not that important. The recordings can still be done manually on that channel. The generic hour listings just made it easier to do from the guide without having to do a manual setup.

cheers.
 

WG++Maker

Portal Pro
October 25, 2010
130
112
La Gomera, Canary Islands
Home Country
Spain Spain
Hi, me again =).

I have another "small" request for you :), this time however it is more like a feature for the program instead of a parsing problem... ;). I will try to explain.

So in Germany, we have a channel called "Sky Bundesliga", which is a channel for our football league. During the week, when there is no game, they show older games and so on. But on weekends, when there are 5-9 games at the same time, they show all games live. They do this by showing these games on the channels "Sky Bundesliga 1" to "Sky Bundesliga 11", aswell as on "Sky Bundesliga" itself. If there is no live game, the channels 1-11 are offline. Same happens for other sports, where "Sky Sport 1" and "Sky Sport 2" are the too channels always on air, and if needed "Sky Sport 3" to "Sky Sport 13" get used too.
However, these channels dont have their own channel at the tv sites like tvtv.de ot tvtoday.de. But both sites show these games in their epg of the main channel.

For example:
http://www.tvtv.de/tvtv/index.vm?epgView=list&cgid=444&groupid=4&weekChannel=4118&lang=de
or
http://www.tvtoday.de/programm/?format=channel&date=14.03.2012&slotIndex=now&genre=all&channel=BULI
Showing "Sky Bundesliga", if you look at Saturday at 14:30, you can see that they have listed all games, on this channel.

The way WebGrab+Plus works at the moment is, that it takes one of this programms and uses it, not sure though which it takes, if first or last.
What would be great, is, if you could add the functunality that if there are more programs on the same timeslot on a channel, that it puts the other programs on other channels. these channels could be configured within the config file.

My idea would be like this:
Code:
<channel update="s" site="tvtv.de" site_id="4118" xmltv_id="Sky Bundesliga" alternate_channel1="Sky Bundesliga 1" alternate_channel2="Sky Bundesliga 2" ...>Sky Bundesliga</channel>

This then would resolve in, webgrab putting the first programm on the primary channel "Sky Bundesliga", the first duplicate on "Sky Bundesliga 1" and so on.

Im not sure though, if this kind of stuff is handled the same way in other countries, or if it is a "german problem".

Maybe you can think about it.
Thanks a lot

I fear it's a 'German Only' issue, and not easy to solve. But I will give it a thought and see if I can do something.

Give me some time , I'll come back on it.

WG++Maker ... Jan

Before doing something drastic like your suggestion try this:

1. Make sure that the skip setting in your config has no or a 0 for minutes skip. Setting that work here are
<skip>8</skip> : only hours skip of 8
<skip>8,0</skip> : same plu minutes skip of 0 minutes
no <skip> setting at all
2. In tvtoday.de.ini disable (add a * at the beginning of the line) the index_stop setting , like this:
*index_stop.scrub {single()|<span class="tv-sendung-uhrzeit">|<br/>-<br/>|</span>|</span>}
For tvtv.de.ini no update necessary.

If you run with this setting all the live matches starting at the same time will be listed. The last one with the proper stop time , all the others with a zero duration (start and stop the same).

Is that acceptable?

WG++Maker .. Jan
 

Lightning303

MP Donator
  • Premium Supporter
  • September 12, 2009
    798
    577
    Home Country
    Germany Germany
    Before doing something drastic like your suggestion try this:

    1. Make sure that the skip setting in your config has no or a 0 for minutes skip. Setting that work here are
    <skip>8</skip> : only hours skip of 8
    <skip>8,0</skip> : same plu minutes skip of 0 minutes
    no <skip> setting at all
    2. In tvtoday.de.ini disable (add a * at the beginning of the line) the index_stop setting , like this:
    *index_stop.scrub {single()|<span class="tv-sendung-uhrzeit">|<br/>-<br/>|</span>|</span>}
    For tvtv.de.ini no update necessary.

    If you run with this setting all the live matches starting at the same time will be listed. The last one with the proper stop time , all the others with a zero duration (start and stop the same).

    Is that acceptable?

    WG++Maker .. Jan

    Hi,
    that is actually what my config looks like now. I have noskip set, and i am getting the infos from tvtv.de. The xml doas also show all the games. Here for next Saturday.

    Code:
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">Samstags-Konferenz: 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">VfL Wolfsburg - Werder Bremen, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">FC Schalke 04 - Hertha BSC Berlin, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">Hamburger SV - FSV Mainz 05, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">1899 Hoffenheim - 1. FC Nürnberg, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">FC Bayern München - VfB Stuttgart, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">Borussia M'gladbach - FC Augsburg, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">SC Freiburg - 1. FC Köln, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">1. FC Kaiserslautern - Borussia Dortmund, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428173000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">Bayer Leverkusen - Hannover 96, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>

    As you said, last one with proper stop time, and rest with 0 duration. But when i import the xml to MediaPortal now, every game but one gets thrown out.

    Code:
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00

    So, in my epg in mediaportal, i still just see one game... :(
    Thats why it would be great if your grabber would give me the opertunity to send the duplicates to predefined alternate channels. As mentioned in my first post like this:

    Code:
    <channel update="s" site="tvtv.de" site_id="4118" xmltv_id="Sky Fußball BuLiga" alternate_channel1="Sky Fußball BuLiga 1" alternate_channel2="Sky Fußball BuLiga 2" ...>Sky Fußball BuLiga</channel>

    thanks :)
     

    WG++Maker

    Portal Pro
    October 25, 2010
    130
    112
    La Gomera, Canary Islands
    Home Country
    Spain Spain
    Before doing something drastic like your suggestion try this:

    1. Make sure that the skip setting in your config has no or a 0 for minutes skip. Setting that work here are
    <skip>8</skip> : only hours skip of 8
    <skip>8,0</skip> : same plu minutes skip of 0 minutes
    no <skip> setting at all
    2. In tvtoday.de.ini disable (add a * at the beginning of the line) the index_stop setting , like this:
    *index_stop.scrub {single()|<span class="tv-sendung-uhrzeit">|<br/>-<br/>|</span>|</span>}
    For tvtv.de.ini no update necessary.

    If you run with this setting all the live matches starting at the same time will be listed. The last one with the proper stop time , all the others with a zero duration (start and stop the same).

    Is that acceptable?

    WG++Maker .. Jan

    Hi,
    that is actually what my config looks like now. I have noskip set, and i am getting the infos from tvtv.de. The xml doas also show all the games. Here for next Saturday.

    Code:
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">Samstags-Konferenz: 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">VfL Wolfsburg - Werder Bremen, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">FC Schalke 04 - Hertha BSC Berlin, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">Hamburger SV - FSV Mainz 05, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">1899 Hoffenheim - 1. FC Nürnberg, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">FC Bayern München - VfB Stuttgart, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">Borussia M'gladbach - FC Augsburg, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">SC Freiburg - 1. FC Köln, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428140000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">1. FC Kaiserslautern - Borussia Dortmund, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>
      <programme start="20120428140000 +0200" stop="20120428173000 +0200" channel="Sky Fußball BuLiga">
        <title lang="de">Live Fußball: Bundesliga</title>
        <sub-title lang="de">Bayer Leverkusen - Hannover 96, 33. Spieltag</sub-title>
        <desc lang="de">Live...(n)</desc>
        <category lang="de">Sport-Fußball</category>
        <category lang="de">Themen</category>
      </programme>

    As you said, last one with proper stop time, and rest with 0 duration. But when i import the xml to MediaPortal now, every game but one gets thrown out.

    Code:
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00
    2012-04-22 15:48:17.572071 [SQL EPG importer(3)]: BusinessLayer: Your importer tried to add a duplicate entry: 86, Live Fußball: Bundesliga : 28.04.2012 14:00:00-28.04.2012 14:00:00

    So, in my epg in mediaportal, i still just see one game... :(
    Thats why it would be great if your grabber would give me the opertunity to send the duplicates to predefined alternate channels. As mentioned in my first post like this:

    Code:
    <channel update="s" site="tvtv.de" site_id="4118" xmltv_id="Sky Fußball BuLiga" alternate_channel1="Sky Fußball BuLiga 1" alternate_channel2="Sky Fußball BuLiga 2" ...>Sky Fußball BuLiga</channel>

    thanks :)

    I see two problems:

    1 . The MediaPortal importer sees the entries as 'duplicate' which they are not, but I can understand that it filters entry that fully overlap because they cannot be displayed in a graphical epg listing.

    2. Your suggestion to use alternative additional channels is very hard to realize in WG++ , it requires a major update in a lot of routines in the code.

    However I worked out a 'poor mans' alternative which doesn't need any update of the program and tricks the Mediaportal importer into accepting the entries:

    It works by changing the 'zero' duration of the 'duplicate' entries into 2 minutes. It does that by adding this 2 minutes to the start time, so every next entry is positioned 2 minutes later. As extra the 'real' start time is added to the subtitle as a reminder .

    A listing example of this:

    Code:
      <programme start="20120428140000 +0200" stop="20120428140200 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">Bundesliga</sub-title>
        <desc lang="de">33. Spieltag: VfL Wolfsburg - Werder Bremen.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>
      <programme start="20120428140200 +0200" stop="20120428140400 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">(starts at 14.00!) Bundesliga</sub-title>
        <desc lang="de">33. Spieltag, Konferenz: VfL Wolfsburg - SV Werder Bremen, Bayer 04 Leverkusen - Hannover 96, Hamburger SV - 1. FSV Mainz 05, 1899 Hoffenheim - 1. FC Nürnberg, FC Bayern München - VfB Stuttgart, SC Freiburg- 1. FC Köln, M'gladbach - FC Augsburg, 1. FC Kaiserslautern - Borussia Dortmund, FC Schalke 04 - Hertha BSC.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>
      <programme start="20120428140400 +0200" stop="20120428140600 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">(starts at 14.00!) Bundesliga</sub-title>
        <desc lang="de">33. Spieltag: Bayer Leverkusen - Hannover 96.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>

    etc..

    To get this use the siteini's in liga.rar and add the following channel settings in the config:

    <channel update="i" site="tvtv.de.liga" site_id="4118" xmltv_id="Sky Fußball BuLiga">Sky Fußball BuLiga</channel>
    <channel update="i" site="tvtoday.de.liga" site_id="BULI" xmltv_id="Sky Fußball Bundesliga">Sky Fußball Bundesliga</channel>

    Also set the minutesskip to 1 minute like <skip>8,1</skip>

    I hope this is usefull .. WG++Maker .. Jan
     

    Attachments

    • liga.rar
      3.1 KB

    tgljameesuk

    New Member
    September 5, 2011
    3
    0
    Home Country
    United Kingdom United Kingdom
    Indeed , there was a silly 'tipo' in a piece of the code that I intended to rewrite that caused not to use the time-out time when "The connection was closed unexpectedly" message is returned from the http response.
    You can download the corrected program at http://www.servercare.nl/Docs/WebGrab PlusV1.1.0MSI.rar

    If you already installed V1.1.0 and want to keep the homefolder intact you can run setup.msi from the deploy folder. That will only upgrade the program and leave the rest as it is. If you want to reinstall the whole lot you must use install.bat as normal.

    I have also reworked your config file. It listed a lot of ' +1' channel , that just have the same epg with a 1 hour offset. For these you can use 'time-offset' channels which don't regrab the data but just copies it with a timeoffset. Especially with mydigiguide this helps quite a bit to reduces the 'online' time.

    hope everything ok ... WG++Maker ... Jan

    Thank you very much for the fix and taking the time to help with my config file.

    James
     

    Lightning303

    MP Donator
  • Premium Supporter
  • September 12, 2009
    798
    577
    Home Country
    Germany Germany
    I see two problems:

    1 . The MediaPortal importer sees the entries as 'duplicate' which they are not, but I can understand that it filters entry that fully overlap because they cannot be displayed in a graphical epg listing.

    2. Your suggestion to use alternative additional channels is very hard to realize in WG++ , it requires a major update in a lot of routines in the code.

    However I worked out a 'poor mans' alternative which doesn't need any update of the program and tricks the Mediaportal importer into accepting the entries:

    It works by changing the 'zero' duration of the 'duplicate' entries into 2 minutes. It does that by adding this 2 minutes to the start time, so every next entry is positioned 2 minutes later. As extra the 'real' start time is added to the subtitle as a reminder .

    A listing example of this:

    Code:
      <programme start="20120428140000 +0200" stop="20120428140200 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">Bundesliga</sub-title>
        <desc lang="de">33. Spieltag: VfL Wolfsburg - Werder Bremen.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>
      <programme start="20120428140200 +0200" stop="20120428140400 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">(starts at 14.00!) Bundesliga</sub-title>
        <desc lang="de">33. Spieltag, Konferenz: VfL Wolfsburg - SV Werder Bremen, Bayer 04 Leverkusen - Hannover 96, Hamburger SV - 1. FSV Mainz 05, 1899 Hoffenheim - 1. FC Nürnberg, FC Bayern München - VfB Stuttgart, SC Freiburg- 1. FC Köln, M'gladbach - FC Augsburg, 1. FC Kaiserslautern - Borussia Dortmund, FC Schalke 04 - Hertha BSC.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>
      <programme start="20120428140400 +0200" stop="20120428140600 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">(starts at 14.00!) Bundesliga</sub-title>
        <desc lang="de">33. Spieltag: Bayer Leverkusen - Hannover 96.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>

    etc..

    To get this use the siteini's in liga.rar and add the following channel settings in the config:

    <channel update="i" site="tvtv.de.liga" site_id="4118" xmltv_id="Sky Fußball BuLiga">Sky Fußball BuLiga</channel>
    <channel update="i" site="tvtoday.de.liga" site_id="BULI" xmltv_id="Sky Fußball Bundesliga">Sky Fußball Bundesliga</channel>

    Also set the minutesskip to 1 minute like <skip>8,1</skip>

    I hope this is usefull .. WG++Maker .. Jan

    Thanks for your help, it works as you described. However i am not sure if i like it. For now i will use it. Maybe i will try myself on a small c programm that makes the changes i like to the xml, when i find the time.

    Thanks again =)
    Lightning303
     

    WG++Maker

    Portal Pro
    October 25, 2010
    130
    112
    La Gomera, Canary Islands
    Home Country
    Spain Spain
    I see two problems:

    1 . The MediaPortal importer sees the entries as 'duplicate' which they are not, but I can understand that it filters entry that fully overlap because they cannot be displayed in a graphical epg listing.

    2. Your suggestion to use alternative additional channels is very hard to realize in WG++ , it requires a major update in a lot of routines in the code.

    However I worked out a 'poor mans' alternative which doesn't need any update of the program and tricks the Mediaportal importer into accepting the entries:

    It works by changing the 'zero' duration of the 'duplicate' entries into 2 minutes. It does that by adding this 2 minutes to the start time, so every next entry is positioned 2 minutes later. As extra the 'real' start time is added to the subtitle as a reminder .

    A listing example of this:

    Code:
      <programme start="20120428140000 +0200" stop="20120428140200 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">Bundesliga</sub-title>
        <desc lang="de">33. Spieltag: VfL Wolfsburg - Werder Bremen.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>
      <programme start="20120428140200 +0200" stop="20120428140400 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">(starts at 14.00!) Bundesliga</sub-title>
        <desc lang="de">33. Spieltag, Konferenz: VfL Wolfsburg - SV Werder Bremen, Bayer 04 Leverkusen - Hannover 96, Hamburger SV - 1. FSV Mainz 05, 1899 Hoffenheim - 1. FC Nürnberg, FC Bayern München - VfB Stuttgart, SC Freiburg- 1. FC Köln, M'gladbach - FC Augsburg, 1. FC Kaiserslautern - Borussia Dortmund, FC Schalke 04 - Hertha BSC.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>
      <programme start="20120428140400 +0200" stop="20120428140600 +0200" channel="Sky Fußball Bundesliga">
        <title lang="de">Fußball</title>
        <sub-title lang="de">(starts at 14.00!) Bundesliga</sub-title>
        <desc lang="de">33. Spieltag: Bayer Leverkusen - Hannover 96.(n)</desc>
        <category lang="de">Fußball</category>
      </programme>

    etc..

    To get this use the siteini's in liga.rar and add the following channel settings in the config:

    <channel update="i" site="tvtv.de.liga" site_id="4118" xmltv_id="Sky Fußball BuLiga">Sky Fußball BuLiga</channel>
    <channel update="i" site="tvtoday.de.liga" site_id="BULI" xmltv_id="Sky Fußball Bundesliga">Sky Fußball Bundesliga</channel>

    Also set the minutesskip to 1 minute like <skip>8,1</skip>

    I hope this is usefull .. WG++Maker .. Jan

    Thanks for your help, it works as you described. However i am not sure if i like it. For now i will use it. Maybe i will try myself on a small c programm that makes the changes i like to the xml, when i find the time.

    Thanks again =)
    Lightning303

    I hope to have a look at it if you have it.

    WG++Maker .. Jan
     

    Hedehede81

    Portal Member
    February 20, 2011
    18
    1
    44
    Jan,

    This is a great program and it far exceeds my expectations, thanks a lot. I only have one problem, the Turkey grabber seems to have a bug with the dates, it can grab "today" good, leaves a gap for "tomorrow" and starts writing "tomorrow"s data to "next day". So there is 1 day shift, but today is correct. I'm trying to debug but it seems weird to me that today is correct and others not. Could you help me with that?
     

    Users who are viewing this thread

    Top Bottom