Search found 85 matches
- November 24th, 2011, 1:27 am
- Forum: Post-Processing Scripts
- Topic: [BASH] How to create your own postprocessingscript
- Replies: 30
- Views: 82883
Re: [BASH] How to create your own postprocessingscript
I guess you allready know, but sabnzbd saves to category-folder first, then it will run your script.
- November 24th, 2011, 1:25 am
- Forum: Post-Processing Scripts
- Topic: New post processing script to send tweets.
- Replies: 6
- Views: 7895
Re: New post processing script to send tweets.
Is this working? In the script above I see you have several sabnzbdpassed variables inside a function, but you didn't tell the script to store these variables, thus inside a function those will be empty... You should save it first as jobstatus=$7 or something like that, and then use $jobstatus insid...
- November 24th, 2011, 1:15 am
- Forum: Post-Processing Scripts
- Topic: SABnzbd, SickBeard, CouchPotato to Dropbox Backup script
- Replies: 2
- Views: 8283
Re: SABnzbd, SickBeard, CouchPotato to Dropbox Backup script
Good idea. You do not backup everything. For example, in case you want couchpotato to save pictures also you should save more files (and subfolders): These are files/folders created by using those apps:, recommended to backup them all. Couchpotato: cache config.ini data.db logs Sickbeard: cache cach...
- November 18th, 2011, 12:54 pm
- Forum: Post-Processing Scripts
- Topic: Save completed files in windows share
- Replies: 2
- Views: 2128
Re: Save completed files in windows share
wrong permissions. they have locks on them. sab set rights to rwx for all in config, folders.
- November 16th, 2011, 6:25 am
- Forum: Post-Processing Scripts
- Topic: Parse Informations of the RSS Feed into the Post-Processing
- Replies: 9
- Views: 6026
Re: Parse Informations of the RSS Feed into the Post-Process
if grep $2 rss.xml; then etc
only these
grep '<description>' rss.xml | sed 's/<*escription>//g'
grep '<title>' rss.xml | sed's/<*itle>//g'
grep has more function if multiple title/descriptions are found.
only these
grep '<description>' rss.xml | sed 's/<*escription>//g'
grep '<title>' rss.xml | sed's/<*itle>//g'
grep has more function if multiple title/descriptions are found.
- November 16th, 2011, 12:24 am
- Forum: Post-Processing Scripts
- Topic: Sick-beard script stopped working.
- Replies: 1
- Views: 2886
Re: Sick-beard script stopped working.
settings changed maybe? username/password? Those need to be in autoProcessTV.cfg too.
- November 12th, 2011, 5:21 am
- Forum: Post-Processing Scripts
- Topic: Post Processing on FreeNAS
- Replies: 7
- Views: 4280
Re: Post Processing on FreeNAS
Maybe a problem with line-endings? Are you writing those scripts on a windows/mac perhaps?
- November 2nd, 2011, 5:51 pm
- Forum: Post-Processing Scripts
- Topic: How to pass "sort string" to xbmc?
- Replies: 6
- Views: 4027
Re: How to pass "sort string" to xbmc?
Depends on when sab renames. Does it before or after postprocessing? (i don't use that option, so I don'tknow). If it does after postprocessing you could use dirname $1 or ls $1 or something to obtain info about folders or files.
- October 17th, 2011, 3:15 pm
- Forum: Post-Processing Scripts
- Topic: How to pass "sort string" to xbmc?
- Replies: 6
- Views: 4027
Re: How to pass "sort string" to xbmc?
Here is a script that notifies xbmc and updates library:
http://dl.dropbox.com/u/18712538/Sabnzb ... library.sh
http://dl.dropbox.com/u/18712538/Sabnzb ... library.sh
- October 12th, 2011, 10:06 am
- Forum: Post-Processing Scripts
- Topic: [Linux] need help for moving rar to destination.
- Replies: 1
- Views: 1403
Re: [Linux] need help for moving rar to destination.
Code: Select all
find "$1" -name "*.r??" -type f -exec mv -t /destination/path {} \;
Code: Select all
find "$1" -name "*.r??" -type f -exec mv -t .. {} \;
- September 29th, 2011, 2:52 am
- Forum: Post-Processing Scripts
- Topic: Force library refresh of DLNA server (Serviio)
- Replies: 5
- Views: 6896
Re: Force library refresh of DLNA server (Serviio)
Can you see what it returns? (run it in terminal (python '/path to script' to see what happens). Post your output and it can be fixed.
- September 24th, 2011, 1:04 pm
- Forum: Post-Processing Scripts
- Topic: [BASH] Pre-processing script (or queue-filter scripts)
- Replies: 22
- Views: 32560
Re: [BASH] Pre-processing script (or queue-filter scripts)
Prequeue prowl (notify iOS when a nzb is snatched): ###################### #### PROWL NOTIFY #### ###################### ### If you want to be notified on snatched downloads with Prowl, please specify your prowl credentials. nzb=$1 ### Priority options # Very Low -2 # Moderate -1 # Normal 0 # High 1...
- September 24th, 2011, 12:15 pm
- Forum: Post-Processing Scripts
- Topic: Notifo notification at completed download
- Replies: 5
- Views: 4875
Re: Notifo notification at completed download
I made a prowl in bash. Hope it works, I don't know how to test it: #!/bin/sh # Prowl sabnzbd-script by Mar2zz v0.1 # There is no loggin at all to make this script compatible with Sabnzbd's pre-queue-user scripts, but it can be used as postprocessor to. # http://wiki.sabnzbd.org/user-pre-queue-scrip...
- September 23rd, 2011, 3:59 pm
- Forum: Post-Processing Scripts
- Topic: [BASH] Pre-processing script (or queue-filter scripts)
- Replies: 22
- Views: 32560
Re: [BASH] Pre-processing script (or queue-filter scripts)
You are welcome :) The easiest way to debug is to fire off the script in a terminal with fake variables. Like this: ./path/to/script 'Inception (2011)' '' 'movies' '' '-100' '1710099138' 'alt.binaries.boneless' '' '' '' '' The output tell you what is wrong or how the variables are changed. I did a c...
- September 23rd, 2011, 10:22 am
- Forum: Post-Processing Scripts
- Topic: [BASH] Pre-processing script (or queue-filter scripts)
- Replies: 22
- Views: 32560
Re: [BASH] Pre-processing script (or queue-filter scripts)
Ok, I tested in my own file and this works for me: if [ "$6" -gt "100" ] then priority="-2" fi ### return things to sab (changed or unchanged) echo 1 # 0=Refuse, 1=Accept echo $nzb # Name of the NZB (no path, no ".nzb") echo $2 # PP (0, 1, 2 or 3) echo $3 # Ca...