[RELEASE] Sublight ("video") plugin - Download subtitles from Sublight website - 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] Sublight ("video") plugin - Download subtitles from Sublight website (/showthread.php?tid=51256) |
[RELEASE] Sublight v1.8 ("video") plugin - Download subtitles from Sublight website - Dan Dare - 2009-05-18 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:
- queeup - 2009-05-18 finally, thx man - Bram77 - 2009-05-18 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 @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 Unfortunately on Linux always crash and restart XBMC Log: (look at after line 800) http://xbmc.pastebin.com/m32e5123f - Dan Dare - 2009-05-18 @queeup Thanks man, sorry to hear that guys, I'll have a look at that as well tonight. - macofaco - 2009-05-18 @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 @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! - macofaco - 2009-05-18 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 Thanks man! - Sora - 2009-05-18 Very cool Dan Dare. I'm going to check it out when I have time. - Dan Dare - 2009-05-19 You're welcome, Sora, but it's very likely it will lock-up for you as well. Just tried it on Xbox and Windows and it locks most of the time when it plays the video to get the total time... I'm afraid we'll need to wait for macofaco's enhancement - until then I'll try to replicate it an maybe file a bug report or something... - Dan Dare - 2009-05-19 Hmmm, seems to only lock when the Player() object is called from the imported sublight_utils.py, if I move that directly in the sublight_search.py script, it almost doens't lock up at all... - macofaco - 2009-05-19 I already managed to implement method GetFullVideoHash. It receives session and partial video hash (MD5 hash, it must be 32 characters long, more details http://www.subtitles-on.net/?id=6). Method returns true on success, otherwise false (parameter GetFullVideoHashResult). Method also returns full hash which you can use in Search method (parameter bestMatchVideoHash). If method fails you also receive error description (parameter error). Note: if there is no hash yet in database method returns true and bestMatchVideoHash is empty! False is returned only on errors! Web service url: http://www.subtitles-on.net/SublightUtility.asmx Method "GetFullVideoHash" details: http://www.subtitles-on.net/SublightUtility.asmx?op=GetFullVideoHash WSDL: http://www.subtitles-on.net/SublightUtility.asmx?WSDL If you have additional questions please ask. - Dan Dare - 2009-05-19 Thanks macofaco! pretty detailed, and quick I must say :-) Shouldn't though the MD5 only be 16 chars long?! |