2010-11-13, 01:56
Very nice! But there is a minor bug that I had to fix before getting it working:
ERROR: Error Type: <type 'exceptions.SyntaxError'>
ERROR: Error Contents: ("Non-ASCII character '\\xc3' in file /home/finstad/.xbmc/addons/plugin.video.nrk/default.py on line 29, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('/home/finstad/.xbmc/addons/plugin.video.nrk/default.py', 29, 0, None))
This was easily fixed by adding this as the very first line in default.py:
# -*- coding: utf-8 -*-
I guess newer version of python requires you to explicitly set encoding.
ERROR: Error Type: <type 'exceptions.SyntaxError'>
ERROR: Error Contents: ("Non-ASCII character '\\xc3' in file /home/finstad/.xbmc/addons/plugin.video.nrk/default.py on line 29, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('/home/finstad/.xbmc/addons/plugin.video.nrk/default.py', 29, 0, None))
This was easily fixed by adding this as the very first line in default.py:
# -*- coding: utf-8 -*-
I guess newer version of python requires you to explicitly set encoding.