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)



- snyft - 2010-09-14

http://pastebin.com/A4954J9v

have tried reinstalling it, deleted cache and what not :S


- amet - 2010-09-14

kraaa Wrote:http://pastebin.com/A4954J9v

have tried reinstalling it, deleted cache and what not :S

undertexter.... mr_blobby will have to have a look.

have you tried any other service? do they fail?


- snyft - 2010-09-14

Amet Wrote:undertexter.... mr_blobby will have to have a look.

have you tried any other service? do they fail?

Tried subscene dident work, also tried opensubtitles and that timed out directly.
It just says downloading and when i press esc, it says script failed...


- amet - 2010-09-14

kraaa Wrote:Tried subscene dident work, also tried opensubtitles and that timed out directly.

podnapisi, sublight? post a debug if that fails. will check it in the morning


- snyft - 2010-09-14

Opensubtitles worked now or sourcesubtitles some site called that..


- mr_blobby - 2010-09-15

kraaa Wrote:http://pastebin.com/A4954J9v

have tried reinstalling it, deleted cache and what not :S
Ok, I've found out what is causing the script to fail in this particular case.
The downloaded subtitles are zipped and the zip contains a rar file and the rar file contains the subtitle file.
Why the hell does the undertexter site double pack a single subtitle file (http://eng.undertexter.se/download.php?id=14762) Huh Confused
This kind of situation will not be supported, but in a new version I will make sure the script doesn't freeze and fail.


- kim1406 - 2010-09-15

I also, have the experience of the script stops after downloading a subtitle, then try again to download another one, it will say no subtitle found.
Then after deleting the temp directory it will work.


- mr_blobby - 2010-09-15

kim1406 Wrote:I also, have the experience of the script stops after downloading a subtitle, then try again to download another one, it will say no subtitle found.
Then after deleting the temp directory it will work.
Please post a debug log of this situation.
Only then we can figure out what is going wrong.

1) Enable debugging: in Settings > System > Debugging enable the setting "Enable debug logging".
2) Reproduce the problem
3) Paste the logfile in pastebin.com.
Logfile location:
- OSX/ATV: /Users/<username>/Library/Logs/
- Linux: /home/<username>/.xbmc/temp/
- Windows: %APPDATA%\XBMC\



not working - sike420 - 2010-09-16

i just cant get the plugin to work. Each time when i try to download a subtitle it just hangs there and the GUI says downloading subtitle.

I tried to debug it a little bit but the debug flag did not give any valuable information for me. I didn't find a useful solution in the forums neither.

fragment from my xbmc.log

Code:
11:57:59 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Getting url:http://www.ondertitel.com/ondertitels/info/Alice-in-Wonderland-(2010)/48747.html
11:58:00 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Fetching subtitles using url http://www.ondertitel.com/getdownload.php?id=48747&userfile=8+cbgb-alicewonderland.zip
11:58:00 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Getting url:http://www.ondertitel.com/getdownload.php?id=48747&userfile=8+cbgb-alicewonderland.zip
11:58:01 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Saving subtitles to 'special://temp/sub_tmp/zipsubs.zip'
11:58:01 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Failed to save subtitles to 'special://temp/sub_tmp/zipsubs.zip'
11:58:01 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Subtitles saved to 'special://temp/sub_tmp/zipsubs.zip'

It's like that with all services. All movies. write permissions in this downloading directory are ok.


- mr_blobby - 2010-09-16

sike420 Wrote:i just cant get the plugin to work. Each time when i try to download a subtitle it just hangs there and the GUI says downloading subtitle.

I tried to debug it a little bit but the debug flag did not give any valuable information for me. I didn't find a useful solution in the forums neither.

fragment from my xbmc.log

Code:
11:57:59 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Getting url:http://www.ondertitel.com/ondertitels/info/Alice-in-Wonderland-(2010)/48747.html
11:58:00 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Fetching subtitles using url http://www.ondertitel.com/getdownload.php?id=48747&userfile=8+cbgb-alicewonderland.zip
11:58:00 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Getting url:http://www.ondertitel.com/getdownload.php?id=48747&userfile=8+cbgb-alicewonderland.zip
11:58:01 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Saving subtitles to 'special://temp/sub_tmp/zipsubs.zip'
11:58:01 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Failed to save subtitles to 'special://temp/sub_tmp/zipsubs.zip'
11:58:01 T:140615064065808 M:3957522432   DEBUG: [Ondertitel subtitle service]: Subtitles saved to 'special://temp/sub_tmp/zipsubs.zip'

It's like that with all services. All movies. write permissions in this downloading directory are ok.
Please also post the first lines of the debug log (between the two horizontal lines), so we have some general info of your system.


- kalojero - 2010-09-16

Hi all! first of all my congrats for this great addon!! I only want to know if is any plan about including some spanish subtitles site like http://www.subdivx.com or http://www.subtitulos.es it would be great if someone could do it Big Grin

thx!


- sike420 - 2010-09-17

mr_blobby Wrote:Please also post the first lines of the debug log (between the two horizontal lines), so we have some general info of your system.

Code:
11:57:14 T:140615302699040 M:4052688896  NOTICE: -----------------------------------------------------------------------
11:57:14 T:140615302699040 M:4052688896  NOTICE: Starting XBMC, Platform: Linux (Gentoo Base System release 1.12.13, 2.6.34-gentoo-r1 x86_64). Built on Sep 16 2010 (SVN:33535)
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://xbmcbin/ is mapped to: /usr/lib64/xbmc
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://masterprofile/ is mapped to: /home/media/.xbmc/userdata
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://home/ is mapped to: /home/media/.xbmc
11:57:14 T:140615302699040 M:4052688896  NOTICE: special://temp/ is mapped to: /home/media/.xbmc/temp
11:57:14 T:140615302699040 M:4052688896  NOTICE: The executable running is: /usr/lib64/xbmc/xbmc.bin
11:57:14 T:140615302699040 M:4052688896  NOTICE: Log File is located: /home/media/.xbmc/temp/xbmc.log
11:57:14 T:140615302699040 M:4052688896  NOTICE: -----------------------------------------------------------------------

Here you are... Thanks for the fast reply


- amet - 2010-09-17

Please don't copy/paste debug log in the forum, use pastebin.com and post a link to it here.
Also, don't clip the logs as they have useful information that help us debug


- KOROR - 2010-09-17

Ok, so here goes what must be be dumbest question (since no one has asked it yet).
I've downloaded/installed to XBMC Subtitles and enabled in XBMC.

And here is my question: How do I actually use it? Meaning how do i get it to download and show subtitles, is there a keyboard shortcut key or how does is work? :confused2:


- amet - 2010-09-17

KOROR Wrote:Ok, so here goes what must be be dumbest question (since no one has asked it yet).
I've downloaded/installed to XBMC Subtitles and enabled in XBMC.

And here is my question: How do I actually use it? Meaning how do i get it to download and show subtitles, is there a keyboard shortcut key or how does is work? :confused2:

have you seen the first post in this thread?