![]() |
|
[RELEASE] XBMC Subtitles - Addon Script - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27) +---- Forum: Subtitle Add-ons (/forumdisplay.php?fid=143) +---- Thread: [RELEASE] XBMC Subtitles - Addon Script (/showthread.php?tid=126495) |
RE: [RELEASE] XBMC Subtitles - Addon Script - DanUp - 2012-06-02 13:04 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. RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-06-02 13:29 All known issues, we are working on a fix RE: [RELEASE] XBMC Subtitles - Addon Script - omrey - 2012-06-03 04:40 Hi Amet: I hope my message helps with subtitle addon not finding subtitles. error has been happening using icefilms addon. At the beggining it would find subtitles, but about a month ago no subtitles are found on any tvshow that I look for, eventualy argenteam will find spanish subtitles. If I try a tvshow downloaded on my HDD it will find it with no issues. Here is my log http://pastebin.com/R0mBhh0W Thanks for any help. RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-06-03 09:41 you have to use manual search string or get the icefilm addon fixed to report the correct name of the movie/tvshow RE: [RELEASE] XBMC Subtitles - Addon Script - omrey - 2012-06-03 14:51 (2012-06-03 09:41)amet Wrote: you have to use manual search string or get the icefilm addon fixed to report the correct name of the movie/tvshow Hi, strange thing. Subtitle addon will not let me set manual search string or anyother change for that matter. http://pastebin.com/94bBw5F9 I rolled back, uninstall and reinstalled, but xbmc keeps remembering old settings. Help!!! Thanks, RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-06-03 15:14 (2012-06-03 14:51)omrey Wrote:(2012-06-03 09:41)amet Wrote: you have to use manual search string or get the icefilm addon fixed to report the correct name of the movie/tvshow did you copy your userfolder from another machine? or backup? if so, did you set the permissions correctly? RE: [RELEASE] XBMC Subtitles - Addon Script - omrey - 2012-06-03 15:20 (2012-06-03 15:14)amet Wrote:(2012-06-03 14:51)omrey Wrote:(2012-06-03 09:41)amet Wrote: you have to use manual search string or get the icefilm addon fixed to report the correct name of the movie/tvshow Yes I did, and did not pay attention to permissions. What should I do? RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-06-03 16:22 (2012-06-03 15:20)omrey Wrote: Yes I did, and did not pay attention to permissions. What should I do? 1. stop using icefilms ![]() 2. search wiki ... http://wiki.xbmc.org/index.php?title=XBMC_for_iOS_specific_FAQ#repair_settings RE: [RELEASE] XBMC Subtitles - Addon Script - wackynos - 2012-06-10 17:27 Hi amet, Ever since upgrading to Eden i have been having problems in general with XBMC's subtitle handling IMO Dharma handled subtitles much much better. The problem is when i use the addon to get subtitles for video files on network locations they dont play. They seemingly download fine, i can see them when i go to the audio menu or when i disable/enable subtitles but they simply wont play. Previously on Dharma i used to get a popup saying the subtitles could not be saved in the location and would only play temporarily, fine by me as they "played', albeit temporarily. No such popup on Eden and no subtitles either .I have made it work by assigning a custom location for subtitles but that means that now all subtitles are downloaded to the custom location. I would appreciate if it would work like it used to in Dharma. RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-06-10 17:55 handling of network paths is somewhat limited on Eden, hence the difference in handling. |