Alt.Binz forum

New Alt.Binz versions => Bugs => Topic started by: davidq666 on February 26, 2009, 12:32:11 pm

Title: Execute Comand doesn't work in 0.28.4
Post by: davidq666 on February 26, 2009, 12:32:11 pm
Since i started playing around with batch-files i noticed, that the execute comand doesn't seem to work in alt.binz v. 0.28.4. I double checked by installing a fresh copy which show the same behavoir as the previously installed copy:  after the completed download the execute comand just didn't start the batch file. i tried the same thing with version 0.28.3 where it worked just fine.
Title: Re: Execute Comand doesn't work in 0.28.4
Post by: cr4zyfr4g on February 27, 2009, 02:05:53 pm
I can confirm that
Title: Re: Execute Comand doesn't work in 0.28.4
Post by: Rdl on March 09, 2009, 09:27:23 pm
Hm, works here. However I intoduced some changes now:

It will be executed even if there is nothing to unrar.
$d - download dir
$u - unrar dir
$col - collection name

Format:

"path_to_exe_bat" $d $u $col
"path_to_exe_bat" "$d"
"path_to_exe_bat" $col
"path_to_exe_bat" -unrar "$u"

Title: Re: Execute Comand doesn't work in 0.28.4
Post by: inhere on March 26, 2009, 10:03:53 pm
"path_to_exe_bat" $d $u $col
"path_to_exe_bat" "$d"
"path_to_exe_bat" $col
"path_to_exe_bat" -unrar "$u"

does this mean the only valid options are those above?  so "path_to_exe_bat" "$d" "$col" would not be valid?
Title: Re: Execute Comand doesn't work in 0.28.4
Post by: cr4zyfr4g on March 26, 2009, 10:08:40 pm
those are just examples

you can use the $ identifiers mixed like you want
Title: Re: Execute Comand doesn't work in 0.28.4
Post by: Rdl on March 26, 2009, 10:11:02 pm
"path_to_exe_bat" $d $u $col
"path_to_exe_bat" "$d"
"path_to_exe_bat" $col
"path_to_exe_bat" -unrar "$u"

does this mean the only valid options are those above?  so "path_to_exe_bat" "$d" "$col" would not be valid?
It's valid
Title: Re: Execute Comand doesn't work in 0.28.4
Post by: inhere on March 26, 2009, 10:12:26 pm
the command isn't kicking off for me at all then...
Title: Re: Execute Comand doesn't work in 0.28.4
Post by: Rdl on March 26, 2009, 10:16:09 pm
the command isn't kicking off for me at all then...
The command will be executed on complete par2 set if unrar was not set or after unraring of the all rar sets (set) inside par2 collection
Title: Re: Execute Comand doesn't work in 0.28.4
Post by: inhere on March 26, 2009, 10:24:29 pm
does it not execute if if the nzb has been imported before?  I was testing by downloading and wanted to downlod something small, but TV so I opened an nzb from the rss feed several times, and seemd to not work after updating to 0.28.5, but restarted and opened a different nzb and seems ok now.  Thanks.

what goes into $col?  The nzb name?  It seems to get fired multiple times when I opened a nzb with rar (and par) sets in it, will $col contain something different for each rar (par) set?  Or will it contain the nzb name only?
Title: Re: Execute Comand doesn't work in 0.28.4
Post by: Rdl on March 26, 2009, 10:53:30 pm
does it not execute if if the nzb has been imported before?  I was testing by downloading and wanted to downlod something small, but TV so I opened an nzb from the rss feed several times, and seemd to not work after updating to 0.28.5, but restarted and opened a different nzb and seems ok now.  Thanks.

what goes into $col?  The nzb name?  It seems to get fired multiple times when I opened a nzb with rar (and par) sets in it, will $col contain something different for each rar (par) set?  Or will it contain the nzb name only?
Collection name. It's ussualy NZB name if not renamed. Collection can have multiple par2 sets. One collection can have only one execute command which will be executed on every finished par2 set.