SABnzbd-Suite: rebuild with xbmc.python API 2.0, source /etc/profile in scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-12-01 18:22:38 +01:00
parent 1a8b872b5f
commit 49e6356f1d
4 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,6 @@
1.90.2
- depends on xbmc.python API 2.0
1.90.1
- rebuild for OpenSSL upgrade

View File

@ -20,7 +20,7 @@
PKG_NAME="SABnzbd-Suite"
PKG_VERSION="1.90"
PKG_REV="1"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.openelec.tv"

View File

@ -20,6 +20,8 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
# Addon settings
ADDON_DIR="$HOME/.xbmc/addons/service.downloadmanager.SABnzbd-Suite"
ADDON_HOME="$HOME/.xbmc/userdata/addon_data/service.downloadmanager.SABnzbd-Suite"

View File

@ -18,6 +18,15 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
import xbmc, time, os, subprocess
import os
import sys
import xbmcaddon
os.system("SABnzbd-Suite.service")
__scriptname__ = "SABnzbd Suite"
__author__ = "OpenELEC"
__url__ = "http://www.openelec.tv"
__settings__ = xbmcaddon.Addon(id='service.downloadmanager.SABnzbd-Suite')
__cwd__ = __settings__.getAddonInfo('path')
__path__ = xbmc.translatePath( os.path.join( __cwd__, 'bin', "SABnzbd-Suite.service") )
os.system(__path__)