XBMC Community Forum
[RELEASE] Sublight ("video") plugin - Download subtitles from Sublight website - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Subtitle Add-ons (/forumdisplay.php?fid=143)
+---- Thread: [RELEASE] Sublight ("video") plugin - Download subtitles from Sublight website (/showthread.php?tid=51256)

Pages: 1 2 3 4 5 6 7 8 9 10 11


[RELEASE] Sublight v1.8 ("video") plugin - Download subtitles from Sublight website - Dan Dare - 2009-05-18 02:57

Video plugin to download subtitles from Sublight website.

Big hand to macofaco (Sublight developer) for offering the service and his help in developing the plugin.

Screenshots: Download: Changes :
  • v1.8 (30 April 2010):
    - Sublight API changes;
    - Calculate MD5 in smaller chunks (might benefit Xbox with large skins)
  • v1.7 (18 September 2009):
    - [xbox] if subtitle filename including language is too long, try again without language;
  • v1.6 (15 August 2009):
    - server moved to http://www.sublight.si;
  • v1.5 (5 July 2009) :
    - add "Search for playing movie";
  • v1.4 (5 July 2009):
    - workaround to avoid crashing XBMC on Linux (use GetFullVideoHash() method);
    - use movie name when searching (thanks to queeup, credits to FlexGet);
    - add option to search by title;
    - add language to the subtitle file name;
  • v1.35 (6 June 2009):
    - always use the full video hash;
    - not handling correctly empty text XML nodes;
  • v1.2 (30 May 2009):
    - allow to choose subtitles destination (movie directory or XBMC custom directory);
    - rename subtitle(s) to match video file(s);
    - when GetFullVideoHash not returning a video hash, fallback to xbmc.Player() method;
    - highlight (green) "linked" subtitles;
  • v1.1 :
    - alternate way of calculating the video hash (no need to play the video);



- queeup - 2009-05-18 07:55

finally, thx man Smile


- Bram77 - 2009-05-18 12:12

Great! I was unable to find the plugin with the SVN Repo Installer. But it installed fine with the XBMC Zone Installer.

I'm using the latest XBMC svn version for the XBOX. When I select a video file the file starts to play in the background (I can't see the video, but I can hear it) and I have to restart the XBOX to regain control over XBMC.


- Dan Dare - 2009-05-18 15:15

@Bram77

The SVN Repo Installer link in my first post here points to a wiki page that tells you how to access my source repository with the SVN Repo Installer - my plugins are not in the official SVN repository, well, for various reasons...

That sounds pretty bad - I've only tested it on Windows, it needs to play the video file to get the length in seconds (needed to calculate the unique video hash code to be able to find the correct subtitles), but it should stop it immediately - I will try it as well tonight and see if I can fix it, I believe Xbox uses mplayer as a default video player, while Windows uses DVDPlayer.

Thanks for letting me know.


- queeup - 2009-05-18 17:18

Unfortunately on Linux always crash and restart XBMC Sad

Log: (look at after line 800)
http://xbmc.pastebin.com/m32e5123f


- Dan Dare - 2009-05-18 17:47

@queeup
Thanks man, sorry to hear that guys, I'll have a look at that as well tonight.


- macofaco - 2009-05-18 17:59

@Dan Dare

If you are having troubles getting movie length I can write helper web service method which receives hash without movie length and returns you valid full hash.

This would not be big problem...


- Dan Dare - 2009-05-18 18:11

@macofaco
Wow man, if you could do that would be great, as I won't have to stop the currently playing video. Users could actually leave the video playing, run the plugin (maybe I will even enhance it to look for subtitles for currently playing video later on) and that would allow them to download a subtitle, go back to full screen, load the subtitle, and if it doens't work and then come back and download the next one.

Let me know of the implementation details, and thanks a lot for your help! Nod


- macofaco - 2009-05-18 18:25

No problem, this is easy. It will be implemented this weekend and I will send you more details when it's done.


- Dan Dare - 2009-05-18 18:29

Thanks man!