Automatically exported from code.google.com/p/boxee-periscope
Boxee has already got a subtitle downloader plugin which uses OpenSubtitles.org. Unfortunately, OpenSubtitles doesn't have almost Spanish subtitles for tv shows.
Thanks to periscope project and bierdopje-subtitles-xbmc plugin, I have made a Boxee plugin to download Spanish subtitles from subtitulos.es.
Tested on MacOS X 10.5 and Boxee Beta 0.9.21.11497.
If you want help, just mail me (draxus at gmail)! :)
Update 2010-04-28: multilanguage support (Spanish, English, Portuguese, French, Deutsch, Italian and more!)
Update 2010-04-26: support for OpenSubtitles?.org and SubtitleSource?.org
-
Download the script and extract it to the boxee scripts folder. * The folder is probably at:
- Windows: C:\Program Files\Boxee\scripts
- Mac OS X: /Applications/Boxee.app/Contents/Resources/boxee/scripts/
- Linux: /opt/boxee/scripts
-
Open the boxee_video_context.xml file in the skin folder with your favorite editor. This file is probably at: * Windows: C:\Program Files\Boxee\skin\boxee\720p
* Mac OS X: /Applications/Boxee.app/Contents/Resources/boxee/skin/boxee/720p/ * Linux: /opt/boxee/skin/boxee/720p
Look for
<item>
<controlid>9008</controlid>
<visible>!IsEmpty(container(5000).ListItem.TVShowTitle) + !IsEmpty(container(5000).ListItem.FileNameAndPath) + !container(5000).ListItem.property(IsInternetStream)</visible>
<onclick>RunScript(special://xbmc/scripts/OpenSubtitles/default.py, [TV]$INFO[container(5000).ListItem.Season] $INFO[container(5000).ListItem.Episode] $INFO[container(5000).ListItem.TVshowtitle][/TV][PATH]$INFO[container(5000).ListItem.filenameandpath][/PATH])</onclick>
<onclick>Dialog.Close(354)</onclick>
<thumb>icons/icon_osd_subtitles.png</thumb>
<label>287</label>
</item>
Replace OpenSubtitles occurrences with PeriscopeSubtitles like:
<item>
<controlid>9008</controlid>
<visible>!IsEmpty(container(5000).ListItem.TVShowTitle) + !IsEmpty(container(5000).ListItem.FileNameAndPath) + !container(5000).ListItem.property(IsInternetStream)</visible>
<onclick>RunScript(special://xbmc/scripts/PeriscopeSubtitles/default.py, [TV]$INFO[container(5000).ListItem.Season] $INFO[container(5000).ListItem.Episode] $INFO[container(5000).ListItem.TVshowtitle][/TV][PATH]$INFO[container(5000).ListItem.filenameandpath][/PATH])</onclick>
<onclick>Dialog.Close(354)</onclick>
<thumb>icons/icon_osd_subtitles.png</thumb>
<label>287</label>
</item>
-
Save the file
-
Start Boxee and watch a TV Show, bring up the OSD and press the subtitle button. If you did everything right you should see a popup from the PeriscopeSubtitles script.
Thanks to http://ikbenjaap.com/2010/04/12/tip-using-bierdopje-subtitles-in-boxee/