Hey everyone,
I'm having problems downloading some subtitles from legendas.tv. I think the problem occurs with subtitles that have a dash "/" character in the name, like this one:
Smash.S01E11.HDTV.x264-LOL/2HD/AFG/DIMENSION/CtrlHD
http://legendas.tv/info.php?d=c102f3aa08...da442a2ff6
Here's the error from xbmc.log
Code:
00:03:10 T:2422770544 ERROR: Exception in python script callback execution
00:03:10 T:2422770544 ERROR: Traceback (most recent call last):
00:03:10 T:2422770544 ERROR: File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 494, in onClick
00:03:10 T:2422770544 ERROR: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
00:03:10 T:2422770544 ERROR: File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 303, in Download_Subtitles
00:03:10 T:2422770544 ERROR: zipped, language, file = self.Service.download_subtitles(self.subtitles_list, pos, zip_subs, self.tmp_sub_dir, self.sub_folder,self.session_id)
00:03:10 T:2422770544 ERROR: File "/home/xbmc/.xbmc/addons/script.xbmc.subtitles/resources/lib/services/LegendasTV/service.py", line 61, in download_subtitles
00:03:10 T:2422770544 ERROR: for root, dirs, files in os.walk(extract_path, topdown=False):
00:03:10 T:2422770544 ERROR: File "/usr/lib/python2.7/os.py", line 284, in walk
00:03:10 T:2422770544 ERROR: if isdir(join(top, name)):
00:03:10 T:2422770544 ERROR: File "/usr/lib/python2.7/posixpath.py", line 71, in join
00:03:10 T:2422770544 ERROR: path += '/' + b
00:03:10 T:2422770544 ERROR: UnicodeDecodeError
00:03:10 T:2422770544 ERROR: :
00:03:10 T:2422770544 ERROR: 'ascii' codec can't decode byte 0xa3 in position 6: ordinal not in range(128)