Package Details: sabnzbd 4.4.0-1

Git Clone URL: https://aur.archlinux.org/sabnzbd.git (read-only, click to copy)
Package Base: sabnzbd
Description: A web-interface based binary newsgrabber with NZB file support
Upstream URL: http://www.sabnzbd.org
Keywords: network usenet
Licenses: GPL
Submitter: esh
Maintainer: fryfrog
Last Packager: fryfrog
Votes: 270
Popularity: 0.95
First Submitted: 2007-11-09 16:21 (UTC)
Last Updated: 2024-12-10 17:02 (UTC)

Latest Comments

« First ‹ Previous 1 .. 30 31 32 33 34 35 36 37 38 39 40 .. 64 Next › Last »

Revelation60 commented on 2012-12-29 18:33 (UTC)

Ok guys, here's a new release with the following changes: * Reintroduced /etc/conf.d/sabnzbd. This file has been made much easier and only serves for nzb association * Cleaned up addnzb.sh * Added parameter -l0 to sabnzbd to prevent spamming the system log with info messages

Revelation60 commented on 2012-12-25 12:29 (UTC)

The conf.d file has become obsolete, barring perhaps addnzb.sh. There is nothing in the service file anymore that requires parameters.

azeotrope commented on 2012-12-25 12:11 (UTC)

Revelation60, I don't really understand why the conf.d file was gotten rid of, since you can use it in systemd. systemd is able to read shell configuration files using the EnvironmentFile variable in a systemd service file. Have a look at how the NFS servive files are set up through systemd if you're not sure. This should get rid of the problem where the service file has to be edited EVERY time. I'm guessing this would also fix the addnzb.sh problem since the conf.d file doesn't have to be removed. This seems like a much cleaner solution than scripting around the problem.

Revelation60 commented on 2012-12-24 10:26 (UTC)

I've tried the script, but unfortunately sabnzbd.ini only has read permission for the sabnzbd user. Since the addnzb.sh script is executed as the current user, it can't read the data. So in order for this to work, I have to give read permission to everyone. This file contains the usenet server login information and the sabnzbd password, so I guess people who use password protection on their sabnzbd web interface are not going to be happy about this.

Lucky commented on 2012-12-23 22:10 (UTC)

No problem Revelation60. :) SABNZBD_CONFIG = ini file, please report back if it works for you. I have backup of 0.7.6/0.7.7-1 and -2 so i don't need the old scripts, but thanks. The /opt choice is because its the simplest way, because you don't need to patch sabnzbd. With /{var,usr} you need to move/edit sabnzbd.ini and patch the source. The problem is if you update, you need backup/change/merge stuff by hand (sabnzbd.ini).

Revelation60 commented on 2012-12-23 21:09 (UTC)

Thanks, Lucky! I'll test your script tomorrow :) If you still want the old scripts for reference (maybe you don't have them anymore), I can send them to you. The choice for the /opt/ path was made by the previous mainainer, and I can't remember why this was chosen. Anyway, if you guys want a different path, I'll just change it. Merry Christmas!

Lucky commented on 2012-12-23 20:15 (UTC)

PARSE_CONFIG(){ sed -n "/^\[misc\]$/ ba; d; :a p; n; /^\[/ d; ba" < "${SABNZBD_CONFIG}" | \ grep "${1}" | awk '{print $3}' } USERNAME="$(PARSE_CONFIG "^username =")" PASSWORD="$(PARSE_CONFIG "^password =")" API_KEY="$(PARSE_CONFIG "^api_key =")" NZB_KEY="$(PARSE_CONFIG "^nzb_key =")" PROTOCOL="$([[ "$(PARSE_CONFIG "^enable_https =")" -eq "0" ]] && echo "http" || echo "https")" HOST="$(PARSE_CONFIG "^host =")" PORT="$([[ "$(PARSE_CONFIG "^enable_https =")" -eq "0" ]] && echo "$(PARSE_CONFIG "^port =")" || echo "$(PARSE_CONFIG "^https_port =")")" feel free to use this and have fun :) / merry christmas I'm working on a new sabnzbd package, with proper install path (opt to usr and var), new confd file and init scripts (i know Revelation60 removed it). So maybe this would be not an "offical" AUR pkg.