Search found 349 matches

by OneCD
April 1st, 2019, 2:23 pm
Forum: General Help
Topic: Script to change audio?
Replies: 7
Views: 764

Re: Script to change audio?

MartyIU13 wrote:
March 27th, 2019, 10:42 pm
I currently open up a cmd window and type:
Are you using Windows?
by OneCD
March 31st, 2019, 12:45 pm
Forum: General Help
Topic: category translation when adding via API?
Replies: 5
Views: 800

Re: category translation when adding via API?

Update: the NZBHydra2 dev has just added a new option to map NZB categories to NZBHydra2 categories. So, there's now another way to do this. ;)
by OneCD
March 30th, 2019, 9:02 pm
Forum: General Help
Topic: category translation when adding via API?
Replies: 5
Views: 800

Re: category translation when adding via API?

Decided to manage this with an inelegant pre-queue script: ;D #!/usr/bin/env bash [[ -z $3 ]] && exit 0 echo "1" # 0 = refuse, 1 = accept echo "$1" # name of NZB echo "$2" # post-processing flags if [[ ${3,,} =~ ^movies.* ]]; then echo "movies" elif [[ ${3,,} =~ ^tv.* ]]; then echo "tv" else echo "$...
by OneCD
March 28th, 2019, 1:07 pm
Forum: General Help
Topic: category translation when adding via API?
Replies: 5
Views: 800

Re: category translation when adding via API?

The API-call-category overrules any auto-detection and should match any of the existing categories to have it's option's applied. The API-call-category is not passed trough the Indexer-Tags matching. Ah, I see. No problem. So you should pass "movies" to the API-call, or let SABnzbd auto-match it ba...
by OneCD
March 27th, 2019, 6:11 pm
Forum: General Help
Topic: category translation when adding via API?
Replies: 5
Views: 800

category translation when adding via API?

Hello. :) SABnzbd 2.3.8 from Git source on Debian 9.8. I might be missing something really simple here, but it seems when NZBHydra2 sends an NZB to SABnzbd, it's not being assigned to the correct category within SABnzbd. My config is: a single SABnzbd category called "movies", with the "Indexer Cate...
by OneCD
March 26th, 2019, 1:50 pm
Forum: Bug Reports
Topic: Incorrect server priority help text
Replies: 2
Views: 505

Re: Incorrect server priority help text

Ah, no worries. Thanks @safihre. :)
by OneCD
March 25th, 2019, 7:47 pm
Forum: Bug Reports
Topic: Incorrect server priority help text
Replies: 2
Views: 505

Incorrect server priority help text

Hello. :)

Using SABnzbd 2.3.8 from Git source.

The helpful text to the right of the 'priority' field indicates 100 as the lowest priority, but 99 seems to be the limit. The SABnzbd wiki also says 99.

Image

Thank you.
by OneCD
March 24th, 2019, 2:04 pm
Forum: Feature Requests
Topic: separate permissions for files and folders?
Replies: 3
Views: 1393

Re: separate permissions for files and folders?

Thanks @sander, I completely forgot about umask. :-[

I withdraw my request. ;D
by OneCD
March 22nd, 2019, 6:45 pm
Forum: Feature Requests
Topic: separate permissions for files and folders?
Replies: 3
Views: 1393

separate permissions for files and folders?

Hello. :) Using SABnzbd 2.3.8 from Git source on Debian 9.8 and viewed with Firefox 65.0.1 The completed download permissions presently allow only one value: https://i.imgur.com/8PDlvri.png The problem is: SABnzbd is not creating files with the provided value. This value is used when creating direct...
by OneCD
March 21st, 2019, 1:43 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 2115

Re: Trouble using scripts on Qnap NAS

Nicely done. :D
by OneCD
March 20th, 2019, 2:02 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 2115

Re: Trouble using scripts on Qnap NAS

Yes, I used the Sherpa script. Excellent. If I ssh into the nas and run the script with bash shutdown.sh it works. As @sander mentioned above, you don't need to type: bash shutdown.sh ... if the script is executable and has a hashbang line. Assuming you’re already in the directory containing the sc...
by OneCD
March 19th, 2019, 2:21 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 2115

Re: Trouble using scripts on Qnap NAS

I have disabled the admin user in QTS... That's not a good idea. Your NAS is no better secured and it creates other issues, particularly when you’re trying to fix things. ;) How did you install SABnzbd? Sherpa script? Is there a way of running Sabnzbd as a less privileged user? For now, I'm only ab...
by OneCD
March 18th, 2019, 5:01 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 2115

Re: Trouble using scripts on Qnap NAS

sander wrote:
March 18th, 2019, 3:50 pm
Maybe SABnzbd is running as a user with other, less rights? Maybe n o rights to run the script and/or to run /sbin/poweroff ?
In QTS, almost all apps run with $EUID = 0. It's not ideal. :(
by OneCD
March 18th, 2019, 4:51 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 2115

Re: Trouble using scripts on Qnap NAS

I created a new script called [testoff.sh] and placed it into my scripts directory. This is on a TS-559 Pro+ running QTS 4.2.6 #20181227. This script contains: #!/usr/bin/env bash poweroff Made it executable: chmod +x testoff.sh Then selected this script to be run when queue completes. Works fine. W...
by OneCD
March 18th, 2019, 2:17 pm
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 2115

Re: Trouble using scripts on Qnap NAS

Okiedoke, just had a look at the SAB code. These snippets are from [sabnzbd/powersup.py]: try: import dbus HAVE_DBUS = True except ImportError: HAVE_DBUS = False def linux_shutdown(): """ Make Linux system shutdown, never returns """ if not HAVE_DBUS: os._exit(0) QTS doesn't use DBUS, so SAB is unab...