Search found 180 matches

by doubledrat
May 16th, 2010, 6:10 am
Forum: General Help
Topic: lost queue & cache - where is it?
Replies: 4
Views: 2783

Re: lost queue & cache - where is it?

hmm.

everything apart from the temp download folder was relative, so have been copied across.

the temp dl folder was unavailable when I started sab, would it have zapped my queue in that case?
by doubledrat
May 15th, 2010, 1:21 pm
Forum: General Help
Topic: lost queue & cache - where is it?
Replies: 4
Views: 2783

lost queue & cache - where is it?

hi

I've just had to reinstall windows.  I copied sab's ini file and the folder it was in and all my settings are there, but my queued/cached items are not.

how can I get them back?  I have everything that I had before, it just might not be in the correct place any more.

ta
by doubledrat
April 6th, 2010, 3:37 am
Forum: General Help
Topic: Rename File to NZB name
Replies: 1
Views: 1953

Re: Rename File to NZB name

I think SAB will do this for you.  Check out config/sorting
by doubledrat
April 2nd, 2010, 5:31 am
Forum: Post-Processing Scripts
Topic: Need Regex Help
Replies: 8
Views: 7923

Re: Need Regex Help

this might be better ^(.+)(20[0-9][0-9])(.+?)([A-Z]{2,})(.*)\....$ will give Formula1. 2010 .Australian.Grand.Prix. WS .PDTV.XviD-433 ^ start of string (.+) any char at least once (20[0-9][0-9]) a year (.+?) any char at least once (lazy) ([A-Z]{2,}) any uppercased word with at least 2 letters (.*) a...
by doubledrat
April 2nd, 2010, 5:03 am
Forum: Post-Processing Scripts
Topic: Need Regex Help
Replies: 8
Views: 7923

Re: Need Regex Help

well, you can do what you've asked to do with ^([\d\w]+)\.(20[0-9][0-9])\.(.*)$ which will match digits or letters, then a . then a year, then everything else but what if you have something like only.the.lonely.2009.blah.blah.blah.avi I think you need to drop looking for the . ^(.+)(20[0-9][0-9])(.+...
by doubledrat
April 2nd, 2010, 4:31 am
Forum: Feature Requests
Topic: ability to name download when adding via API
Replies: 3
Views: 6729

Re: ability to name download when adding via API

oh.  thanks.  I didn't see that in the api reference. ta.
by doubledrat
April 1st, 2010, 5:52 am
Forum: General Discussion
Topic: TVbinz invites
Replies: 4
Views: 4577

TVbinz invites

Hi everyone

anyone prepared to give me an invite to TVbinz?  Seems newzbin is a dead loss now  >:(

PM me if you're up for it

TVM
by doubledrat
April 1st, 2010, 5:44 am
Forum: Feature Requests
Topic: ability to name download when adding via API
Replies: 3
Views: 6729

ability to name download when adding via API

I know we can rename through the API, but it would be a pain to have to wait for the job to get it's details then wade through the queue looking for it.

so a &repname="blah blah"

or something similar would be brilliant

ta
by doubledrat
March 30th, 2010, 4:06 pm
Forum: Post-Processing Scripts
Topic: Need Regex Help
Replies: 8
Views: 7923

Re: Need Regex Help

you might want to make it case insensitive with

Code: Select all

regex="^(.+) - [Ss]([[:digit:]]+)[Ee]([[:digit:]]+).*$"
by doubledrat
March 1st, 2010, 6:02 pm
Forum: General Help
Topic: Need Help with Shutdown sabnzbd+ via script
Replies: 6
Views: 6856

Re: Need Help with Shutdown sabnzbd+ via script

in other words you always want sab to shutdown when done?

wouldn't it fail to start up in that case?  because you'd start it, it would say "I've got nothing to do so I'll shut down"! before you got a chance to add anything to the queue
by doubledrat
February 28th, 2010, 6:11 am
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 201880

Re: Autodownload script

quick heads up guys, for anybody creating automated scripts which hit imdb they are now actively blocking them, you can of course get around this by faking your agent string :-) thanks for the heads-up.  for the lazy amongst us ;) just what do we need to do to fake the agent string in our python co...
by doubledrat
February 22nd, 2010, 12:25 pm
Forum: Post-Processing Scripts
Topic: Script request Move content of downloaded folder one folder up
Replies: 3
Views: 3014

Re: Script request Move content of downloaded folder one folder up

probably something like

Code: Select all

mv $1/* ..
rm $1
I would leave the rm line out until you're sure the mv works

not sure if rm on a mac will remove the folder as long as it's empty.  if not, you might need to use rmdir
by doubledrat
February 14th, 2010, 4:21 am
Forum: Post-Processing Scripts
Topic: queue sorter
Replies: 2
Views: 8580

Re: queue sorter

well my items get added (mainly) through scripts, so I just call this one after adding something.  not so sure about how you'd do it if adding manually.  just run it manually I guess?
by doubledrat
February 13th, 2010, 6:47 am
Forum: Post-Processing Scripts
Topic: [Windows] Don't put downloaded files in subfolders
Replies: 21
Views: 26263

Re: [Windows] Don't put downloaded files in subfolders

scripts are not .exe

rename is whatever.cmd (or .bat)
by doubledrat
February 13th, 2010, 4:28 am
Forum: Post-Processing Scripts
Topic: queue sorter
Replies: 2
Views: 8580

queue sorter

Hi all I don't know about you, but I generally have a long queue and I don't find the 4 priorities enough to give me the granularity I want, so I wrote this bit of python to sort the queue.  IT WILL ONLY WORK ON V5 as it uses the priority. THIS IS NOT A POSTPROC SCRIPT.  I run it after I add anythin...