F2 nzbget

From FON Wiki Beta

Jump to: navigation, search
FON will not provide any help to follow these guidelines.
This documentation was provided by the community. It is distributed
as-is with no warranty. Follow these instruction at your own risk.

Contents

Description

  • Alternative newsgroup support : You can also look at NNTPGRAB here

Source

precondition

installation

#!/bin/sh
NZBGET=/tmp/mounts/Disc-A1/nzbget
PATH=$NZBGET/usr/sbin:$PATH
export LD_LIBRARY_PATH=$NZBGET/lib:$NZBGET/usr/lib:$LD_LIBRARY_PATH
case "$1" in
   start)
       set backup=$HOME
       export HOME=$NZBGET
       $NZBGET/usr/sbin/nzbget -s
       export HOME=$backup
       ;;
   stop)
       killall nzbget
       ;;
   debug)
       set backup=$HOME
       export HOME=$NZBGET
       $NZBGET/usr/sbin/nzbget -D
       export HOME=$backup
       ;;
   *)
       echo "Usage: $0 (start|stop)"
       exit 1
       ;;
esac
    • make this script executable
chmod +x nzbget
    • vi nzbget.conf
$MAINDIR=/tmp/mounts/Disc_A1/nzbget
DestDir=${MAINDIR}/download
NzbDir=${MAINDIR}/nzb
QueueDir=${MAINDIR}/queue
TempDir=${MAINDIR}/tmp
LockFile=/tmp/nzbget.lock
LogFile=${MAINDIR}/nzbget.log
Server1.Level=0
Server1.Host=news.skynet.be
Server1.Port=119
Server1.Username=anonymous
Server1.Password=anonymous
Server1.JoinGroup=yes
Server1.Encryption=no
Server1.Connections=4
DaemonUserName=root
UMask=0000
AppendCategoryDir=yes
AppendNzbDir=yes
NzbDirInterval=5
NzbDirFileAge=20
MergeNzb=yes
NzbProcess=
DupeCheck=yes
SaveQueue=yes
ReloadQueue=yes
ReloadPostQueue=yes
ContinuePartial=yes
RenameBroken=no
Decode=yes
DirectWrite=no
CrcCheck=yes
Retries=4
RetryInterval=10
RetryOnCrcError=no
ConnectionTimeout=60
TerminateTimeout=600
ThreadLimit=100
DownloadRate=0
WriteBufferSize=0
DiskSpace=250
DeleteCleanupDisk=yes
CreateLog=yes
ResetLog=no
ErrorTarget=both
WarningTarget=both
InfoTarget=both
DetailTarget=both
DebugTarget=none
ProcessLogKind=detail
LogBufferSize=1000
CreateBrokenLog=yes
DumpCore=yes
OutputMode=loggable
CursesNzbName=yes
CursesGroup=no
CursesTime=no
UpdateInterval=200
ServerIp=127.0.0.1
ServerPort=6789
ServerPassword=tegbzn6789
LoadPars=all
ParCheck=no
ParRepair=no
StrictParName=yes
ParTimeLimit=0
ParPauseQueue=yes
ParCleanupQueue=yes
NzbCleanupDisk=yes
PostProcess=/ffp/etc/unpak.sh
AllowReProcess=no
PostPauseQueue=no
    • The idea is to create also a secondary server credentials; one to a paid server to cope with the "missing" bits on your ISP's newsserver. It needs a user/password and will probably using encryption on a non default port.
Server2.Level=0
Server2.Host=news.eweka.nl
Server2.Port=119
Server2.Username=anonymous
Server2.Password=anonymous
Server2.JoinGroup=yes
Server2.Encryption=no
Server2.Connections=4 
    • create the necessary subfolders
mkdir queue
mkdir download
mkdir nzb
mkdir tmp
    • Now start up nzbget :
./nzbget start

Status

root@Fonera:~/run/mountd/sda1/nzbget# ./nzbget start
FATAL ERROR: Parsing NZB-document /tmp/run/mountd/sda1/nzbget/backup=/root failed!!
  • ... an error ...

Manual

nzbget -s : console modus

NZBGetWeb

tbd


Contributions

Personal tools
FON wiki edition