2011-07-13, 18:15
So, when using 10.1 dharma I found the script.libraryautoupdate add on to be quite handy. Now however running xbmc git head it has some issues.
First and foremost I get this error in the xbmc log when it runs:
However that said my knowledge of python and more importantly xbmc add on programming is limited to say the least.
Any chance someone familair might know what to change this line to in default.py?
Many thanks in advance.
First and foremost I get this error in the xbmc log when it runs:
Code:
08:59:05 T:2955291536 M:176541696 ERROR: /home/xbmc/.xbmc/addons/script.libraryautoupdate/default.py:5: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
Addon = xbmcaddon.Addon(id=os.path.basename(os.getcwd()))
Addon = xbmcaddon.Addon(id=os.path.basename(os.getcwd()))
However that said my knowledge of python and more importantly xbmc add on programming is limited to say the least.
Any chance someone familair might know what to change this line to in default.py?
Code:
Addon = xbmcaddon.Addon(id=os.path.basename(os.getcwd()))
Many thanks in advance.