Page 2 of 6
Re: Need setup help to auto-extract torrent files
Posted: Tue Apr 12, 2016 4:49 pm
by Galana
[quote="tekko"]
I haven't used the watched folder much. If you think something isn't working as it should, be sure to write down the steps to reproduce and report it as a bug.

[/quote]
Well... It doesn't appear that it was a permanent solution, as twice this morning (out of two), it reverted to dumping the files into R:\ (main)
Re: Need setup help to auto-extract torrent files
Posted: Tue Apr 12, 2016 6:31 pm
by ciaobaby
Unless you set a 'watch' folder to download to the same location (check box "Download Here") it will be downloaded to the default location.
Re: Need setup help to auto-extract torrent files
Posted: Tue Apr 12, 2016 7:54 pm
by Galana
[quote="ciaobaby"]
Unless you set a 'watch' folder to download to the same location (check box "Download Here") it will be downloaded to the default location.
[/quote]
That's what I want (V:\Completed is set as the default as per my last screenshot, and it's also set as Save Files To)... But it's still dumping into R.
Now, when I did it (successfully) yesterday, a dialog box came up wanting to verify the save to V:\Completed. I said Yes, and checked Don't Ask Again. Obviously by saying that, it thinks I want to go back to R:\ (main) on a permanent basis. I gotta try some different combinations like taking out the Watch folders completely, and/or only running with V:\Completed in it - just to see what happens. Will advise as discoveries made.
Or the next version could just have "Save Files Location" override
everything else in the config
-----------------------------------------------
- Ok, I took R:\ out of the Watch list completely, leaving V:\Completed in as Default, and the only record in that field - Means having to double-click the .torrent file, but everything after that went swimmingly... So that seems like best case scenario after...
- putting R:\ back in, 2nd in the "priority" list, set for Watch (not Default)... Loads like it should... But once more, for whatever reason, that setting is overriding everything else that tells it to do something different - even when that should have the higher priority.
So that's where we're at. The .torrent can auto-load
-or- the finished files can end up where they belong - but not both.
But I've discovered another bug(ish)... Since the .torrent wasn't auto-loaded, it copies to correct location after completion, but doesn't delete the original (as it did when it was auto-loading). I suppose technically this is correct as the function is "Copy .torrent files for finished downloads", but surely an option can be added "delete original .torrent after successful copy"? As it stands, I have two should-be-unnecessary interactions with the .torrent file (adding it, and deleting it). Certainly not the end of the world, but still an annoyance.
Re: Need setup help to auto-extract torrent files
Posted: Wed Apr 13, 2016 12:20 pm
by ciaobaby
Or the next version could just have "Save Files Location" override everything else in the config
Provided that location is permanently connected/mapped/mounted it does.
Just be aware that the "Add new Torrent" dialogue has an option to change that location to whatever you have currently selected with the "[ ] Set as default" check box.
Re: Need setup help to auto-extract torrent files
Posted: Wed Apr 13, 2016 3:23 pm
by Galana
ciaobaby wrote:
Or the next version could just have "Save Files Location" override everything else in the config
Provided that location is permanently connected/mapped/mounted it does.
Just be aware that the "Add new Torrent" dialogue has an option to change that location to whatever you have currently selected with the "[ ] Set as default" check box.
Both locations are definitely permanent maps... Although I do acknowledge that there aren't likely many of us downloading to a RAMdrive and completion-moving to a NAS, running two different BT clients to do it, with an auto-extract thrown into the middle
And I did get that dialog box. I clicked on Yes (to V:\completed) and [X] Don't ask again. Maybe if I hadn't checked off the Don't Ask, then it would have been fine... Just adds a different step... Maybe I'll play with it in the future and see what happens.
Thanks for all the help gang, and hopefully troubleshooting here will help improve the product in the future!
Re: Need setup help to auto-extract torrent files
Posted: Sat Apr 16, 2016 6:10 am
by Galana
I attempted this on a very similar system... Same settings, RAMdisk, NAS, etc. Only difference is that I would be using QBT start to finish as the built-in filesharing software on that NAS is junk (mine converts to Transmission when it hits the NAS) - so it's a marginally simpler setup... And identical results to my system. The files copy to the RAMdisk when it is listed in the Watch folder, regardless of the order of entries in that list, and ignoring the setting of the NAS (V:\) as the Default.
Re: Need setup help to auto-extract torrent files
Posted: Sat May 21, 2016 10:49 pm
by Galana
Ok, things have been going pretty well, no hiccups... But as technology has advanced, it has created a new issue. With x265 becoming more viable, I'm downloading more titles of that type. However, they are all single files, and not RARs. Therefore, I need to add a second condition after the RAR (which would do nothing if there were no files to extract) to COPY with the arguments of "%F/*.mkv" "R:/". So how do I string multiple commands together (Google has not been particularly helpful in this), and what is the best function/command for Copy (and yes, I understand it could very well simply be "COPY", but that command wouldn't work in Vuze when I tried something similar a while back, so I will only admit to being a partial idiot, not a complete one)?
Here's the base I'm working with:
"R:/TorTemp/WinRAR/WinRAR.exe" x -ibck -inul "%F/*.r*" "R:/"
Thanks again!
Re: Need setup help to auto-extract torrent files
Posted: Sun May 22, 2016 10:08 am
by tekko
probably this, but untested...
execute upon torrent completion:
test.bat "%F"
inside test.bat
if exist "%~1\*.r*" ("R:\TorTemp\WinRAR\WinRAR.exe" x -ibck -inul "%~1\*.r*" "R:\") &goto:toHold
if exist "%~1\*.mkv" (copy /v "%~1\*.mkv" "R:\") &goto:toHold
if exist "%~dp1\*.r*" ("R:\TorTemp\WinRAR\WinRAR.exe" x -ibck -inul "%~dp1\*.r*" "R:\") &goto:toHold
if exist "%~dp1\*.mkv*" (copy /v "%~dp1\*.mkv*" "R:\") &goto:toHold
:toHold
pause
Re: Need setup help to auto-extract torrent files
Posted: Mon May 23, 2016 2:52 am
by Galana
Alas, no. No sign of the BAT working. I'm using this command:
I:\qtorrent\script.bat "%F"
and I even tossed in a throw-away command into the BAT file (to launch a video) to see if it was running... And it appears that no.
I've never had a Batch file work in Vuze either... So either they aren't supported, or I'm just not good at following directions.
Is there no way to string multiple commands into the single Run box?
Re: Need setup help to auto-extract torrent files
Posted: Mon May 23, 2016 8:23 am
by tekko
dunno about multiple commands.
I've modified the script, try it if u want. If u try it tell me what happens...
1) if the batch ever get launch
2) what is launched by the batch
3) copy&paste text output if any
Re: Need setup help to auto-extract torrent files
Posted: Mon May 23, 2016 8:35 pm
by Galana
No go again. I've attached a screenshot of the entries, including the "proof-of-execution" video. That doesn't run, and I've tried both extracted torrents and single-file mkv's, and neither command is functioning.
Re: Need setup help to auto-extract torrent files
Posted: Mon May 23, 2016 9:48 pm
by tekko
nm... it's difficult to test
If I add a new torrent > download > finished > batch get launched
If I make a torrent incomplete by moving something out, put the file back in to make it complete again... Then it won't trigger... sigh...
Re: Need setup help to auto-extract torrent files
Posted: Mon May 23, 2016 11:41 pm
by Galana
Might we want to take this onto email so that we don't flood the thread, then we can just post a solution when all's figured out?
[ viridel at gmail. com ]
Re: Need setup help to auto-extract torrent files
Posted: Tue May 24, 2016 8:07 am
by tekko
I am done with it because I can't trigger the completion launch easily without actually downloading something and wait for it to complete. You probably have to just wait for someone else to give u another solutoin idea.
update: If there is a problem with the batch file, I can try to fix it. But in this case, the command in the run box is correct and the batch file is not being launched at all. I can't do anything.
Re: Need setup help to auto-extract torrent files
Posted: Tue May 24, 2016 4:09 pm
by KitKat
[quote="tekko"]
I am done with it because I can't trigger the completion launch easily without actually downloading something and wait for it to complete. You probably have to just wait for someone else to give u another solutoin idea.
update: If there is a problem with the batch file, I can try to fix it. But in this case, the command in the run box is correct and the batch file is not being launched at all. I can't do anything.
[/quote]
Pretty sure the windows commandline box requires an .exe file under launch, try converting your batch file to an exe file and trying it again?
http://www.f2ko.de/en/ob2e.php