Search found 85 matches

by Mar2zz
January 4th, 2012, 1:29 pm
Forum: Post-Processing Scripts
Topic: [Linux] Ebooks; fetch metadata, covers and add to library
Replies: 8
Views: 11580

Re: [Linux] Ebooks; fetch metadata, covers and add to librar

Well, its executable bit is set correct, and you see the other scripts I assume, so I dunno why sabnzbd misses the script. Why do you save your scripts inside the sickbeardfolder? copy only the scripts you run in sabnzbd to another folder on its own and try? worth a try: sudo service sabnzbdplus res...
by Mar2zz
January 4th, 2012, 9:05 am
Forum: Post-Processing Scripts
Topic: [Linux] Ebooks; fetch metadata, covers and add to library
Replies: 8
Views: 11580

Re: [Linux] Ebooks; fetch metadata, covers and add to librar

Is it executable for the user that runs Sabnzbd?
Could you post the output of ls -l /path/to/scriptsfolder?
by Mar2zz
January 3rd, 2012, 3:05 pm
Forum: Post-Processing Scripts
Topic: help with script
Replies: 1
Views: 1439

Re: help with script

On linux yes. Win, perhaps.

linux:
mv "$1" "$1"-$(date)
by Mar2zz
December 24th, 2011, 2:28 pm
Forum: Post-Processing Scripts
Topic: need help with simple script...
Replies: 5
Views: 4675

Re: need help with simple script...

executable=sudo chmod +x moviemove.sh And it should be mv "$1" "/mnt/disk1/Media/Movies/$1" or else it will error. But you should not use a script!! You can setup sabnzbd to move movies inside your moviefolders. Go to settings, categorys and set destination at category movies. No...
by Mar2zz
December 11th, 2011, 1:55 am
Forum: Post-Processing Scripts
Topic: Need help please...
Replies: 4
Views: 2630

Re: Need help please...

Thats always best practice. $1 also.
by Mar2zz
December 10th, 2011, 5:59 pm
Forum: Post-Processing Scripts
Topic: Need help please...
Replies: 4
Views: 2630

Re: Need help please...

Your best option is find (also because it's recursive)
inputfile=`find $1 -name "*.mkv" -type f`
"python /directory/to/script.py -i $inputfile -o $1/somename.mp4"
by Mar2zz
December 10th, 2011, 1:31 pm
Forum: Feature Requests
Topic: SABnzbd and PID File under Linux
Replies: 24
Views: 20115

Re: SABnzbd and PID File under Linux

Yeah, I see, multiple ports in sabnzbd.ini. The order options isn't always the same in that? Still doable, but to much for inside an initscript indeed.
by Mar2zz
December 10th, 2011, 12:18 pm
Forum: Feature Requests
Topic: SABnzbd and PID File under Linux
Replies: 24
Views: 20115

Re: SABnzbd and PID File under Linux

It's easy to write a script with pgrep -f /path/to/config.ini. That results in a processid, and if --pid was used in the deamonopts you would also know the pidfile. oh wait , sabnzbd only uses path as option for pid? not pidfile itself? That needs another approach in an initscript. Now I understand ...
by Mar2zz
December 10th, 2011, 6:32 am
Forum: Feature Requests
Topic: SABnzbd and PID File under Linux
Replies: 24
Views: 20115

Re: SABnzbd and PID File under Linux

If this is still relevant to you: You can start sabnzbd with the --config-file option so it will use a defined config.ini. Running multiple instances is easy that way, with two init-scripts. daemonopts for instance 1: -d --config-file=/path/config.ini --pid=/var/run/sabnzbd/sabnzbd1.pid daemonopts f...
by Mar2zz
December 9th, 2011, 12:47 pm
Forum: Post-Processing Scripts
Topic: I've written a MOVE TO MUSIC LIBRARY script..
Replies: 22
Views: 23834

Re: I've written a MOVE TO MUSIC LIBRARY script..

Hope you learned a lot from it, I mostly learn most when trying (and failing a lot)...
by Mar2zz
December 9th, 2011, 10:54 am
Forum: Post-Processing Scripts
Topic: I've written a MOVE TO MUSIC LIBRARY script..
Replies: 22
Views: 23834

Re: I've written a MOVE TO MUSIC LIBRARY script..

lol I was totally unaware this was about arename, had to reread page 1 :)

I am using Beets for some time now and like it a lot. More info: http://beets.radbox.org/
by Mar2zz
December 9th, 2011, 1:31 am
Forum: Post-Processing Scripts
Topic: Script to change date to current?
Replies: 6
Views: 5634

Re: Script to change date to current?

xbmc has differnt types of sorting. You should sort on filename in ascending order.
by Mar2zz
December 9th, 2011, 1:28 am
Forum: Post-Processing Scripts
Topic: I've written a MOVE TO MUSIC LIBRARY script..
Replies: 22
Views: 23834

Re: I've written a MOVE TO MUSIC LIBRARY script..

it needs quotes. Think you forgot them somewhere in your script. Post your scriptcontent if you can't fix it yourself.
by Mar2zz
December 7th, 2011, 1:33 pm
Forum: Post-Processing Scripts
Topic: [BASH] How to create your own postprocessingscript
Replies: 30
Views: 82783

Re: [BASH] How to create your own postprocessingscript

On unix it's always best practice to quote paths, or else your shell will read until the first space or special character, cuts of the variable right there and takes that as input.

Code: Select all

extract-xiso -xsd "$1" "$1/*.iso"
by Mar2zz
November 24th, 2011, 2:36 pm
Forum: Post-Processing Scripts
Topic: [Linux] Ebooks; fetch metadata, covers and add to library
Replies: 8
Views: 11580

[Linux] Ebooks; fetch metadata, covers and add to library

I wrote a script that processes ebooks. It tries to find metadata en covers for them and imports them into a Calibre database. This works great with the optional calibre-server. If sabnzbd downloads ebooks and the script has processed them they are instantly shown online if you set up a library with...