Search found 557 matches

by OneCD
April 13th, 2019, 12:53 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

Ah, that explains it. ;D

Sorry, I’m unable to assist with Docker images. Maybe someone else can suggest a fix?
by OneCD
April 13th, 2019, 12:45 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

Sorry, have to admit, I don't understand why it's working that way. I've not used your specific OS (Unraid) myself.

Is your SABnzbd running in a container or some other sandboxed environment?
by OneCD
April 13th, 2019, 12:33 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

Seems the script aborted without recording anything to file. Let's try a slight modification: #!/usr/bin/env bash #/usr/sbin/rclone sync /mnt/user/stern dropbox:misc { echo "date: $(date)" echo "PATH: $PATH" echo "EUID: $EUID" echo "which: $(which rclone)" ech...
by OneCD
April 13th, 2019, 12:19 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

OK, it seems the SAB post-processor hasn't run your script. There should be a second series of entries in that log file starting with a different datetime.

Can you please confirm you ran the script as a post-processor within SABnzbd?
by OneCD
April 12th, 2019, 12:37 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

Re: prefixing the path - that's exactly right. ;D OK, let's do some detective work. Please modify your shell-script so it looks like this (copy and paste it into your editor): #!/usr/bin/env bash #/usr/sbin/rclone sync /mnt/user/stern dropbox:misc { echo "date: $(date)" echo "PATH: $P...
by OneCD
April 11th, 2019, 12:47 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

You'll need to set the execute bit again for your script. It looks like it's got a new filename. Also + enables, - disables: chmod +x /mnt/cache/apps/binhex-sabnzbdvpn/scripts/dropbox_sync.sh You might also investigate including the complete path to your 'rclone' binary. To find this: which rclone T...
by OneCD
April 11th, 2019, 12:19 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

May I suggest a change to your script?

Edit it so the first line says this:

Code: Select all

#!/usr/bin/env bash
Then try manually running your script again.
by OneCD
April 10th, 2019, 11:42 pm
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

Permissions look good. The error you’re seeing when attempting to run the shell-script is because it was written with a text-editor that didn't use the correct Unix line-ending character (LF). Instead, it’s using the standard DOS characters (CR+LF). You can either: edit in Windows but with a Unix co...
by OneCD
April 10th, 2019, 12:35 am
Forum: General Help
Topic: Failed making...all nzbs
Replies: 3
Views: 1901

Re: Failed making...all nzbs

Temujin wrote: April 9th, 2019, 7:31 pm douchebaggery
I just learned a new word. ;D
by OneCD
April 10th, 2019, 12:30 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

Yes, I opened a terminal and typed: chmod +x /mnt/cache/apps/binhex-sabnzbdvpn/scripts/db_sync.sh After typing it, I don’t get a response; no error or nothing saying it worked. Not sure if that is normal behavior. Yes, that's the correct behaviour. Linux shells generally work on the idea that if...
by OneCD
April 9th, 2019, 12:01 am
Forum: Post-Processing Scripts
Topic: Should be simple?
Replies: 22
Views: 13195

Re: Should be simple?

Is your script marked as executable? Please post the existing permissions.

When you run it at the CLI, what exactly are you typing?
by OneCD
April 5th, 2019, 2:37 pm
Forum: Post-Processing Scripts
Topic: Error with ISO unpack script
Replies: 6
Views: 4345

Re: Error with ISO unpack script

I've just had a look at the p7zip IPKG installed via Entware. It's identical to the version installed with QTS except the Entware version is executed with '7za'.

Sorry, I'm out of ideas. :(
by OneCD
April 5th, 2019, 1:15 am
Forum: Post-Processing Scripts
Topic: Error with ISO unpack script
Replies: 6
Views: 4345

Re: Error with ISO unpack script

@kallek, you might also check which 7zips are available. It seems QTS Busybox contains one version, but you should also have an Entware version installed. The order they are found depends on your $PATH. The 'default' is the first one found.

Code: Select all

type -a 7z
Which one is shown first?
by OneCD
April 1st, 2019, 2:23 pm
Forum: General Help
Topic: Script to change audio?
Replies: 7
Views: 2342

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: 2498

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. ;)