Hello Amet, first of all congratulations for your addon.
About one month ago I'd started to have problems getting subtitles from diferents services. I use the lastest version's addon for spanish and english subtitles.
I had noticed when the name of the file contains "ñ" or "Ñ" I get an error usually extracting data from zip files.
I've left my log in
http://pastebin.com/gUJB4B6h, it shows an utf-8 encode error in file_name.encode.
For instance:
09:52:54 T:5396 DEBUG: CZipManager::GetZipList - Processing zip://C%3a%5cUsers%5cNano%5cAppData%5cRoaming%5cXBMC%5cuserdata%5caddon%5fdata%5cscript%2exbmc%2esubtitles%5csub%5ftmp%5czipsubs%2ezip/
09:52:54 T:5396 DEBUG: statdata: 1338623553 new: 1338623574
09:52:55 T:4616 ERROR: Exception in python script callback execution
09:52:55 T:4616 ERROR: Traceback (most recent call last):
09:52:55 T:4616 ERROR: File "C:\Users\Nano\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\gui.py", line 493, in onClick
09:52:55 T:4616 ERROR: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
09:52:55 T:4616 ERROR: File "C:\Users\Nano\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\gui.py", line 313, in Download_Subtitles
09:52:55 T:4616 ERROR: self.Extract_Subtitles(zip_subs,sub_lang, gui)
09:52:55 T:4616 ERROR: File "C:\Users\Nano\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\gui.py", line 362, in Extract_Subtitles
09:52:55 T:4616 ERROR: subtitle_file, file_path = self.create_name(zip_entry,sub_filename,subtitle_lang)
09:52:55 T:4616 ERROR: File "C:\Users\Nano\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\gui.py", line 433, in create_name
09:52:55 T:4616 ERROR: file_name.encode("utf-8"),))
09:52:55 T:4616 ERROR: File "C:\Users\Nano\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\utilities.py", line 117, in log
09:52:55 T:4616 ERROR: xbmc.log((u"### [%s-%s] - %s" % (__scriptname__,module,msg,)).encode('utf-8'),level=xbmc.LOGDEBUG )
09:52:55 T:4616 ERROR: UnicodeDecodeError
09:52:55 T:4616 ERROR: :
09:52:55 T:4616 ERROR: 'ascii' codec can't decode byte 0xc2 in position 28: ordinal not in range(128)
On the other hand, I would like to make you a suggestion. If you choose to show the name of the file on the title, the label "nn subtitles for movie ......"
is too long so the release part of the file name, the main goal for showing the file name, isn't shown (at least using Transparency skin). Replacing that label for
something like "subs." should be enough
Thank you very much.