2008-02-26, 05:17
Quote:
hi,
i have been using xbmc for a long time now. recently been playing around with the linux version.
was really missing a subtitles downloader so i wrote something which interfaces with opensubtitles.org. based it on the xbmc lyrics script.
thanks,
leo
Quote: hi all,
sorry for jumping in late.
i'm not an experienced python developer, i just like messing around with things to make my life easier. one of the most painful parts of my media experience is subtitle downloading for movies and tv shows - hence i thought this script is highly needed.
i'm currently running on linux, so i guess some of the current problems with running the script are related to the switch from linux to xbox. regrettably my xbox has passed away so i can not check the script on it.
i'll describe a little how the script works and i hope someone will be able to fix the xbox related problems.
for the base of the script i used the lyrics script (i looked at undertexter but could not found much help in it) and implemented the osdb xmlrpc interface into it. the idea is the searches are being made through file hashes and not file names. this is a much stronger way of searching for subtitles as the returned subtitles will exactly much the video file you have.
when the script runs it logs into the osdb server (anonymously at first but please register at the site opensubtitles.org/newuser) if a video file is currently being played in the background it will hash it and search the osdb for its subtitles (in order to hash it i access the file so i'm not sure this would work over smb and certainly not sure re split rar files as they are not supported on linux). if no video is playing you can search to select a video file and search for subtitles for it. when you select the subtitle file you want to download it will be downloaded to the subtitle folder set in the settings (might need to change this one as i have some stupid mapping on my system) and then unzipped to it and (if set to true) to the folder where the video file itseld is located in.
thats about it. feel free to ask questions and i might be able to help. feel more than free to make anychanges you see fit to the script as this is a tool which should make our lifes easier (and please, some support from someone running xbox would be highly appreciated).
cheers for now,
leo
You can install it with the addons svn installer plugin:
http://xbmc-addons.googlecode.com/svn/pa...Plugin.zip
It's under scripts.