PDA

View Full Version : Auto-Extract from Downloaded Parts



pgb204
October 26th, 2005, 07:25 PM
so let's say BB just downloaded file.part1.rar and file.part2.rar
it will start up a program specified in the settings (such as winrar)
which will extract files. If the extraction doesn't produce any error messages
the parts will be deleted. Otherwise they will stay in the download folder.

It would be even better if there was a setting to start this whole process after BB finishes going through a given list. So after a session is closed and computer is idle the extraction can begin.

BinaryBoy
October 26th, 2005, 11:05 PM
Thanks. I'll consider this for a future version.

By the way, for any programmers reading this.... The OnFileDecoded() plugin function would allow you to add this feature.

Sinicity
October 27th, 2005, 05:02 PM
I second that suggestion. :) I've seen some competing products implement this feature and it's just about the only thing they do that BB doesn't.

BinaryBoy
January 8th, 2006, 11:50 AM
See the Launcher tab in the latest build (http://www.binaryboy.com/patch.php). I'd appreciate your feedback.

Are there any other variables that might be useful for the command line?

$(Path) is the full directory and filename of the downloaded file.
$(Dir) is the directory only.
$(FileName) is the filename without the directory.

Sinicity
January 8th, 2006, 01:42 PM
Awesome! I'm a little unclear on how this works yet though. The "Wait" pulldown doesn't have anything in it and didn't save when I put something in it.

I'm trying to figure out the best way to use this. For .par2 files, I don't want to launch QuickPar for every file (there could be dozens for one post). Same goes for Winrar files. Posts I'm downloading look like:

Whatever.Part1.rar
Whatever.Part2.rar
Whatever.Part3.rar

In actuality, they're all part of a one archive. I don't want to launch Winrar when each piece downloads and decodes.

Help? :)

BinaryBoy
January 8th, 2006, 02:42 PM
Awesome! I'm a little unclear on how this works yet though. The "Wait" pulldown doesn't have anything in it and didn't save when I put something in it.

The Wait pulldown doesn't do anything yet because the launcher isn't finished. It's just far enough along that it can be tested. The wait option will allow you to either launch and forget or have Binary Boy stop until the program exits. In most cases, you'll want to launch and forget such as when playing an mp3 so you can keep downloading while the song plays.


In actuality, they're all part of a one archive. I don't want to launch Winrar when each piece downloads and decodes.

Ah. Hmmmm. That slipped my mind. And that's why I release betas. :) I was hoping to keep it generic but I guess I'll have to dig into the .rar file format to test whether it's complete or not... and also add an extra option to the launch rules to test for a complete set. Maybe a "Launch on file complete / Launch on whole archive complete" option.

Is there any other info that might be useful for the command line in addition to the three items above?

Sinicity
January 8th, 2006, 02:57 PM
Ah. Hmmmm. That slipped my mind. And that's why I release betas. :) I was hoping to keep it generic but I guess I'll have to dig into the .rar file format to test whether it's complete or not... and also add an extra option to the launch rules to test for a complete set. Maybe a "Launch on file complete / Launch on whole archive complete" option.

Is there any other info that might be useful for the command line in addition to the three items above?

An option to remove the original archive/pars if testing/repair/extraction is successful? :)

BinaryBoy
January 14th, 2006, 09:34 AM
If everything goes as planned, a new build that detects complete/incomplete RARs will be be uploaded later today.

BinaryBoy
January 14th, 2006, 02:11 PM
New build available. http://www.binaryboy.com/patch.php

Sinicity
June 4th, 2006, 02:33 PM
I love this feature. Thank you for adding it. This saves me hours of unraring these by hand. I notice my .001, .002, .003 files automagically join now too. I'm in heaven. :)

I have one (hopefully) minor request. There seem to be two kinds of RAR files posted on the groups I frequent. Some that end in:

.part01.rar
.part02.rar
.part03.rar
...etc

These are handled by the launcher beautifully. But others (I assume using an older version of Winrar?) end with:

.rar
.r00
.r01
.r02
...etc

These seem to be ignored by the launcher. I was wondering if it would be possible to make this act the same as the above?

Thanks again. :)

BinaryBoy
June 4th, 2006, 06:21 PM
Yes, the files with digits at the end of the filename are an older format. Odd though. I thought it already handled the older format. I'm looking into it.

BinaryBoy
June 4th, 2006, 08:08 PM
Ok. I've looked at the code a little closer and the differently named files aren't actually a whole lot different. The problem was in one small piece of code where Binary Boy counts up the old style volume names. A fix will be uploaded either tonight or tomorrow morning.

BinaryBoy
June 5th, 2006, 05:23 AM
Build 544 has been uploaded. http://www.binaryboy.com/patch.php

Shinji
August 7th, 2006, 08:52 PM
Hello.

I just found this discussion.
I am using BB 1.96build1 on a 24/7 basis all the time on an extra PC (Win XP Sp2).

The originalposter wrote:
===
so let's say BB just downloaded file.part1.rar and file.part2.rar
it will start up a program specified in the settings (such as winrar)
which will extract files. If the extraction doesn't produce any error messages
the parts will be deleted. Otherwise they will stay in the download folder.
===

I just searched my BB Settings and I did not find setting like this. I guess I'm just to blind. Is there anywhere a description how to activate such interestion features?

Thanks for the help!

BinaryBoy
August 7th, 2006, 08:59 PM
You have to download the beta from http://www.binaryboy.com/patch.php