Posts: 901
Joined: Feb 2005
Reputation:
3
You dont need to edit zap2it datasource as in the config menu you can enable/disable DST. The zap2it datasource should then calculate the time, with DST offset, correctly.
You might need to Clear Cache as all the existing downloaded data will be based on the old times.
Posts: 23
Joined: Nov 2004
Reputation:
0
s2h
Junior Member
Posts: 23
Thought all was well but went back into config after enabling DST and the menu says "DST ---> Not Set". Is this a master setting somewhere on the xbox?
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
that's a semi colon at the end of the definition, change it to a colon, line 442
Posts: 6
Joined: Oct 2006
Reputation:
0
sorry but i don't understand, what's changing to "colon".
This is my line 442 "def getPathEXE(self);"
thank you
boulete
Posts: 901
Joined: Feb 2005
Reputation:
3
hi.
been on hols for a week. I'll correct the above problems asap.
BBB
Posts: 901
Joined: Feb 2005
Reputation:
3
Smuto,
thanks for that regex site change fix. The best way to cope with the different decode you need I think is to have the decode passed as a parm. It will default to 'latin-1' if not passed.
changed code:
in mytvLibrary line: 777
def getDescriptionLink(link, regex, startStr='', endStr='', decodeSet='latin-1'):
line: 806
description = decodeEntities(matches.group(1)).decode(decodeSet,'replace')
in Datasource WirtualnaPolska.py line: 113
return getDescriptionLink(link, "id=\"opis\">(.*?)<", decodeSet='ISO 8859-2')
These changes will be in next bug fix release, which I intend to do after checking all datasources are still ok
Posts: 901
Joined: Feb 2005
Reputation:
3
boulete: the myTHeater fix (if you wish to do it now) is:
in myTheater.py line: 443
return config.action(self.CONFIG_OPT_PATH_EXE, section=self.CONFIG_SECTION)
line 483:
config.action(key, value, section=self.CONFIG_SECTION, mode=Config.MODE_WRITE)
which basically removes the extra ':' at the end of the lines.