You are here

Merge data from 2 sites for the same channel?

7 posts / 0 new
Last post
wil_e
Offline
Donator
Joined: 7 years
Last seen: 1 year
Merge data from 2 sites for the same channel?

Hello,
I wonder how easy it would be to merge data from 2 sites for the same channel.

Let me explain :
- site A provides detailed and accurate for a quite short period of time
- site B provides long-term info but not detailed.

As an example, let's take France 4. On Saturday afternoon, it will group all the shows between 2pm and 7pm under the name "Minikeums". Site A will provide the details, e.g. Pegga Pig episode 1 then 2 and so on, then Ninjago, Looney Tunes etc. Whereas site B will only show "Minikeums" even on the day of the show.

It is interesting to get the short-term detailed and accurate info as well as the long-term info, provided that the info from site B never overwrites the info from site A. I suppose that if I run a grab from site B, then copy the file in another directory and then the grab the info from site A, I would come to the result I want. But is there a more practical/easy/logical way to proceed?

Thanks,
wile_e

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 10 hours

what are the 2 sites?
u may be able to use combi-channel(see the docs).

but the 2 sites must use the same time offset in their epg data.

wil_e
Offline
Donator
Joined: 7 years
Last seen: 1 year

Site A = telecablesat.fr
Site B = monprogramme-tv.be
The 'combi' trick cannot be used here as the 'generic' shows do not have a fixed schedule every day like we had in the past with Comedy Central and Viva r with Cbeebies and BBC4.
Site A provides info until May 11th.
Site B provides info until May 22nd and will update tomorrow until May 29th.
So it's useful if you want to plan the recordings or if you use the EPG search in case you missed a program and are looking for a replay.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 10 hours

what i would do is this..
create a dummy france 4 channel in your m3u(say call it france4(no space).
add this right after the france 4 entry with the actual stream url.
so add epg from both sites(each channel).

now when you view your epg u would see epg from both sites,one above the other.

wil_e
Offline
Donator
Joined: 7 years
Last seen: 1 year

There 's no url, it's satellite reception. So you mean this :
- grab site A's schedule to guide_fr.xml
- grab site B's schedule to guide_xyz.xml

Adapt the channels.xml as follows
!-- FR/BE --!-- 13.0E --channel id="France3.fr">1:0:1:12F:3E1C:13F:820000:0:0:0:/channel!-- FRANCE 3 --
!-- FR/BE --!-- 13.0E --channel id="France3.fra">1:0:1:12F:3E1C:13F:820000:0:0:0:/channel!-- FRANCE 3 ALT --
!-- FR/BE --!-- 13.0E --channel id="France4.fr"1:0:1:13A:3E1C:13F:820000:0:0:0:/channel!-- FRANCE 4 --
!-- FR/BE --!-- 13.0E --channel id="France4.fra"1:0:1:13A:3E1C:13F:820000:0:0:0:/channel!-- FRANCE 4 ALT --
!-- FR/BE --!-- 13.0E --channel id="France5.fr"1:0:1:131:3E1C:13F:820000:0:0:0:channel!-- FRANCE 5 --
!-- FR/BE --!-- 13.0E --channel id="France5.fra"1:0:1:131:3E1C:13F:820000:0:0:0:/channel!-- FRANCE 5 ALT --
And finally with the import on the STB, import both guide_fr and guide_xyz ?
Entries should then be double on the receiver.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 10 hours

correct

wil_e
Offline
Donator
Joined: 7 years
Last seen: 1 year

OK, it is not working bad but site B's grab (long-term) has to be put prior to site A's grab (detailed) in the sources.xml file as data will be overwritten.

Another question : it is possible to exclude more than one program per channel with the "exclude" parameter ?

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl