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

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
queeup Offline
Posting Freak
Posts: 762
Joined: Feb 2009
Reputation: 16
Post: #31
I'm going to concert tour today. I'll look at it after i come back.
Wish me luck Smile
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #32
if you're playing, good luck :-)
find quote
macofaco Offline
Sublight Admin
Posts: 27
Joined: Jan 2009
Reputation: 4
Post: #33
I tested it and it works (Windows Vista 64 bit, fresh install of newest XBMC) Smile

I suggest following:
-at top of list should be linked subtitles sorted by downloads DESC, following unlinked subtitles sorted by downloads DESC
-linked subtitles should be visually different from unlinked (color or text which says "unlinked" or something similar)
-Season + Episode information for TV series

Otherwise you did very good job!

Sublight - subtitle search utility
http://www.subtitles-on.net
find quote
illiac4 Online
Fan
Posts: 482
Joined: May 2009
Reputation: 2
Post: #34
Hi!

Nice work.
But the plugin is working only if you have a video locally stored on XBOX (on internal disk). If you select video from smb share then it does not work and returns error on plugin.
And it would be nice if user could select preferred language.
find quote
macofaco Offline
Sublight Admin
Posts: 27
Joined: Jan 2009
Reputation: 4
Post: #35
Language can be selected. Check http://dandar3.blogspot.com/2009/05/subl...lugin.html (second screenshot)

Sublight - subtitle search utility
http://www.subtitles-on.net
find quote
illiac4 Online
Fan
Posts: 482
Joined: May 2009
Reputation: 2
Post: #36
Sorry did not know that. Will try later.

About SMB share. It is also possible to write to the folder on SMB if you have set the permissions.

Otherwise it would be also nice if you could select the folder where should Sublight plugin save the subtitles.
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #37
@macofaco
Thanks for your for feedback, glad you liked it.

Trouble is to be able to display the second label (column) on the right (with downloads & cds) I had to enable the genre sorting, which obviously controls how the entry are sorted (asc or desc). I might be able to do something though, as in prefix the "linked" entries with something like "[L]" or "[Linked]" which should make them appear hmmm probably at the botom, I'll think about it. I might be able to do something with colors though for the second column.

I was also thinking to move the movie name to the top right corner (some skins like PMIII are able to display that) and display in the list the release, might be more useful, we'll see how it goes.

I don't have any seasons / episodes, but what I could do is get the information and display it in the Movie Info panel (on an entry press "i" key). If you have an example I might change a version so you can try it.

Thanks again for your help!
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #38
@illiac4
I don't know about the SMBs I thought if XBMC is able to browse for the file it will return the URL and I can use that to read the file - I might check it sometime, I don't share files over the network.

For the subtitle location, I was thinking to add a propery (btw, see the Plugin Settings, that's where you can select the prefered languages) where to save the subtitles with 3 options - movie dir, ask (you are presented with a dialog to navigate to the save location) or the XBMC subtitle custom directory (http://wiki.xbmc.org/?title=Videos_Settings#Subtitles), sometime soon, I don't know when...
find quote
slight Offline
Junior Member
Posts: 44
Joined: Mar 2008
Reputation: 0
Post: #39
This crashes xbmc whenever I select a video file unfortunately Sad (linux)
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #40
@slight
Using version 1.1? Xbmc version? Linux flavour/version? please report the issue at http://dandar3-xbmc-addons.googlecode.com/ so I can keep of them.

Someone reported that same before I might have to install a Linux and try it on I guess...
find quote
Vampirebat Offline
Donor
Posts: 197
Joined: Feb 2009
Reputation: 1
Post: #41
very nice plugin its functioning flawlessly on vista 32 ty.

my copy of casino royal is labeled 007 - Casino Royale.avi the sub downloaded was named Casino Royale(2006).srt

currently it will DL subs but it doesnt rename them to match my media files name and thus when i play a movie i have to search the movie folder and force it to load the subs alternately i can rename them manually to make them load automattically but does sublight have the option to rename the .srt to the medias name?

if it does not i would like to add that as a feature request if possible.

and if it does already how would i go about enabling it?
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #42
@Vampirebat
Thanks for your feedback - it's on the list (http://code.google.com/p/dandar3-xbmc-ad...etail?id=3), hopefully having a stab at it this weekend, i'll keep you posted.
find quote
Vampirebat Offline
Donor
Posts: 197
Joined: Feb 2009
Reputation: 1
Post: #43
awesome
really glad to hear it and ty for the fast reply.
keep up the good work.
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #44
thanks Vampirebat, it helps if you have users asking for things :-)
find quote
Bram77 Offline
Skilled Python Coder
Posts: 1,369
Joined: Feb 2008
Reputation: 32
Location: Netherlands
Post: #45
Sorry for my late response on my earlier comment about an error result on the XBOX. I've had to reinstall XBMC twice, then I unexpectedly came across an XBOX that's better than the one I had and configured that one. Hens the delay... Smile

When I select a movie file to search subtitles for I get an error. I've enabled error logging and searched for the lines where the error occurs. Somehow Sublight can't find the file I selected earlier event hough the path is correct. I'm running the 20678 SVN version for the XBOX. The new XBOX and fresh installation generates the exact same result as the XBOX installation on my old XBOX.

Code:
15:18:13 M: 14618624  NOTICE: Traceback (most recent call last):
15:18:13 M: 14618624  NOTICE:   File "Q:\plugins\video\Sublight\default.py", line 46, in ?
15:18:13 M: 14618624  NOTICE:
15:18:13 M: 14618624  NOTICE: plugin.Main()
15:18:13 M: 14618624  NOTICE:   File "Q:\plugins\video\Sublight\resources\lib\sublight_search.py", line 52, in __init__
15:18:13 M: 14618624  NOTICE:
15:18:13 M: 14618624  NOTICE: video_hash_md5 = sublight_utils.calculateMD5VideoHash(movieFullPath)
15:18:13 M: 14618624  NOTICE:   File "Q:\plugins\video\Sublight\resources\lib\sublight_utils.py", line 45, in calculateMD5VideoHash
15:18:13 M: 14618624  NOTICE:
15:18:13 M: 14618624  NOTICE: f = open(filename, mode="rb")
15:18:13 M: 14618624  NOTICE: IOError
15:18:13 M: 14618624  NOTICE: :
15:18:13 M: 14618624  NOTICE: [Errno 2] No such file or directory: 'smb://bram:****@NAS1/Films/A Scanner Darkly/A.Scanner.Darkly[2006]DvDrip[Eng]-aXXo.avi'
15:18:13 M: 14618624  NOTICE:
15:18:13 M: 14618624   ERROR: Scriptresult: Error

[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
(This post was last modified: 2009-05-27 15:29 by Bram77.)
find quote
Post Reply