Sick-Beard: removed as package

This commit is contained in:
Anthony Nash 2011-04-20 23:34:29 +01:00 committed by Stephan Raue
parent 92e35afd48
commit 31087010f2
7 changed files with 0 additions and 334 deletions

View File

@ -1,43 +0,0 @@
################################################################################
# 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
mkdir -p /var/run
mkdir -p $HOME/.sickbeard
wait_for_network
progress "Starting sickbeard downloader daemon"
python /usr/lib/SickBeard/SickBeard.py --daemon \
--pidfile=/var/run/sickbeard.pid \
--datadir $HOME/.sickbeard
fi
fi
)&

View File

@ -1,28 +0,0 @@
#!/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/SickBeard
cp -PR $PKG_BUILD/* $INSTALL/usr/lib/SickBeard

View File

@ -1,37 +0,0 @@
################################################################################
# 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="Sick-Beard"
PKG_VERSION="0f076f4"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="https://github.com/midgetspy/Sick-Beard"
PKG_URL="$OPENELEC_SRC/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS="Python Cheetah SABnzbd"
PKG_BUILD_DEPENDS="toolchain Python"
PKG_PRIORITY="optional"
PKG_SECTION="plugins"
PKG_SHORTDESC="Sick-beard: automated TV show downloading."
PKG_LONGDESC="Sick-beard: automated TV show downloading."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -1,116 +0,0 @@
diff -Naur Sick-Beard-0f076f4/data/css/default.css Sick-Beard-0f076f4.patch/data/css/default.css
--- Sick-Beard-0f076f4/data/css/default.css 2011-04-16 17:14:02.059365807 +0200
+++ Sick-Beard-0f076f4.patch/data/css/default.css 2011-04-16 17:47:20.371757075 +0200
@@ -281,16 +281,6 @@
background-color:#000;
color:#fff;
}
-#donate {
-line-height:1em;
-background: #57442B;
-float: right;
-}
-#donate a,#donate a:hover {
-background-color:#57442B;
-border:0;
-padding:4px 15px 0px;
-}
#content {
min-height: 100px;
background: #fff;
@@ -361,4 +351,4 @@
text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
font-size: 1em;
}
-div.ui-pnotify { min-width: 340px; max-width: 550px; width: auto !important;}
\ Kein Zeilenumbruch am Dateiende.
+div.ui-pnotify { min-width: 340px; max-width: 550px; width: auto !important;}
diff -Naur Sick-Beard-0f076f4/data/interfaces/default/config_general.tmpl Sick-Beard-0f076f4.patch/data/interfaces/default/config_general.tmpl
--- Sick-Beard-0f076f4/data/interfaces/default/config_general.tmpl 2011-04-16 17:14:02.055365889 +0200
+++ Sick-Beard-0f076f4.patch/data/interfaces/default/config_general.tmpl 2011-04-16 18:04:59.879961265 +0200
@@ -40,18 +40,6 @@
</div>
<div class="field-pair">
- <input type="checkbox" name="version_notify" id="version_notify" #if $sickbeard.VERSION_NOTIFY then "checked=\"checked\"" else ""#/>
- <label class="clearfix" for="version_notify">
- <span class="component-title">Check for Update</span>
- <span class="component-desc">Show notification about updates for Sick Beard if available.</span>
- </label>
- <label class="nocheck clearfix">
- <span class="component-title">&nbsp;</span>
- <span class="component-desc">Checking for updates runs on startup and every 12 hours.</span>
- </label>
- </div>
-
- <div class="field-pair">
<label class="nocheck clearfix" for="log_dir">
<span class="component-title">Logging Directory</span>
<input type="text" name="log_dir" id="log_dir" value="$sickbeard.LOG_DIR" size="35" />
diff -Naur Sick-Beard-0f076f4/data/interfaces/default/config.tmpl Sick-Beard-0f076f4.patch/data/interfaces/default/config.tmpl
--- Sick-Beard-0f076f4/data/interfaces/default/config.tmpl 2011-04-16 17:14:02.054365910 +0200
+++ Sick-Beard-0f076f4.patch/data/interfaces/default/config.tmpl 2011-04-16 17:21:20.366435826 +0200
@@ -16,17 +16,10 @@
<tr><td class="infoTableHeader">SB Arguments: </td><td class="infoTableCell">$sickbeard.MY_ARGS</td></tr>
<tr><td class="infoTableHeader">SB Web Root: </td><td class="infoTableCell">$sickbeard.WEB_ROOT</td></tr>
<tr><td class="infoTableHeader">Python Version: </td><td class="infoTableCell">$sys.version[:120]</td></tr>
- <tr style="border-top: 1px dotted #666666;"><td class="infoTableHeader">Homepage </td><td class="infoTableCell"><a href="http://www.sickbeard.com/">http://www.sickbeard.com/</a></td></tr>
- <tr><td class="infoTableHeader">Forums </td><td class="infoTableCell"><a href="http://sickbeard.com/forums/">http://sickbeard.com/forums/</a></td></tr>
- <tr><td class="infoTableHeader">Source </td><td class="infoTableCell"><a href="https://github.com/midgetspy/Sick-Beard/">https://github.com/midgetspy/Sick-Beard/</a></td></tr>
- <tr><td class="infoTableHeader">Bug Tracker &amp;<br/> Windows Builds </td><td class="infoTableCell"><a href="http://code.google.com/p/sickbeard/">http://code.google.com/p/sickbeard/</a></td></tr>
- <tr><td class="infoTableHeader">Internet Relay Chat </td><td class="infoTableCell"><a href="irc://irc.freenode.net/#sickbeard"><i>#sickbeard</i> on <i>irc.freenode.net</i></a></td></tr>
+ <tr style="border-top: 1px dotted #666666;"><td class="infoTableHeader">Homepage </td><td class="infoTableCell"><a href="http://www.openelec.tv">http://www.openelec.tv</a></td></tr>
+ <tr><td class="infoTableHeader">Forums </td><td class="infoTableCell"><a href="http://www.openelec.tv/forum/">http://www.openelec.tv/forum/</a></td></tr>
+ <tr><td class="infoTableHeader">Internet Relay Chat </td><td class="infoTableCell"><a href="irc://irc.freenode.net/#openelec"><i>#openelec</i> on <i>irc.freenode.net</i></a></td></tr>
</table>
</div>
-<table class="infoTable" cellspacing="1" border="0" cellpadding="0"><tr>
- <td><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=JA8M7VDY89SQ4" onclick="window.open(this.href); return false;"><img src="$sbRoot/images/paypal/btn_donateCC_LG.gif" alt="[donate]" /></a></td>
- <td>Sickbeard is free, but you can contribute by giving a <b><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=JA8M7VDY89SQ4" onclick="window.open(this.href); return false;">donation</a></b>.</td>
-</tr></table>
-
#include $os.path.join($sickbeard.PROG_DIR, "data/interfaces/default/inc_bottom.tmpl")
diff -Naur Sick-Beard-0f076f4/data/interfaces/default/inc_top.tmpl Sick-Beard-0f076f4.patch/data/interfaces/default/inc_top.tmpl
--- Sick-Beard-0f076f4/data/interfaces/default/inc_top.tmpl 2011-04-16 17:14:02.055365889 +0200
+++ Sick-Beard-0f076f4.patch/data/interfaces/default/inc_top.tmpl 2011-04-16 17:51:40.232667081 +0200
@@ -147,19 +147,6 @@
</head>
<body>
-#if $sickbeard.NEWEST_VERSION_STRING:
-<div id="upgrade-notification">
- <div>
- <span class="notify-text">$sickbeard.NEWEST_VERSION_STRING</span>
- </div>
-</div>
-<div id="header-fix"></div>
-#end if
-<div id="header">
- <a name="top"></a>
- <span id="logo"><a href="$sbRoot/home/" title="Sick Beard homepage"><img alt="Sick Beard" src="$sbRoot/images/sickbeard_small.png" width="150" /></a></span>
- <span id="versiontext">alpha $sickbeard.version.SICKBEARD_VERSION</span>
-</div>
<ul id="MainMenu" class="sf-menu">
<li id="NAVsystem" class="first"><a href="#" class="navIcon"><img src="$sbRoot/images/menu/system18.png" alt="" width="18" height="18" /></a>
<ul>
@@ -197,7 +184,6 @@
<li><a href="$sbRoot/errorlogs/viewlog"><img src="$sbRoot/images/menu/viewlog16.png" alt="" width="16" height="16" />View Log</a></li>
</ul>
</li>
- <li id="donate"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=JA8M7VDY89SQ4" onclick="window.open(this.href); return false;"><img src="$sbRoot/images/paypal/btn_donate_LG.gif" alt="[donate]" /></a></li>
</ul>
#if $varExists('submenu'):
<div id="SubMenu">
diff -Naur Sick-Beard-0f076f4/sickbeard/__init__.py Sick-Beard-0f076f4.patch/sickbeard/__init__.py
--- Sick-Beard-0f076f4/sickbeard/__init__.py 2011-04-16 17:14:02.038366239 +0200
+++ Sick-Beard-0f076f4.patch/sickbeard/__init__.py 2011-04-16 18:13:07.293414961 +0200
@@ -446,7 +446,7 @@
QUALITY_DEFAULT = check_setting_int(CFG, 'General', 'quality_default', SD)
STATUS_DEFAULT = check_setting_int(CFG, 'General', 'status_default', SKIPPED)
- VERSION_NOTIFY = check_setting_int(CFG, 'General', 'version_notify', 1)
+ VERSION_NOTIFY = check_setting_int(CFG, 'General', 'version_notify', 0)
SEASON_FOLDERS_FORMAT = check_setting_str(CFG, 'General', 'season_folders_format', 'Season %02d')
SEASON_FOLDERS_DEFAULT = bool(check_setting_int(CFG, 'General', 'season_folders_default', 0))

View File

@ -1,56 +0,0 @@
diff -Naur Sick-Beard-0f076f4/autoProcessTV/autoProcessTV.cfg.sample Sick-Beard-0f076f4.patch/autoProcessTV/autoProcessTV.cfg.sample
--- Sick-Beard-0f076f4/autoProcessTV/autoProcessTV.cfg.sample 2011-04-16 15:57:38.000000000 +0200
+++ Sick-Beard-0f076f4.patch/autoProcessTV/autoProcessTV.cfg.sample 2011-04-16 16:52:05.332606512 +0200
@@ -1,6 +1,6 @@
[SickBeard]
host=localhost
-port=8081
+port=8082
username=
password=
-web_root=
\ Kein Zeilenumbruch am Dateiende.
+web_root=
diff -Naur Sick-Beard-0f076f4/data/interfaces/default/config_general.tmpl Sick-Beard-0f076f4.patch/data/interfaces/default/config_general.tmpl
--- Sick-Beard-0f076f4/data/interfaces/default/config_general.tmpl 2011-04-16 15:57:38.000000000 +0200
+++ Sick-Beard-0f076f4.patch/data/interfaces/default/config_general.tmpl 2011-04-16 16:53:18.753081978 +0200
@@ -95,7 +95,7 @@
</label>
<label class="nocheck clearfix">
<span class="component-title">&nbsp;</span>
- <span class="component-desc">Web port that Sick Beard should listen on (eg. 8081)</span>
+ <span class="component-desc">Web port that Sick Beard should listen on (eg. 8082)</span>
</label>
</div>
diff -Naur Sick-Beard-0f076f4/sickbeard/__init__.py Sick-Beard-0f076f4.patch/sickbeard/__init__.py
--- Sick-Beard-0f076f4/sickbeard/__init__.py 2011-04-16 15:57:38.000000000 +0200
+++ Sick-Beard-0f076f4.patch/sickbeard/__init__.py 2011-04-16 16:51:40.750117126 +0200
@@ -393,12 +393,12 @@
logger.log(u"!!! No log folder, logging to screen only!", logger.ERROR)
try:
- WEB_PORT = check_setting_int(CFG, 'General', 'web_port', 8081)
+ WEB_PORT = check_setting_int(CFG, 'General', 'web_port', 8082)
except:
- WEB_PORT = 8081
+ WEB_PORT = 8082
if WEB_PORT < 21 or WEB_PORT > 65535:
- WEB_PORT = 8081
+ WEB_PORT = 8082
WEB_HOST = check_setting_str(CFG, 'General', 'web_host', '0.0.0.0')
WEB_IPV6 = bool(check_setting_int(CFG, 'General', 'web_ipv6', 0))
diff -Naur Sick-Beard-0f076f4/sickbeard/webserveInit.py Sick-Beard-0f076f4.patch/sickbeard/webserveInit.py
--- Sick-Beard-0f076f4/sickbeard/webserveInit.py 2011-04-16 15:57:38.000000000 +0200
+++ Sick-Beard-0f076f4.patch/sickbeard/webserveInit.py 2011-04-16 16:52:50.786662601 +0200
@@ -24,7 +24,7 @@
from sickbeard.webserve import WebInterface
def initWebServer(options = {}):
- options.setdefault('port', 8081)
+ options.setdefault('port', 8082)
options.setdefault('host', '0.0.0.0')
options.setdefault('log_dir', None)
options.setdefault('username', '')

View File

@ -1,33 +0,0 @@
diff -Naur Sick-Beard-0f076f4/sickbeard/__init__.py Sick-Beard-0f076f4.patch/sickbeard/__init__.py
--- Sick-Beard-0f076f4/sickbeard/__init__.py 2011-04-16 16:57:52.784398169 +0200
+++ Sick-Beard-0f076f4.patch/sickbeard/__init__.py 2011-04-16 17:04:12.103546012 +0200
@@ -190,12 +190,12 @@
NZBGET_CATEGORY = None
NZBGET_HOST = None
-USE_XBMC = False
+USE_XBMC = True
XBMC_NOTIFY_ONSNATCH = False
XBMC_NOTIFY_ONDOWNLOAD = False
XBMC_UPDATE_LIBRARY = False
XBMC_UPDATE_FULL = False
-XBMC_HOST = ''
+XBMC_HOST = '127.0.0.1:8080'
XBMC_USERNAME = None
XBMC_PASSWORD = None
@@ -528,12 +528,12 @@
NZBGET_CATEGORY = check_setting_str(CFG, 'NZBget', 'nzbget_category', 'tv')
NZBGET_HOST = check_setting_str(CFG, 'NZBget', 'nzbget_host', '')
- USE_XBMC = bool(check_setting_int(CFG, 'XBMC', 'use_xbmc', 0))
+ USE_XBMC = bool(check_setting_int(CFG, 'XBMC', 'use_xbmc', 1))
XBMC_NOTIFY_ONSNATCH = bool(check_setting_int(CFG, 'XBMC', 'xbmc_notify_onsnatch', 0))
XBMC_NOTIFY_ONDOWNLOAD = bool(check_setting_int(CFG, 'XBMC', 'xbmc_notify_ondownload', 0))
XBMC_UPDATE_LIBRARY = bool(check_setting_int(CFG, 'XBMC', 'xbmc_update_library', 0))
XBMC_UPDATE_FULL = bool(check_setting_int(CFG, 'XBMC', 'xbmc_update_full', 0))
- XBMC_HOST = check_setting_str(CFG, 'XBMC', 'xbmc_host', '')
+ XBMC_HOST = check_setting_str(CFG, 'XBMC', 'xbmc_host', '127.0.0.1:8080')
XBMC_USERNAME = check_setting_str(CFG, 'XBMC', 'xbmc_username', '')
XBMC_PASSWORD = check_setting_str(CFG, 'XBMC', 'xbmc_password', '')

View File

@ -1,21 +0,0 @@
diff -Naur Sick-Beard-0f076f4/sickbeard/__init__.py Sick-Beard-0f076f4.patch/sickbeard/__init__.py
--- Sick-Beard-0f076f4/sickbeard/__init__.py 2011-04-16 22:38:48.449071968 +0200
+++ Sick-Beard-0f076f4.patch/sickbeard/__init__.py 2011-04-16 22:52:23.704291427 +0200
@@ -184,7 +184,7 @@
SAB_PASSWORD = None
SAB_APIKEY = None
SAB_CATEGORY = None
-SAB_HOST = ''
+SAB_HOST = '127.0.0.1:8081'
NZBGET_PASSWORD = None
NZBGET_CATEGORY = None
@@ -522,7 +522,7 @@
SAB_PASSWORD = check_setting_str(CFG, 'SABnzbd', 'sab_password', '')
SAB_APIKEY = check_setting_str(CFG, 'SABnzbd', 'sab_apikey', '')
SAB_CATEGORY = check_setting_str(CFG, 'SABnzbd', 'sab_category', 'tv')
- SAB_HOST = check_setting_str(CFG, 'SABnzbd', 'sab_host', '')
+ SAB_HOST = check_setting_str(CFG, 'SABnzbd', 'sab_host', '127.0.0.1:8081')
NZBGET_PASSWORD = check_setting_str(CFG, 'NZBget', 'nzbget_password', 'tegbzn6789')
NZBGET_CATEGORY = check_setting_str(CFG, 'NZBget', 'nzbget_category', 'tv')