Posts: 291
Joined: Feb 2006
Reputation:
2
Sir, please don't misconstrue my shortness for being rude. If you want to handle the offset, that would be fantastic - if there is already a way to handle this, I can try it out if let me know.
Sent from my ONE A2005
Posts: 291
Joined: Feb 2006
Reputation:
2
Honestly, don't worry about it. It seems as though I didn't come across right. Not sure what /s is, but I can guess. Thanks for the information, I'll take a look.
I think I can just not correct the channel offset and I should be good.
Sent from my ONE A2005
Posts: 361
Joined: Oct 2013
Reputation:
11
I have noticed that when I change a channel source then go back to the guide the channel logo will change to some random logo until I exit and restart.
I use the logos that come naturally, no logo folder.
Posts: 291
Joined: Feb 2006
Reputation:
2
Ok, I was mistaken - I am still having issues. I would love to see a feature where tv guide honors the channel offset applied as part of the LibreELEC WebGrab+Plus script.
This would be greatly appreciated, unless someone has a workaround.
Sent from my ONE A2005
Posts: 291
Joined: Feb 2006
Reputation:
2
I assume you mean the source.db file in the userdata addon_data folder, I just wiped that, reloaded and it appears the same.
So, some background - I am using the same guide.xml in both the TV Guide addon and the TV Guide Fullscreen addon. As you mentioned the TV Guide doesn't handle timezeones, so the developer made a file called chans2correct.xml. Within chan2correct I can specify the xmltv_id and define an offset, this offset is then processed after all the xml information has been grabbed.
Examples from the WebGrap++.config.xml would be:
<channel update="f" site="tvguide.co.uk" site_id="86" xmltv_id="BBC1">BBC1</channel>
<channel update="f" site="tv.com" site_id="69022994" xmltv_id="WPXI(NBC)">WPXI(NBC)</channel>
Then in the chan2correct.xml file I do not specify the CBS, because I don't need an offset - so I just define an offset for the BBC:
<channel time_error="-5">BBC1</channel>
This results in the following in the guide.xml, for 3pm EST:
<programme start="20160810140000 +0100" stop="20160810170000 +0100" channel="BBC1">
<title lang="en">Olympics 2016</title>
<sub-title lang="en">Day Five.</sub-title>
<programme start="20160810150000 +0000" stop="20160810153000 +0000" channel="Me TV">
<title lang="en">The Rifleman</title>
<sub-title lang="en">The Patsy</sub-title>
Let me know if you need anything else.