mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-10 19:29:28 +00:00
SABnzbd: add and install default SABnzbd config (thanks xe`)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -24,6 +24,3 @@
|
|||||||
|
|
||||||
# Start SABnzbd at boot ( yes / no )
|
# Start SABnzbd at boot ( yes / no )
|
||||||
SABNZBD_START="no"
|
SABNZBD_START="no"
|
||||||
|
|
||||||
# SABnzbd host and port (example: "0.0.0.0:8080")
|
|
||||||
SABNZBD_HOST="0.0.0.0:8080"
|
|
||||||
|
216
packages/network/SABnzbd/config/sabnzbd.config
Normal file
216
packages/network/SABnzbd/config/sabnzbd.config
Normal file
@@ -0,0 +1,216 @@
|
|||||||
|
__version__ = 18
|
||||||
|
[misc]
|
||||||
|
queue_complete = ""
|
||||||
|
https_port = 9090
|
||||||
|
folder_rename = 1
|
||||||
|
allow_64bit_tools = 1
|
||||||
|
rss_rate = 60
|
||||||
|
https_key = ""
|
||||||
|
cleanup_list = ,
|
||||||
|
cache_limit = 128M
|
||||||
|
par_option = ""
|
||||||
|
web_color = white
|
||||||
|
replace_spaces = 0
|
||||||
|
web_color2 = ""
|
||||||
|
dirscan_speed = 5
|
||||||
|
enable_filejoin = 1
|
||||||
|
create_group_folders = 0
|
||||||
|
api_key = 2f6c67ec869e65df6962d830a5ad8eab
|
||||||
|
no_penalties = 0
|
||||||
|
bandwidth_limit = 0
|
||||||
|
dirscan_dir = /storage/downloads/watch/
|
||||||
|
disable_api_key = 1
|
||||||
|
email_to = ,
|
||||||
|
password = ""
|
||||||
|
permissions = ""
|
||||||
|
auto_disconnect = 1
|
||||||
|
enable_date_sorting = 0
|
||||||
|
replace_dots = 0
|
||||||
|
movie_sort_extra = -cd%1
|
||||||
|
ionice = -c2 -n4
|
||||||
|
enable_unzip = 1
|
||||||
|
download_free = 1G
|
||||||
|
port = 8080
|
||||||
|
email_dir = ""
|
||||||
|
email_full = 0
|
||||||
|
log_dir = logs
|
||||||
|
admin_dir = admin
|
||||||
|
nzb_backup_dir = ""
|
||||||
|
tv_sort_countries = 1
|
||||||
|
date_categories = tv,
|
||||||
|
ssl_type = v23
|
||||||
|
date_sort_string = ""
|
||||||
|
schedlines = ,
|
||||||
|
host = 0.0.0.0
|
||||||
|
ignore_samples = 2
|
||||||
|
enable_tsjoin = 1
|
||||||
|
auto_browser = 0
|
||||||
|
pause_on_post_processing = 1
|
||||||
|
enable_unrar = 1
|
||||||
|
email_account = ""
|
||||||
|
email_server = ""
|
||||||
|
config_lock = 0
|
||||||
|
api_warnings = 1
|
||||||
|
tv_sort_string = ""
|
||||||
|
dirscan_priority = 0
|
||||||
|
username = ""
|
||||||
|
download_dir = /storage/downloads/incoming/
|
||||||
|
size_limit = ""
|
||||||
|
enable_par_cleanup = 1
|
||||||
|
safe_postproc = 1
|
||||||
|
cache_dir = cache
|
||||||
|
complete_dir = /storage/downloads/
|
||||||
|
replace_illegal = 1
|
||||||
|
par2_multicore = 0
|
||||||
|
warned_old_queue = 0
|
||||||
|
language = us-en
|
||||||
|
check_new_rel = 0
|
||||||
|
enable_https = 0
|
||||||
|
no_dupes = 0
|
||||||
|
top_only = 1
|
||||||
|
quick_check = 1
|
||||||
|
movie_sort_string = ""
|
||||||
|
email_from = ""
|
||||||
|
movie_extra_folder = 0
|
||||||
|
dirscan_script = ""
|
||||||
|
email_endjob = 0
|
||||||
|
tv_categories = ,
|
||||||
|
unpack_check = 1
|
||||||
|
login_realm = SABnzbd
|
||||||
|
send_group = 0
|
||||||
|
refresh_rate = 0
|
||||||
|
movie_categories = movies,
|
||||||
|
script_dir = ""
|
||||||
|
email_pwd = ""
|
||||||
|
ignore_wrong_unrar = 0
|
||||||
|
nice = ""
|
||||||
|
enable_movie_sorting = 0
|
||||||
|
https_cert = ""
|
||||||
|
web_dir2 = ""
|
||||||
|
fail_on_crc = 0
|
||||||
|
auto_sort = 0
|
||||||
|
dirscan_opts = 3
|
||||||
|
web_dir = smpl
|
||||||
|
queue_complete_pers = 0
|
||||||
|
enable_tv_sorting = 0
|
||||||
|
folder_max_length = 256
|
||||||
|
[logging]
|
||||||
|
max_log_size = 1282880
|
||||||
|
log_level = 0
|
||||||
|
log_backups = 1
|
||||||
|
enable_cherrypy_logging = 0
|
||||||
|
[newzbin]
|
||||||
|
username = ""
|
||||||
|
https = 1
|
||||||
|
bookmark_rate = 60
|
||||||
|
bookmarks = 0
|
||||||
|
password = ""
|
||||||
|
unbookmark = 1
|
||||||
|
[nzbmatrix]
|
||||||
|
username = ""
|
||||||
|
apikey = ""
|
||||||
|
[categories]
|
||||||
|
[[misc]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = misc
|
||||||
|
script = Default
|
||||||
|
newzbin = Misc
|
||||||
|
dir = Misc
|
||||||
|
[[tv]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = tv
|
||||||
|
script = Default
|
||||||
|
newzbin = TV
|
||||||
|
dir = TV
|
||||||
|
[[unknown]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = unknown
|
||||||
|
script = Default
|
||||||
|
newzbin = Unknown
|
||||||
|
dir = Unknown
|
||||||
|
[[resources]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = resources
|
||||||
|
script = Default
|
||||||
|
newzbin = Resources
|
||||||
|
dir = Resources
|
||||||
|
[[apps]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = apps
|
||||||
|
script = Default
|
||||||
|
newzbin = Apps
|
||||||
|
dir = Apps
|
||||||
|
[[movies]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = movies
|
||||||
|
script = Default
|
||||||
|
newzbin = Movies
|
||||||
|
dir = Movies
|
||||||
|
[[consoles]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = consoles
|
||||||
|
script = Default
|
||||||
|
newzbin = Consoles
|
||||||
|
dir = Consoles
|
||||||
|
[[books]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = books
|
||||||
|
script = Default
|
||||||
|
newzbin = Books
|
||||||
|
dir = Books
|
||||||
|
[[games]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = games
|
||||||
|
script = Default
|
||||||
|
newzbin = Games
|
||||||
|
dir = Games
|
||||||
|
[[anime]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = anime
|
||||||
|
script = Default
|
||||||
|
newzbin = Anime
|
||||||
|
dir = Anime
|
||||||
|
[[music]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = music
|
||||||
|
script = Default
|
||||||
|
newzbin = Music
|
||||||
|
dir = Music
|
||||||
|
[[pda]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = pda
|
||||||
|
script = Default
|
||||||
|
newzbin = PDA
|
||||||
|
dir = PDA
|
||||||
|
[[emulation]]
|
||||||
|
priority = -100
|
||||||
|
pp = ""
|
||||||
|
name = emulation
|
||||||
|
script = Default
|
||||||
|
newzbin = Emulation
|
||||||
|
dir = Emulation
|
||||||
|
[servers]
|
||||||
|
[[change_me_first:119]]
|
||||||
|
username = ""
|
||||||
|
enable = 1
|
||||||
|
name = change_me_first:119
|
||||||
|
fillserver = 0
|
||||||
|
connections = 8
|
||||||
|
ssl = 0
|
||||||
|
host = change_me_first
|
||||||
|
timeout = 120
|
||||||
|
password = ""
|
||||||
|
optional = 0
|
||||||
|
port = 119
|
@@ -30,10 +30,16 @@
|
|||||||
|
|
||||||
progress "Starting SABnzbd Newsgroup downloader daemon"
|
progress "Starting SABnzbd Newsgroup downloader daemon"
|
||||||
|
|
||||||
SABNZBD_CONFIG=$HOME/.sabnzbd/sabnzbd.conf
|
mkdir -p $HOME/downloads
|
||||||
SABNZBD_ARGS="-f $SABNZBD_CONFIG -s $SABNZBD_HOST -l 2"
|
mkdir -p $HOME/downloads/incoming
|
||||||
|
mkdir -p $HOME/downloads/watch
|
||||||
|
|
||||||
python /usr/share/SABnzbd/SABnzbd.py -d $SABNZBD_ARGS > /dev/null 2>&1
|
if [ ! -f $HOME/.sabnzbd/sabnzbd.conf ]; then
|
||||||
|
mkdir -p $HOME/.sabnzbd
|
||||||
|
cp /usr/lib/SABnzbd/sabnzbd.config $HOME/.sabnzbd/sabnzbd.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
python /usr/lib/SABnzbd/SABnzbd.py -d -f $HOME/.sabnzbd/sabnzbd.conf -l 0 > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
)&
|
)&
|
||||||
|
@@ -22,8 +22,12 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/$1
|
mkdir -p $INSTALL/usr/lib/$1
|
||||||
cp -PR $PKG_BUILD/* $INSTALL/usr/share/$1
|
cp -PR $PKG_BUILD/* $INSTALL/usr/lib/$1
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/config
|
mkdir -p $INSTALL/usr/config
|
||||||
cp $PKG_DIR/config/SABnzbd.conf $INSTALL/usr/config
|
cp $PKG_DIR/config/SABnzbd.conf $INSTALL/usr/config
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/config
|
||||||
|
cp $PKG_DIR/config/sabnzbd.config $INSTALL/usr/lib/$1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user