xbmc-ps3d: 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:04:52 +01:00
parent a7db6a21cc
commit e003e9ce5f
4 changed files with 17 additions and 3 deletions

View File

@ -1,2 +1,5 @@
1.90.1
- depends on xbmc.python API 2.0
1.90.0
- initial version xbmc-ps3d

View File

@ -20,7 +20,7 @@
PKG_NAME="xbmc-ps3d"
PKG_VERSION="1.90"
PKG_REV="0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.xbmc.org"

View File

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

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("ps3d.service")
__scriptname__ = "PS3 Remote/Controller driver"
__author__ = "OpenELEC"
__url__ = "http://www.openelec.tv"
__settings__ = xbmcaddon.Addon(id='driver.remote.xbmc-ps3d')
__cwd__ = __settings__.getAddonInfo('path')
__path__ = xbmc.translatePath( os.path.join( __cwd__, 'bin', "ps3d.service") )
os.system(__path__)