[RELEASE] Sublight ("video") plugin - Download subtitles from Sublight website

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #91
Good news for Linux users, I've applied a workaround that should avoid crashing XBMC when searching by movie hash - you might be missing OpenSubtitles results, but at least it works.

To complement the search by hash a new option was added to search by movie title - you will still have to browse for a file, it will try to clean up the name and detect the title and year (thanks to queeup and credit going to FlexGet), asks the webservice for similar titles, presents you with a list of results to choose from and does the search by title. If no titles returned by the webservice it will ask to correct the title yourself.

Enjoy.
find quote
macofaco Offline
Sublight Admin
Posts: 27
Joined: Jan 2009
Reputation: 4
Post: #92
I tested it on Windows Vista and works for me!

My only comment is that maybe you could automatically display "Search by movie title..." when "Search by movie file..." returns no results. I hope this version will work also for Linux users.

Sublight - subtitle search utility
http://www.subtitles-on.net
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #93
@macofaco
:-) I was thinking about that, basically to follow the way you implemented in the Sublight app. But for now I think it's best to keep them separate, see that it works fine for everyone and then merge them together.

Maybe in a way where if it doesn't find any results when searching by hash to follow up and do the title search logic.

Had some problems on Linux not only with the player.Play() but also with array.fromfile(), had to change the logic in there, but it seems to work fine now.

Thanks for your help and feedback.
find quote
Bram77 Offline
Skilled Python Coder
Posts: 1,373
Joined: Feb 2008
Reputation: 32
Location: Netherlands
Post: #94
I'm still unable to use the plugin because of the smb shares problem. The OpenSubtitles plugin does seem to be able to work with smb shares though! Even though I get an error about the availability of the OpenSubtitles database, it does not seem related to the smb share.

http://forum.xbmc.org/showthread.php?tid=49749

[Image: widget]

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 Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #95
@Bram77
Please post the problem with OpenSubtitles plugin to the other thread. If you are having problems with this one, please post your xbmc.log at pastebin and I can have another look (http://www.xbmc.org/wiki/index.php?title...Bug_Report)
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #96
Wow, I'm on a roll today! Laugh

The new "Search for playing movie" should work pretty much for everyone and it does a full blown search using the hash as well as the movie title & year (if you used a scraper to get the movie info before looking for subtitles, which most people do anyways...).
find quote
macofaco Offline
Sublight Admin
Posts: 27
Joined: Jan 2009
Reputation: 4
Post: #97
Where are comments from Linux users? Smile

Sublight - subtitle search utility
http://www.subtitles-on.net
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #98
I guess that could mean it's working, people don't usually post when things are working fine Smile Or maybe the two Linux users just didn't have the time to try it Smile
find quote
illiac4 Offline
Fan
Posts: 537
Joined: May 2009
Reputation: 3
Post: #99
Hi!

I hope now it is SMB time to attack and resolve that long present problem Wink
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #100
@illiac4
Well, unfortunatelly I can't help much with that - if I would have the time I'd love to get the sources and suggest code patches to Team XBMC, but unfortunatelly I don't have it...

But I what I could suggest is maybe use the local custom subtitle directory and change accordingly the setting in the Plugin Settings, or maybe even trying an FTP setup instead of SMB, might work better (for Windows I would suggest installing Filezilla Server).
find quote
macofaco Offline
Sublight Admin
Posts: 27
Joined: Jan 2009
Reputation: 4
Post: #101
Dan Dare, could you please in one of future releases change web service url from http://www.subtitles-on.net/SubtitlesAPI2.asmx to http://www.sublight.si/SubtitlesAPI2.asmx ?

Sublight - subtitle search utility
http://www.subtitles-on.net
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #102
@macofaco
No problem, I will that this weekend and release it soon.
100.000 users and 40.000 hashed, not bad, well done!
find quote
macofaco Offline
Sublight Admin
Posts: 27
Joined: Jan 2009
Reputation: 4
Post: #103
Thank you!

Yes, numbers are increasing. This is also why I switched to new server!

Sublight - subtitle search utility
http://www.subtitles-on.net
find quote
illiac4 Offline
Fan
Posts: 537
Joined: May 2009
Reputation: 3
Post: #104
Hi!

Is it possible to use the logic or. better to say handling of the subtitles like the script Subtitles_osd does? As far as i could see it can also handle the SMB shares.

Cheers
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #105
I can't seem to download the Subtitles_OSD script, I've just asked Amet to upload to XBMCZone.com - I'll have a look a it and see how it does it.
find quote
Post Reply