Author Topic: Alt.binz Scripts - The Code!  (Read 35938 times)

Offline Rdl

  • Administrator
  • *****
  • Posts: 4043
Re: Alt.binz Scripts - The Code!
« Reply #30 on: October 27, 2015, 11:11:13 PM »
You need to dump setting unrar dirs via rss filters and just use categories. Then you'll ask yourself why can't each category get custom command line. Then you'll maybe make request for it and maybe it gets implemented :)

Offline Rdl

  • Administrator
  • *****
  • Posts: 4043
Re: Alt.binz Scripts - The Code!
« Reply #31 on: October 27, 2015, 11:20:39 PM »
But for now, press '?' icon above filters list and see what else can be overridden and maybe you'll get idea :)

Offline Rdl

  • Administrator
  • *****
  • Posts: 4043
Re: Alt.binz Scripts - The Code!
« Reply #32 on: October 27, 2015, 11:46:57 PM »
if I do that, where do I process the script? since RSS unrar_directory superseeds general ALTBINZ option?!  :o :o
You can use %NZBSUBJECT in both download and unrar dir!

Code: [Select]
Specific.Show* | A | | c:\unrar\%NZBSUBJECT | "c:\altbinz\process_script_for_specific_show.bat" "$d" "$u" "$col"

Offline domdom

  • Contributor
  • ***
  • Posts: 110
Re: Alt.binz Scripts - The Code!
« Reply #33 on: October 27, 2015, 11:56:05 PM »
Thanks a ton, Altbinz is even more powerful than I thought! thanks for sharing and good night for now (here in Paris)

Offline domdom

  • Contributor
  • ***
  • Posts: 110
Re: Alt.binz Scripts - The Code!
« Reply #34 on: October 29, 2015, 09:14:53 PM »
You need to dump setting unrar dirs via rss filters and just use categories. Then you'll ask yourself why can't each category get custom command line. Then you'll maybe make request for it and maybe it gets implemented :)
Its very true, and I must say, having movie category going into a specific folder, or specific shows getting their own unrar directory could be a good use of it.
I wont stop you  8) 8) 8) 8) 8) ha ha

Offline dh2

  • Contributor
  • ***
  • Posts: 34
Re: Alt.binz Scripts - The Code!
« Reply #35 on: January 26, 2017, 05:17:07 PM »

I've look through the posts in this subject & have not been able to figure out exactly what to do, so would appreciate if someone who understands this scripting could give me some advice.

I'd like to automatically copy the .nzb file (not located in the altbins\nzb folder) for each collection to the extract folder ( on a seperate drive) after extraction.

I understand that I would have to create a bat file with the commands in it and place a pointer to the bat file in the "default execute command" window.

What I'm having difficuties with is knowing which  variables that I would have to use in the bat file.
I need the variable for the nzb file for the colletion & variable for the extract folder that the nzb file should be copied to.

Any help would be appreciated.

Offline Derigable

  • Contributor
  • ***
  • Posts: 39
Re: Alt.binz Scripts - The Code!
« Reply #36 on: March 13, 2019, 07:27:13 PM »
OK.... so ... I have a simple batch file to remove the word obfuscated from the file name....
I have tested it and it is running correctly when run from within the directory that the file is in <unrared to>.
But I can't get it to run using the NZB2 default execute or manual commands for the individual downloads in categories.
My understanding is that the command "d:\remove.bat" "$u" should run the comand on the files in the unrar directory, but it doesn't.
The batch files runs, but not in the directory with the files <unrar directory>
I have tried various combinations of " " to no effect. I have tried various combinations of $d $u $col again to no effect.
Sometimes when it runs it will run in the directory where the batchfile is , or sometimes it will run in the altbinz\lang directory<?>.
obviously I am missing something in my attempts to intigrate the command into the altbinz program.
so my question is...... what am I missing?
How do i get the altbinz program to run the batch file on the correct files in the actual unrar directory assigned to those files?
If you need any more info please let me know.
derrigable