Kodi Community Forum
[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Subtitle Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=143)
+---- Thread: [DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) (/showthread.php?tid=75437)



- amet - 2011-09-29

lymphatik Wrote:Others services are working perfectly and yes this dir is writable. I even tried world writable. However I tried to download a sub for another movie and it worked for this one but not the other.

look for "zipsubs.zip" in /home/lymphatik/.xbmc/addon_data/script.xbmc.subtitles , if you manually extract it, is it fine? otherwise its a corrupted download


- Fysme - 2011-09-30

Hi!

Recently I have been having trouble to download subs from Podnapisi. Xbmc just hangs on "Downloading Subtitles". I have my username and password to Podnapisi in the addon(It is correct, I have checked multiple times).

I found this in the log

"10:52:04 T:4060 M:764104704 ERROR: CWINFileSMB: Unable to open file '\' Error '2
10:52:07 T:4060 M:763129856 ERROR: Exception in python script's onAction
10:52:07 T:4060 M:763125760 ERROR: Traceback (most recent call last):
10:52:07 T:4060 M:763125760 ERROR: File "C:\Users\Fysme\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\gui.py", line 602, in onAction
10:52:07 T:4060 M:763101184 ERROR: if ( action.getId() in CANCEL_DIALOG):
10:52:07 T:4060 M:763101184 ERROR: File "C:\Users\Fysme\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\gui.py", line 536, in onClick
10:52:07 T:4060 M:763101184 ERROR: self.Download_Subtitles( self.getControl( SUBTITLES_LIST ).getSelectedPosition() )
10:52:07 T:4060 M:763101184 ERROR: File "C:\Users\Fysme\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\gui.py", line 307, in Download_Subtitles
10:52:07 T:4060 M:763031552 ERROR: zipped, language, file = self.Service.download_subtitles(self.subtitles_list, pos, zip_subs, self.tmp_sub_dir, self.sub_folder,self.session_id)
10:52:07 T:4060 M:763031552 ERROR: File "C:\Users\Fysme\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\services\Podnapisi\service.py", line 73, in download_subtitles
10:52:07 T:4060 M:763027456 ERROR: url = osdb_server.download(session_id, subtitles_list[pos][ "link" ])
10:52:07 T:4060 M:763027456 ERROR: File "C:\Users\Fysme\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib\services\Podnapisi\pn_utilities.py", line 215, in download
10:52:07 T:4060 M:763015168 ERROR: password256 = sha256.sha256(str(password) + str(init['nonce'])).hexdigest()
10:52:07 T:4060 M:763011072 ERROR: AttributeError
10:52:07 T:4060 M:763006976 ERROR: :
10:52:07 T:4060 M:763006976 ERROR: 'builtin_function_or_method' object has no attribute 'sha256'
10:52:20 T:2544 M:762425344 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Fysme\AppData\Roaming\XBMC\addons\script.xbmc.subtitles"

Thanks in advance.

//Fysme


- lymphatik - 2011-09-30

amet Wrote:look for "zipsubs.zip" in /home/lymphatik/.xbmc/addon_data/script.xbmc.subtitles , if you manually extract it, is it fine? otherwise its a corrupted download

I had a look at the dir and the file was extracted, I could easily extract it from the zip aswell


Feature Request: Auto Download - plight - 2011-09-30

Hi there. My wife is deaf and she genuinely appreciates this plugin. It is really not that much work to download the plugins per show, but when you are dealing with entire series, it gets a bit cumbersome.

Would it be possible to add a feature which would download the subtitles for an entire series as opposed to an episode by episode basis? This will go a long way towards making xbmc in general more deaf friendly.

Thanks!


- Tagada - 2011-09-30

amet Wrote:seems to me that you are not waiting for one service to finnish searching before you activate another one. is that the case? I dont see any errors in the log, not sure what to tell you.

is it always on betaseries?
could it be that "[ss]" in folder/file name is making it lock?

Thanks for your answer !!!

Here is a log where I do things slower (my xbmc is the latest nightly build): http://pastebin.com/B5nc41ki
I tried with a first video that don't have french subtitles in betaseries. At 19:07:13, I manually select the "betaseries" service and it gives me no result without freezing. Perfect.
Then I tried with another video with one french subtitle in betaserie. At 19:07:39, I manually select the "betaseries" service. Then the screen is frozen: I press arrow keys and other random keys on my remote but no action is performed on the screen (I tried this keys for 10 - 15 seconds at least !). Even the "power off" button don't work (I have to manually kill the process at 19:07:56)

I know there is no clue in the log, but maybe you see what's going on ?


- Mrkennedy - 2011-09-30

amet Wrote:crystal ball is broken here, need to look at the log

Sorry, http://pastebin.com/EnSELwge


Sratim service fixed (version 2.1) - orivar - 2011-10-01

Hi everyone,

I'm sorry for the downtime on the Sratim service. I've just now realized it isn't working due to another site layout change (I've been using Subscenter most of the time).

Amet, there's an updated version - I've sent a pull request, please review and update. Also I've noticed BBLN suggested a similiar fix that wasn't integrated. My solution is slightly simpler, but he got a mention in the service comments Big Grin


- tommymsw - 2011-10-01

I love this concept but I am only looking for non English subtitles. Anybody know of an automated way to search for those? Maybe the ability to add "non English" in the search parameter?

By "non English" I mean subtitles for only the non English parts.


- nirran - 2011-10-04

My synced subtitles does not auto download even tho i have that feature turned on.. have to download manually even tho there is a "sync" "logo" next to the subtitle.
Worked fine before, dont know why it wont work know.. I reinstalled xbmc a few days back so it's maybe some setting(s) i just have missed..?


- marijo84 - 2011-10-05

I am new here and I don`t know if anyone noticed this and i did not search forum for this...

When i play blue ray rip and I load subtitles it is all perfect but when i load second part of movie subtitles don`t match....

I am new with this so if there is some catch in all this just let me know...

Thanks Big Grin


- PasiZ - 2011-10-05

marijo84 Wrote:I am new here and I don`t know if anyone noticed this and i did not search forum for this...

When i play blue ray rip and I load subtitles it is all perfect but when i load second part of movie subtitles don`t match....

I am new with this so if there is some catch in all this just let me know...

Thanks Big Grin

If you have just one file, you cannot use 2 part subtitles. Look at the *sync* icon appearing on xbmc subtitles addon...


- marijo84 - 2011-10-06

PasiZ Wrote:If you have just one file, you cannot use 2 part subtitles. Look at the *sync* icon appearing on xbmc subtitles addon...

No blue ray has multiple parts and i use subtitle with one part...i dont get it??
Am i doing anything wrong?


- PasiZ - 2011-10-06

marijo84 Wrote:No blue ray has multiple parts and i use subtitle with one part...i dont get it??
Am i doing anything wrong?

So the rip is encoded to different format and splitted to 2 files? Then you must use subtitles that are made for that cutpoint or split yourself one...


- Nosircantdo - 2011-10-06

Is this down?! Hasn't worked for me the last couple of days. ATV2 just reboot when downloading subtitle...


- jitterbug - 2011-10-07

isnt working for me either - using nightly build from the 5th october