mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
SABnzbd-Suite: settings: safe defaults
This commit is contained in:
parent
b20147b3ea
commit
381f87b7ce
@ -1,3 +1,6 @@
|
|||||||
|
2.1.6
|
||||||
|
- fixed another startup bug
|
||||||
|
|
||||||
2.1.5
|
2.1.5
|
||||||
- fixed bug in startup (caused by couchpotatoserver / configobj)
|
- fixed bug in startup (caused by couchpotatoserver / configobj)
|
||||||
- add possibilty to start / stop addon from addon manager with enable / disable
|
- add possibilty to start / stop addon from addon manager with enable / disable
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
PKG_NAME="SABnzbd-Suite"
|
PKG_NAME="SABnzbd-Suite"
|
||||||
PKG_VERSION="2.1"
|
PKG_VERSION="2.1"
|
||||||
PKG_REV="5"
|
PKG_REV="6"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="http://www.openelec.tv"
|
PKG_SITE="http://www.openelec.tv"
|
||||||
|
@ -141,6 +141,22 @@ couchpotato_launch = getAddonSetting(suiteSettings, 'COUCHPOTATO_LAUNCH')
|
|||||||
couchpotato_version = getAddonSetting(suiteSettings, 'COUCHPOTATO_VERSION')
|
couchpotato_version = getAddonSetting(suiteSettings, 'COUCHPOTATO_VERSION')
|
||||||
headphones_launch = getAddonSetting(suiteSettings, 'HEADPHONES_LAUNCH')
|
headphones_launch = getAddonSetting(suiteSettings, 'HEADPHONES_LAUNCH')
|
||||||
|
|
||||||
|
##########
|
||||||
|
# safe defaults. this is ugly
|
||||||
|
# someone with better knowledge in xbmc addon api
|
||||||
|
# please fix
|
||||||
|
if not sabnzbd_launch:
|
||||||
|
sabnzbd_launch = true
|
||||||
|
if not sickbeard_launch:
|
||||||
|
sickbeard_launch = "true"
|
||||||
|
if not couchpotato_launch:
|
||||||
|
couchpotato_launch = "true"
|
||||||
|
if not couchpotato_version:
|
||||||
|
couchpotato_version = "0"
|
||||||
|
if not headphones_launch:
|
||||||
|
headphones_launch = "true"
|
||||||
|
##########
|
||||||
|
|
||||||
# XBMC
|
# XBMC
|
||||||
fXbmcSettings = open(pXbmcSettings, 'r')
|
fXbmcSettings = open(pXbmcSettings, 'r')
|
||||||
data = fXbmcSettings.read()
|
data = fXbmcSettings.read()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user