The 20 seconds to load that page is why it doesn't work unfortunatelly... the XML-RPC service is used by both the plugin and the script, i doub't that one will be quicker than the other, it just happens that at times the OpenSubtitles XML-RPC respons quicker and then it doesn't accept any connections.
What I might do is allow to specify a user-id, hopefully the performance issue only happens for anonymous loggins, I doubt it, but it's worth a try...
Dan Dare
http://www.xbmc4xbox.org Joined: Sep 2004 Reputation: 146 |
2009-04-28 19:40
Post: #21
Video plugins: Microsoft Channel 9 Videos | GameSpot | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: Notepad |
| find quote |
Bram77
Skilled Python Coder Posts: 1,319 Joined: Feb 2008 Reputation: 27 Location: Netherlands |
2009-04-28 19:42
Post: #22
Have you tried sublight? Apart from the api, the application (Windows, .NET, runs in Wine on Linux) is really excellent! It includes context menu integration which is great!
If you'd choose to use that database many more people will use it. I'm not sure if 'linking' a sub to a video file (confirming it works with that file) is possible and maybe even uploading subtitles with the api, but that would help making it a full size alternative to OpenSubtitles. The developer of the pp and website is hoping for XBMC integration.... http://forum.xbmc.org/showthread.php?tid...t=sublight Please add to my reputation if you find my posts usefull (+/- button below posts) Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems |
| find quote |
Dan Dare
http://www.xbmc4xbox.org Joined: Sep 2004 Reputation: 146 |
2009-04-28 19:53
Post: #23
@Bram77
Now what's on that thread is quite interesting, if they only posted the API reference on their main site. I see rwparris2 was already interested, I might have a look at this if not this week, maybe next week. Video plugins: Microsoft Channel 9 Videos | GameSpot | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: Notepad |
| find quote |
abusharif
Member Posts: 74 Joined: Feb 2009 Reputation: 0 |
2009-04-28 20:20
Post: #24
Dan Dare Wrote:@abusharif Hi, Well, it aint fast, took arround 7-8 seconds to open the url. Since Opensubtitles script (the old one) is working and afaik (guessing) it uses same url, could it possible be some Timeout value that can be adjusted in the code? |
| find quote |
Dan Dare
http://www.xbmc4xbox.org Joined: Sep 2004 Reputation: 146 |
2009-04-28 23:54
Post: #25
@abusharif
Nope, I don't think so I haven't seen any timeout values in xmlrpclib, I'll look again. Like I said it could be more of an impression, alternatively try one after each other a few times, say 5 and if out of 5 the plugin misses them all and the script succeeds all 5, then it's a problem solely with the plugin, otherwise I think the opensubtitles must be flooded with HTTP connects, I'll see if I can improve it... Video plugins: Microsoft Channel 9 Videos | GameSpot | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: Notepad |
| find quote |
Dan Dare
http://www.xbmc4xbox.org Joined: Sep 2004 Reputation: 146 |
2009-04-29 00:35
Post: #26
Just managed to add a verbose clause to the xmlrpclib and I got this from OpenSubtitles.org, which is basically the reason why it's not working now, it might work later though...
"Sorry. We have problem with network connection to database server, try reload page.<!-- Not connected to database server db1 -->" Video plugins: Microsoft Channel 9 Videos | GameSpot | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: Notepad |
| find quote |
Sora
Junior Member Posts: 35 Joined: Dec 2008 Reputation: 0 |
2009-04-30 08:52
Post: #27
The plugin still works great for me. Thank you for your work. I do have another request tough
. It looks like all subtitles come with an nfo file. Would it be possible to just keep the subtitle files and get rid of any other files it downloaded? I'm not sure if this is easy to pull of tough.
|
| find quote |
Dan Dare
http://www.xbmc4xbox.org Joined: Sep 2004 Reputation: 146 |
2009-04-30 11:46
Post: #28
@sora
Glad it works for someone :-) Sure, sounds like a reasonable change. Video plugins: Microsoft Channel 9 Videos | GameSpot | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: Notepad |
| find quote |
tiben20
Team-XBMC Developer Joined: Jun 2008 Reputation: 16 |
2009-05-01 16:58
Post: #29
if it was not about the opensubtitles server. Its really a nice plugins
|
| find quote |
Dan Dare
http://www.xbmc4xbox.org Joined: Sep 2004 Reputation: 146 |
2009-05-01 18:37
Post: #30
well, thanks guys = mostly we should be thanking Leo, the author of the original script, and why not OpenSubtitles.org and XBMC Team
I only had to (copy /) write a few lines of code to put that together.
Video plugins: Microsoft Channel 9 Videos | GameSpot | Eurogamer TV | GameTrailers | Games On Net | OpenSubtitles | Sublight Program plugins: Notepad |
| find quote |

. It looks like all subtitles come with an nfo file. Would it be possible to just keep the subtitle files and get rid of any other files it downloaded? I'm not sure if this is easy to pull of tough.
I only had to (copy /) write a few lines of code to put that together.
Search
Help