2012-07-28, 01:19
hi,
i have two problems with the youtube plugin, when i try to download a clip with special characters in the name like "à" for example i get the following error:
When i try to download a clip without special characters it works, but then i hit the next problem.
The downloaded file doesn't appear in the set folder.
When i do a locate i get the following:
A tail on the xbmc log gives the following:
The set download folder is set to 777.
Anyone can tell me how to get rid of those two problems?
i have two problems with the youtube plugin, when i try to download a clip with special characters in the name like "à" for example i get the following error:
Code:
01:05:13 T:139652874893056 NOTICE: -->Python Interpreter Initialized<--
01:05:13 T:139652874893056 NOTICE: YouTube-3.0.0
01:05:13 T:139652874893056 NOTICE: CommonFunctions-1.0.0
01:05:15 T:139652874893056 ERROR: Error Type: <type 'exceptions.UnicodeEncodeError'>
01:05:15 T:139652874893056 ERROR: Error Contents: 'ascii' codec can't encode character u'\xe0' in position 11: ordinal not in range(128)
01:05:15 T:139652874893056 ERROR: Traceback (most recent call last):
File "/var/lib/vdr/.xbmc/addons/plugin.video.youtube/default.py", line 106, in <module>
navigation.executeAction(params)
File "/var/lib/vdr/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 146, in executeAction
self.downloadVideo(params)
File "/var/lib/vdr/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 247, in downloadVideo
filename = "%s-[%s].mp4" % (''.join(c for c in video['Title'].decode("utf-8") if c not in self.utils.INVALID_CHARS), video["videoid"])
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 11: ordinal not in range(128)
When i try to download a clip without special characters it works, but then i hit the next problem.
The downloaded file doesn't appear in the set folder.
When i do a locate i get the following:
Code:
root@xbmc:~# locate Pitbull
/var/lib/vdr/.xbmc/userdata/addon_data/script.module.simple.downloader/MEN IN BLACK 3 Pitbull Music Video Trailer 2012 Movie - Official [HD]-[guAAwPlI8OQ].mp4
A tail on the xbmc log gives the following:
Code:
01:17:55 T:139652841322240 NOTICE: -->Python Interpreter Initialized<--
01:17:55 T:139652841322240 NOTICE: YouTube-3.0.0
01:17:55 T:139652841322240 NOTICE: CommonFunctions-1.0.0
01:17:58 T:139654481700736 ERROR: ClearBlock: Trying to clear non existent block /var/lib/vdr/.xbmc/addons/script.module.simple.downloader
The set download folder is set to 777.
Anyone can tell me how to get rid of those two problems?