2013-05-04, 13:24
It seems this script does not work when using path substitution (http://wiki.xbmc.org/index.php?title=HOW...ts_of_XBMC). I get this when I dont have a local favourites.xml in my userdata:
I know this feature is not supported by XBMC officially in the first place but it would still be great if this asson would work with path substitutions. Thank you!
Code:
13:20:41 T:139853119350528 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', u'/storage/.xbmc/userdata/favourites.xml')
Traceback (most recent call last):
File "/storage/.xbmc/addons/script.favourites/default.py", line 169, in <module>
Main()
File "/storage/.xbmc/addons/script.favourites/default.py", line 22, in __init__
found, favourites = self._read_file()
File "/storage/.xbmc/addons/script.favourites/default.py", line 46, in _read_file
self.doc = parse( self.fav_file )
File "./Lib/xml/dom/minidom.py", line 1920, in parse
File "./Lib/xml/dom/expatbuilder.py", line 922, in parse
IOError: (2, 'No such file or directory', u'/storage/.xbmc/userdata/favourites.xml')
-->End of Python script error report<--
I know this feature is not supported by XBMC officially in the first place but it would still be great if this asson would work with path substitutions. Thank you!