You are here

Similar channel names; <offset="0"> Or there's a better option?

3 posts / 0 new
Last post
thyaguster
Offline
Donator
Joined: 2 years
Last seen: 2 months
Similar channel names; <offset="0"> Or there's a better option?

I don't want to touch my m3u, and many channels don't have any usable id available so Tivimate or other app can get the epg data automatically. So, I would like to replicate the epg data across different channel names.

Upon reading the documentation I came across "offset" parameter, which works fine and does what I need:

<channel update="i" site="meo.pt" site_id="ABOLA" xmltv_id="abola-tv">ABOLA</channel>
<channel offset="0" same_as="abola-tv" xmltv_id="abola-tv_2">ABOLATV</channel>
<channel offset="0" same_as="abola-tv" xmltv_id="abola-tv_3">ABOLA TV (P)</channel>

Now, is there a better solution for this?
I noticed that using offset as described above it will still add the duplicate data to the guide.xml so it's a bit of wasted space.
Using <offset="0"> is already way better than using the solution I came to when I first used webgrab+plus, that was to simply make a new grab for each channel name variation (huh!).

But if there's a proper, better way to do this I would like to know.

Best regards.

mat8861
Offline
WG++ Team memberDonator
Joined: 7 years
Last seen: 1 day

Don't think there is another solution at least within wg++. Alternate is to map same reference after it is grabbed, but you don't want that.

thyaguster
Offline
Donator
Joined: 2 years
Last seen: 2 months

Ok, thank you for answering. I'll just make use of it.

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