Merge branch 'OpenELEC-SickBeard' of git://github.com/antant/OpenELEC.tv

This commit is contained in:
Stephan Raue 2011-04-16 15:28:28 +02:00
commit af21e22a02
8 changed files with 108 additions and 12 deletions

View File

@ -0,0 +1,40 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com)
#
# 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
################################################################################
# Starting Sickbeard downloader daemon
#
# runlevels: openelec, textmode
(
if [ -f /var/config/settings.conf ]; then
. /var/config/settings.conf
if [ "$SABNZBD_START" = "true" ]; then
wait_for_network
progress "Starting sickbeard downloader daemon"
python /usr/lib/sickbeard/SickBeard.py --datadir $HOME/.sickbeard/
fi
fi
)&

View File

@ -0,0 +1,28 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com)
#
# 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
################################################################################
. config/options $1
mkdir -p $INSTALL/usr/lib/$1
cp -PR $PKG_BUILD/* $INSTALL/usr/lib/$1

View File

@ -0,0 +1,37 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com)
#
# 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
################################################################################
PKG_NAME="sickbeard"
PKG_VERSION="12.04.11"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://antant.openelec.tv/"
PKG_URL="http://antant.openelec.tv/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS="Cheetah pyOpenSSL yenc unrar unzip par2cmdline"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="plugins"
PKG_SHORTDESC="Sickbeard: automated TV show downloading."
PKG_LONGDESC="Sickbeard: automated TV show downloading."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -147,9 +147,6 @@
# build and install SABnzbd Newsgroup downloader daemon (yes / no) # build and install SABnzbd Newsgroup downloader daemon (yes / no)
SABNZBD="no" SABNZBD="no"
# build and install SickBeard Newsgroup downloader daemon (yes / no)
SICKBEARD="no"
# build and install some tools for including in release (yes / no) # build and install some tools for including in release (yes / no)
# some of this tools are: htop, nano, wgetpaste # some of this tools are: htop, nano, wgetpaste
TOOLS="yes" TOOLS="yes"

View File

@ -147,9 +147,6 @@
# build and install SABnzbd Newsgroup downloader daemon (yes / no) # build and install SABnzbd Newsgroup downloader daemon (yes / no)
SABNZBD="yes" SABNZBD="yes"
# build and install SickBeard Newsgroup downloader daemon (yes / no)
SICKBEARD="yes"
# build and install some tools for including in release (yes / no) # build and install some tools for including in release (yes / no)
# some of this tools are: htop, nano, wgetpaste # some of this tools are: htop, nano, wgetpaste
TOOLS="yes" TOOLS="yes"

View File

@ -147,9 +147,6 @@
# build and install SABnzbd Newsgroup downloader daemon (yes / no) # build and install SABnzbd Newsgroup downloader daemon (yes / no)
SABNZBD="yes" SABNZBD="yes"
# build and install SickBeard Newsgroup downloader daemon (yes / no)
SICKBEARD="yes"
# build and install some tools for including in release (yes / no) # build and install some tools for including in release (yes / no)
# some of this tools are: htop, nano, wgetpaste # some of this tools are: htop, nano, wgetpaste
TOOLS="yes" TOOLS="yes"

View File

@ -147,9 +147,6 @@
# build and install SABnzbd Newsgroup downloader daemon (yes / no) # build and install SABnzbd Newsgroup downloader daemon (yes / no)
SABNZBD="yes" SABNZBD="yes"
# build and install SickBeard Newsgroup downloader daemon (yes / no)
SICKBEARD="yes"
# build and install some tools for including in release (yes / no) # build and install some tools for including in release (yes / no)
# some of this tools are: htop, nano, wgetpaste # some of this tools are: htop, nano, wgetpaste
TOOLS="yes" TOOLS="yes"

View File

@ -101,6 +101,9 @@ mkdir -p $INSTALL
# SABnzbd support # SABnzbd support
[ "$SABNZBD" = "yes" ] && $SCRIPTS/install SABnzbd [ "$SABNZBD" = "yes" ] && $SCRIPTS/install SABnzbd
# Sickbeard support
[ "$SABNZBD" = "yes" ] && $SCRIPTS/install sickbeard
# Graphic support # Graphic support
[ ! "$DISPLAYSERVER" = "no" ] && $SCRIPTS/install $DISPLAYSERVER [ ! "$DISPLAYSERVER" = "no" ] && $SCRIPTS/install $DISPLAYSERVER