xbmc-addon-settings: remove options to run library scan on wakeup (supported already by xbmc), cleanup

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-11-01 14:10:19 +01:00
parent 9810170049
commit 2578296e35
11 changed files with 3 additions and 111 deletions

View File

@ -25,17 +25,8 @@
<setting id="NET2_PREFIXLEN" value="24" />
<setting id="NET2_SECURITY" value="NONE" />
<setting id="NET2_SSID" value="" />
<setting id="SABNZBD_START" value="false" />
<setting id="SAMBA_START" value="true" />
<setting id="TRANSMISSION_AUTH" value="false" />
<setting id="TRANSMISSION_IP" value="" />
<setting id="TRANSMISSION_PWD" value="openelec" />
<setting id="TRANSMISSION_START" value="false" />
<setting id="TRANSMISSION_USER" value="openelec" />
<setting id="TVHEADEND_START" value="false" />
<setting id="UPDATE_AUTO" value="manual" />
<setting id="WAKEUP_MUSICDBUPDATE" value="false" />
<setting id="WAKEUP_VIDEODBUPDATE" value="false" />
<setting id="X11_KEYMAP" value="us" />
<setting id="X11_KEYMAP2" value="" />
</settings>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="os.openelec.settings"
name="OpenELEC OS Settings"
version="0.0.12"
version="0.0.13"
provider-name="openelec.tv">
<requires>
<import addon="os.openelec.tv" version="@OS_VERSION@"/>

View File

@ -27,7 +27,7 @@ __author__ = "OpenELEC"
__url__ = "http://www.openelec.tv"
__svn_url__ = ""
__credits__ = ""
__version__ = "0.0.9"
__version__ = "0.0.13"
__XBMC_Revision__ = "22240"
__settings__ = xbmcaddon.Addon(id='os.openelec.settings')

View File

@ -10,9 +10,6 @@
<string id="2021">Systeem update</string>
<string id="2050">LCD/VFD Driver</string>
<string id="2051">Te gebruiken LCD Driver</string>
<string id="2060">Services na slaapstand</string>
<string id="2061">Update video database na slaapstand</string>
<string id="2062">Update music database na slaapstand</string>
<!-- Netwerk -->
<string id="2100">Netwerk</string>

View File

@ -10,9 +10,6 @@
<string id="2021">System Update</string>
<string id="2050">LCD/VFD</string>
<string id="2051">LCD Driver to use</string>
<string id="2060">Wakeup</string>
<string id="2061">Update Video Database on Wakeup</string>
<string id="2062">Update Music Database on Wakeup</string>
<!-- Network -->
<string id="2100">Network</string>

View File

@ -10,9 +10,6 @@
<string id="2021">Mise à jour du système</string>
<string id="2050">LCD/VFD</string>
<string id="2051">Pilote LCD</string>
<string id="2060">Retour de veille</string>
<string id="2061">Mettre à jour la base Vidéo au retour de veille</string>
<string id="2062">Mettre à jour la base Musique au retour de veille</string>
<!-- Network -->
<string id="2100">Réseau</string>

View File

@ -10,9 +10,6 @@
<string id="2021">System Aktualisierung</string>
<string id="2050">LCD/VFD</string>
<string id="2051">LCD Treiber</string>
<string id="2060">Beim Aufwachen</string>
<string id="2061">Video-Datenbank automatisch aktualisieren</string>
<string id="2062">Musik-Datenbank automatisch aktualisieren</string>
<!-- Network -->
<string id="2100">Netzwerk</string>

View File

@ -5,14 +5,11 @@
<string id="2000">System</string>
<string id="2010">Tastatur</string>
<string id="2011">Språklayout</string>
<string id="2012">Språklayout #2</string>
<string id="2012">Språklayout #2</string>
<string id="2020">Systemoppdateringer</string>
<string id="2021">Systemoppdateringer</string>
<string id="2050">LCD/VFD</string>
<string id="2051">LCD Driver</string>
<string id="2060">Vekke</string>
<string id="2061">Oppdater Video Database på vekking</string>
<string id="2062">Oppdater Musikk Database på vekking</string>
<!-- Nettverk -->
<string id="2100">Nettverk</string>

View File

@ -13,10 +13,6 @@
<setting label="2050" type="lsep"/>
<setting type="sep" />
<setting id="LCD_DRIVER" type="labelenum" label="2051" values="none|irtrans|imon|imonlcd|mdm166a" sort="yes" default="none" />
<setting label="2060" type="lsep"/>
<setting type="sep" />
<setting id="WAKEUP_VIDEODBUPDATE" type="bool" label="2061" default="false" />
<setting id="WAKEUP_MUSICDBUPDATE" type="bool" label="2062" default="false" />
</category>
<!-- Network -->

View File

@ -1,40 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
case "$1" in
thaw|resume)
(
if [ -f /var/config/settings.conf ]; then
. /var/config/settings.conf
if [ "$WAKEUP_VIDEODBUPDATE" = "true" ]; then
usleep 5000000
xbmc-send --host=127.0.0.1 -a "UpdateLibrary(video)"
fi
fi
)&
;;
*) exit $NA
;;
esac

View File

@ -1,40 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
case "$1" in
thaw|resume)
(
if [ -f /var/config/settings.conf ]; then
. /var/config/settings.conf
if [ "$WAKEUP_MUSICDBUPDATE" = "true" ]; then
usleep 5000000
xbmc-send --host=127.0.0.1 -a "UpdateLibrary(music)"
fi
fi
)&
;;
*) exit $NA
;;
esac