Kodi Community Forum
[RELEASE] myTV - TV Guide Script (with pluginsnew script) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] myTV - TV Guide Script (with pluginsnew script) (/showthread.php?tid=12895)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


- s2h - 2006-10-08

BigBellyBilly Wrote:v1.14b now on XBMCScripts.

Fix: Zap2it datasource crash, caused by incorrect DST config usage.

So this should automatically fix my listing time that is off by one hour or do I have to edit the DST line in the script?

Thanks


- BigBellyBilly - 2006-10-08

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.


- s2h - 2006-10-08

BigBellyBilly Wrote: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.

Done. Thanks for the prompt reply. Excellent script.


- s2h - 2006-10-08

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?


- smuto - 2006-10-11

MyTV_Polish_datasource_update

-datasource - wppl - regex fix & rename to WirtualnaPolska
-logos - add polish station

and one problem with original mytvLibrary.py
i need 'ISO 8859-2' decode for description

getDescriptionLink
Code:
if matches:
description = decodeEntities(matches.group(1)).decode('ISO 8859-2','replace')

is the way to put decode for description inside datasource file?

smuto


- boulete - 2006-10-12

hello (sorry for my poor english)

It doesn't work with myTheatre. ;(

Image

do you have an idea?

boulete


- Nuka1195 - 2006-10-12

that's a semi colon at the end of the definition, change it to a colon, line 442


- boulete - 2006-10-13

sorry but i don't understand, what's changing to "colon".
This is my line 442 "def getPathEXE(self);"

thank you
boulete


- jj5768(2) - 2006-10-13

boulete Wrote:sorry but i don't understand, what's changing to "colon".
This is my line 442 "def getPathEXE(self);"

thank you
boulete


Probably means change the line to..

def getPathEXE(self):

although dunno if that will do it..Nod


- boulete - 2006-10-13

Nuka1195 Wrote:that's a semi colon at the end of the definition, change it to a colon, line 442

thank you, it's ok for line 442 but now i have another problem:

Image

this is my line 668 in default.py: "else:"

and the line 483 in mytheater.py : "config.action(key, value, section=self.CONFIG_SECTION, mode=Config.MODE_WRITE):"

thank you for your help

boulete


- BigBellyBilly - 2006-10-13

hi.

been on hols for a week. I'll correct the above problems asap.

BBB


- boulete - 2006-10-13

GREAT ! Big Grin
I wait the new version...

THANK YOU

boulete

xbox1.3 (alladin advance)
xbox1.6 (savegame007)


- BigBellyBilly - 2006-10-13

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


- BigBellyBilly - 2006-10-13

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.


- boulete - 2006-10-13

Great the file mytheater.py work now!
But Smile i have another problem when i start the recording:
Image

an idea to resolve this?...

in the config smb menu my settings are:
Image

When i select "Setup from an existing XBMC SMB PATH" this error appears:
Image

thank you very VERY much for your help

boulete