Kodi Community Forum
[RELEASE] OpenSubtitles OSD (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] OpenSubtitles OSD (Script) (/showthread.php?tid=56083)



- amet - 2010-03-28

Asgerlund Wrote:yeah same thing there..
Will try to play with it a bit and see if I can find something wrong, and write again tomorrow..
So far you were great help, and I really hope to solve this problem..

thanks

good luck with it, let us know what you find out


Zeljko


"Downloading" - Asgerlund - 2010-03-29

Hmm Im still stuck! - The thing still keep saying "downloading" and it makes no difference if I use Opensource, podnapisi, or SI..

Can anyone come with a hint of what could be wrong?

debug log:
http://pastebin.com/RdJhCBPX


- amet - 2010-03-29

Asgerlund Wrote:Hmm Im still stuck! - The thing still keep saying "downloading" and it makes no difference if I use Opensource, podnapisi, or SI..

Can anyone come with a hint of what could be wrong?

debug log:
http://pastebin.com/RdJhCBPX

any chance you could try with one of the nightlies?

or try deleting/backing up your user folder (C:\Documents and Settings\Asger Lund\Application Data\XBMC). on next run xbmc will create a new one, maybe the problem is there...


- Asgerlund - 2010-03-29

Holy moly! - It´s Working! ; )

I deleted my user folder, and tryied installing the script again. It looks a bit different, and WORKS! -

Thank you very much for your patience and your help Zeljko! - you are a star, and I am loving the script (if its yours ; )

-asger


- amet - 2010-03-29

Asgerlund Wrote:Holy moly! - It´s Working! ; )

I deleted my user folder, and tryied installing the script again. It looks a bit different, and WORKS! -

Thank you very much for your patience and your help Zeljko! - you are a star, and I am loving the script (if its yours ; )

-asger

good news that Smile

enjoy it

Zeljko


- frater - 2010-04-05

Some things have changed in the latest SVN and I'm unable to start the script...

http://www.sshcs.com/xbmc/?mode=CW&P=PC&R=29005

I think I need to copy the script to another place...
addons/script ??

But that doesn't seem to work either.
Anyone?


- chunk1982 - 2010-04-05

frater Wrote:Some things have changed in the latest SVN and I'm unable to start the script...

http://www.sshcs.com/xbmc/?mode=CW&P=PC&R=29005

I think I need to copy the script to another place...
addons/script ??

But that doesn't seem to work either.
Anyone?

im 99% sure plugins and scripts are still broke due to the merge thats why on http://xbmc.org/ its says.....

"Update: Revision 28276 is the revision before the merge. Stay below that and you’ll be fine."


- amet - 2010-04-05

+1 on what chunk1982 said, there is a reason team is not releasing nightlies.


ERROR: CLocalizeStrings::ClearBlock - jurrabi - 2010-04-06

Hi there.

I've been using OpenSubtitles for a while now. Love it.

It's been some time now since I'm having a problem with it. I know that we are in the midle of a big merge for the whole addons thing, so I know this might be just a temporary glitch, but I wanted to check with others if some one else has detected it.

By the way I'm using right now rev125 (but I have seen this several revisions ago, I can be more precise how long ago) with some post-28764 personal builds on windows (7 to be precise). Latest is r29036.

The thing is that after running the script once and successfully downloading 1 subtitle I get an error message in the log saying:
Quote:21:56:19 T:1964 M:4294967295 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Administrador\AppData\Roaming\XBMC\addons\OpenSubtitles_OSD

After that if I try to launch it again to download a second subtitle I get the following exception:
Quote:22:13:00 T:1760 M:4294967295 ERROR: exception in CApplication::FrameMove()


And the script never runs. I can still unpause the video and use xbmc normaly with the exception of any python stuff (plugins, scripts, etc) that won't work again until xbmc is restarted (also the xbmc.exe process is not ended after exit so I have to kill it manually).

As I said, It might be just some trouble with xbmc's python implementation... or not. We'll see soon enough.

Anyway, thanks for this great script.

Ps. Now that I decided to write about your script let me add a suggestion I was planning to program myself to the script.
I use your script with 2 kinds of media:
1. Local video files
2. Internet streams produced by plugins.

For the first one I prefer the option of storing the subtitles in the video folder as in that way the subtitles are available from any other player that access the video.
But for the second type this doesn't work since you can't save the subtitles in a remote url so I use the alternate subtitles path for that.

Since I use both file types indistinctly I would like that the script tried to store locally and if it can't go to the optional folder... I'm not sure if this feature will be nice for other people to, but I think it might.
If you are interested in including it I can pass the code when it's done.


- amet - 2010-04-07

Hi,

I think the error you are seeing might have something to do with http://trac.xbmc.org/ticket/8737

as for the different folder for streamed content, it might be useful for others so please do share the code if you have it ready. e-mail me if you would like it added in the google code SVN.

Thanks a lot for the input

Zeljko


- jurrabi - 2010-04-07

Yes, that seems to be the problem. I'll keep an eye on it and check if I can help.

About the code modifications, I haven't done them yet. I'll send them when ready (hope I can get some free time by the end of the week).

Thanks for your quick response.


- yellowsnow - 2010-04-07

I have it installed & it searches, but doesn't seem to work with compressed files. That is, it will search for the name of the .rar rather than searching for the name of the video within the .rar.


- jurrabi - 2010-04-07

I'll never get what the reason can be to use videos inside rars...

I see all the effort Team-XBMC puts into getting containers to work (or don't break it) version after version, and I really don't get it...

The first thing I do when I install xbmc is to add the advancedsettings.xml file with the following lines:
[HTML]<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<advancedsettings>
<videoextensions>
<remove>.rar|.zip|.part</remove>
</videoextensions>
</advancedsettings>[/HTML]
In that way I don't get videos with in archives added to the library when they are still being downloaded...


- yellowsnow - 2010-04-07

^Because when you download a release, it's in archives. So unless you want to take up twice the space, as well as worry about having to go back and manually delete things (or else set up a system that automatically deletes, which inevitably leads to missing things that you don't watch fast enough), the best thing to do is just leave it in the compressed format.

Satisfied?


- jurrabi - 2010-04-07

yellowsnow Wrote:^Because when you download a release, it's in archives. So unless you want to take up twice the space, as well as worry about having to go back and manually delete things (or else set up a system that automatically deletes, which inevitably leads to missing things that you don't watch fast enough), the best thing to do is just leave it in the compressed format.

Satisfied?
I don't know if it is the best thing to do, and I didn't want satisfaction man. Just take it easy. It was just an opinion.

If you ask this is what I do. I use Jdownloader to download nearly anything. You can easily set it up to download, uncompress and delete the archives. That works just fine for me.

Anyway, of course everybody solves their issues in their unique way. And hey, you are lucky many people in TeamXBMC thinks like you and you have the inside rar watching feature you like...

Can I still don't get it myself?