Kodi Community Forum
[RELEASE] XBMC Subtitles - Addon Script - 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: [RELEASE] XBMC Subtitles - Addon Script (/showthread.php?tid=126495)



RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-11-29

(2012-11-29, 19:23)fernandovg Wrote: What about the "short" language name instead of full name?
thanks!

you know the window is skinable? what skin are you using? why not talk to skin authors to support it better?


Re: [RELEASE] XBMC Subtitles - Addon Script - fernandovg - 2012-11-30

Confluence. Just giving my 2 cents. No problem.
How the add-on detects that there is a local sub avail.? That blue icon on botton of the screen.
Is it for any sub avail on the folder or for that specific movie file? Thanks!



RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-11-30

(2012-11-30, 00:26)fernandovg Wrote: Confluence. Just giving my 2 cents. No problem.
How the add-on detects that there is a local sub avail.? That blue icon on botton of the screen.
Is it for any sub avail on the folder or for that specific movie file? Thanks!

Xbmc has a flag for available subtitles for a file being played


RE: [RELEASE] XBMC Subtitles - Addon Script - w0ei - 2012-12-02

Hi,

I'm using OpenElec on RaspBerry PI and since the latest build I'm having problems with the subtitle plugin. It worked before, so I'm not sure if it's a bug in OpenElec or in the Subtitle Addon. A link to my full debug log is available here: http://sprunge.us/agNY

I think this is the most interesting part from the log though:
Code:
00:46:19 T:2762994784   ERROR: EXCEPTION: XBMC is not playing any file
00:46:19 T:2964321376   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
00:46:19 T:2964321376   DEBUG: CecLogMessage - >> POLL not sent
00:46:20 T:2884699232   DEBUG: webserver: request received for /jsonrpc
00:46:20 T:2884699232   DEBUG: JSONRPC: Incoming request: {"method":"Application.GetProperties","id":-1032839595,"jsonrpc":"2.0","params":{"properties":["volume"]}}
00:46:20 T:2884699232   DEBUG: JSONRPC: Calling application.getproperties
00:46:20 T:2762994784   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: XBMC is not playing any file
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.xbmc.subtitles/default.py", line 28, in <module>
                                                if (not ui.set_allparam() or not ui.Search_Subtitles(False)):
                                              File "/storage/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 49, in set_allparam
                                                movieFullPath        = urllib.unquote(xbmc.Player().getPlayingFile().decode("utf-8"))# Full path of a playing file
                                            RuntimeError: XBMC is not playing any file
                                            -->End of Python script error report<--
00:46:20 T:3043622912   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
00:46:20 T:2762994784    INFO: Python script stopped
00:46:20 T:2762994784   DEBUG: Thread XBPyThread 2762994784 terminating
00:46:20 T:3043622912   ERROR: ClearBlock: Trying to clear non existent block /storage/.xbmc/addons/script.xbmc.subtitles
00:46:20 T:3043622912   DEBUG: waiting for python thread 4 to stop
00:46:20 T:3043622912   DEBUG: python thread 4 destructed
00:46:20 T:2964321376   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
00:46:20 T:2964321376   DEBUG: CecLogMessage - << 10
00:46:20 T:2964321376   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
00:46:20 T:2964321376   DEBUG: CecLogMessage - >> POLL not sent
Both versions 3.9.0 and 3.5.0 experience this problem. I've been looking around for hours now but I can't find a solution..

Thanks!


[RELEASE] XBMC Subtitles - Addon Script - amet - 2012-12-02

Seems to me you are not playing any video...is that the case?


RE: [RELEASE] XBMC Subtitles - Addon Script - w0ei - 2012-12-02

Haha yeah that looks pretty weird. But a video is really playing when I try to download the subs after I started the video, through the context menu.


RE: [RELEASE] XBMC Subtitles - Addon Script - gfjardim - 2012-12-02

Amet, I'm using xbmc.extract function to extract a zip/rar package, then using xbmcgui.dialog().browse to interact with the extracted files.

A silly question: is there a way to browse directly with the compressed arquive, without need to extract them?



RE: [RELEASE] XBMC Subtitles - Addon Script - puppinoo2 - 2012-12-02

I tested 3.0 Beta 1 then I downgraded to 2.0 final cause had problems with sabnzb suite. I switched to 3.5 and now it's working again.

Thanks.

(2012-11-28, 07:24)amet Wrote: openelec 2.0 is based on Eden version of XBMC, and for that you need 3.5.0 version of Subtitles Addon... why are you using 3.9.0 ??




RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-12-03

(2012-12-02, 20:47)gfjardim Wrote: Amet, I'm using xbmc.extract function to extract a zip/rar package, then using xbmcgui.dialog().browse to interact with the extracted files.

A silly question: is there a way to browse directly with the compressed arquive, without need to extract them?

yes, I think you can just give it a zip://path/to/zipfile.zip as directory, it should see it as a folder


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-12-03

(2012-12-02, 11:48)w0ei Wrote: Haha yeah that looks pretty weird. But a video is really playing when I try to download the subs after I started the video, through the context menu.

xbmc doesn't think so, it tells us that there is no file playing

how are you playing the file?


RE: [RELEASE] XBMC Subtitles - Addon Script - w0ei - 2012-12-03

Well I suppose something changed in OpenElec then (or maybe a bug), since it worked before, and I didn't change anything to the subtitle plugin as far as I know. I'm playing the file using the default player (OMXPlayer).


RE: [RELEASE] XBMC Subtitles - Addon Script - misa - 2012-12-04

A separate question:

Will ondertitel.nl be fixed in the next addonn?


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-12-04

wouldnt hurt to look yourself, see here in future


RE: [RELEASE] XBMC Subtitles - Addon Script - misa - 2012-12-04

(2012-12-04, 18:43)amet Wrote: wouldnt hurt to look yourself, see here in future

Ouch..........thanks




RE: [RELEASE] XBMC Subtitles - Addon Script - Thakoer - 2012-12-04

I have the latest version of raspbmc on 3dec 2012 i get no subtitles . Subtitles addon is enabled but getting script error. I will post a log tomorrow.