hi together,
what is the reason for only one xmltv_id / no duplicate channels possible in the Config?
Imagine a site is not available or had breaking changes (site ini adoption necessary):
I would like to spoecify a different site as kind of a fallback/backup to grab the information from.
Maybe a parameter like backup_for_xmltvid would be useful for this.
Do you think such a feature would be possible / helpful?
As a workaround i thought about something like running webgrab with different config files and merge the generated epg files at the end, but doint this directly during the webgrabbing session i think it would be better..?
Thanks in advance for any comment and best regards
the xmltv_id="xxx" is usd by your epg viewer to assign epg to a channel.
thats why you cannot have duplicates.
your argument can also be true regarding the actual stream,you cannot have duplicate tvg-id.
to have a backup stream you need to use a different tvg-id.
years ago a contributor provided a external program(wgmulti) which could do what your you want.
but it was created for webgrab V3.3 and below that used mono which hasnt been updated in years.
current webgrab versions use dotnet so this program wont work with it.
one thing you could do is create your own dummy m3u list for backup epg channels.
example
<channel update="i" site="tvdigital.de" site_id="71##daserste" xmltv_id="Das Erste">Das Erste</channel>\>
<channel update="i" site="tvtoday.de" site_id="ard" xmltv_id="Das Erste Backup">Das Erste Backup</channel>
only the xmltv_id="xxx" needs to be different.
yes you will have 2 epg entries when viewing the guide.
Hmm, i dont want such duplicates in the EPG file, i just thought it would be useful to implement a backup logic in the dotnet version liek this:
channel update="i" site="tvdigital.de" site_id="71##daserste" xmltv_id="Das Erste">Das Erste
channel update="i" site="tvtoday.de" site_id="ard" backup_for_xmltv_id="Das Erste">Das Erste
So in case grabbing from tvdigital.de fails, an error flag will be set for xmltv_id="Das Erste" and the webgrab runtime will also grab from tvtoday.de.
If grabbing works fine from the primary site (tvdigital.de), no grabbing from tvtoday.de will be done.
Dont you think such a function would be useful?
Best regards
This is something you can ask author here https://www.webgrabplus.com/forums/idea-box
Not sure a check on a failed channel how hard and complicate could be
oh good idea, is it possible to move this topic to that area or would you recommend to open a second thread?
Moved, but let me tell you in advance this is very difficult to implement. We are asking a software to recognize a failure, engage an option based on an xmltv that must different by default. I don't want to exclude the option author might go crazy an find a way, but is really hard to do it if not impossible. On my side i think with a post-process and a complicate way to run some results could be achieved.