Hi,
from time to time i'm getting an error when trying to play videos. (Message see below). Tried to fix it myself but was not able to
But i'm pretty sure i found the problem: YouTube.py (and probably many more) can't handle non-ascii characters in titles, like here:
http://www.youtube.com/watch?v=GvtxiMEqnFU
It is containing a german umlaut (ä,ö,ü).
I hope this is easy to fix ?
22:23:10 T:3212 ERROR: ERROR:root:'ascii' codec can't encode characters in position 15-16: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\MCE\AppData\Roaming\XBMC\addons\script.module.turtle\lib\snapvideo\YouTube.py", line 38, in retrieveVideoInfo
print title
File "<string>", line 6, in write
UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-16: ordinal not in range(128)
22:23:10 T:3212 NOTICE: .
22:23:10 T:3212 NOTICE: ERROR OCCURRED :: (102, 'Video is either removed or not found. Please check other links.')
22:23:10 T:3212 ERROR: ERROR:root
102, 'Video is either removed or not found. Please check other links.')
Traceback (most recent call last):
File "C:\Users\MCE\AppData\Roaming\XBMC\addons\script.module.turtle\lib\common\XBMCInterfaceUtils.py", line 53, in callBackDialogProgressBar
returnedObj = function_obj(arg)
File "C:\Users\MCE\AppData\Roaming\XBMC\addons\script.module.turtle\lib\moves\SnapVideo.py", line 116, in __addVideoInfo_in_item
__processAndAddVideoInfo__(item, item.get_moving_data()['videoUrl'])
File "C:\Users\MCE\AppData\Roaming\XBMC\addons\script.module.turtle\lib\moves\SnapVideo.py", line 138, in __processAndAddVideoInfo__
raise Exception(ExceptionHandler.VIDEO_STOPPED, 'Video is either removed or not found. Please check other links.')
Exception: (102, 'Video is either removed or not found. Please check other links.')
22:23:10 T:3212 NOTICE: .
22:23:10 T:3212 NOTICE: PlayIt Service :: ERROR OCCURRED: (0, '')