2011-08-10, 13:42
Nice! Will look at this and post here when i evetually do it. thx again for the good work.
fecklesslout Wrote:Can I get this to extract already existing folders with RAR files without the notification from uTorrent?
fecklesslout Wrote:I'm new to all this and want to extract all my TV show episodes but don't want to install utorrent on my HTPC. Just want a nice way of doing exactly what you're command is offering to do without the need for utorrent. Can it do that, and if it can, can you provide instructions on how to use it? Again, being new to all this I'm finding your instructions confusing as to what I actually need to do to get it to work.
Thanks!
:move
color 0a
if not defined rar goto nomove
if exist "%torrentpath%\*.avi" move "%torrentpath%\*.avi" "%torrentpath%\..\"
if exist "%torrentpath%\*.mkv" move "%torrentpath%\*.mkv" "%torrentpath%\..\"
rem if exist "%torrentpath%\*.nfo" move "%torrentpath%\*.nfo" "%torrentpath%\..\"
if exist "%torrentpath%\*.srt" move "%torrentpath%\*.srt" "%torrentpath%\..\"
if exist "%torrentpath%\*.idx" move "%torrentpath%\*.idx" "%torrentpath%\..\"
if exist "%torrentpath%\*.sub" move "%torrentpath%\*.sub" "%torrentpath%\..\"
if not defined delete goto nomove
if not %delete%==y goto nomove
shaktoo Wrote:Dear njumlin, this is exactly what i was looking for so I delved into it but unfortunately its not working for me. Whenever there is a completed download...utorrent runs this tool, which unfortunately gives an error with label =" and no label identified and then dosent do anything requesting a key to be pressed to end the script.. ??
Could you help ?
also for emm-r to scrape does it's library not need to be updated first? does this script first updates emm-r & then scrapes?
Thanks
shaktoo Wrote:Dear njumlin, this is exactly what i was looking for so I delved into it but unfortunately its not working for me. Whenever there is a completed download...utorrent runs this tool, which unfortunately gives an error with label =" and no label identified and then dosent do anything requesting a key to be pressed to end the script.. ??
Could you help ?
also for emm-r to scrape does it's library not need to be updated first? does this script first updates emm-r & then scrapes?
Thanks
"C:\AutoExtract.bat" "Awesome.Movie.DVDRip.XviD-REL" "K:\Movies\Awesome.Movie.DVDRip.XviD-REL" "Movie"
"C:\AutoExtract.bat" "Torrent_Title" "Download_Path" "Torrent_Label"
pattersondm Wrote:I have a new feature request or at the very least can you tell me what to edit in the script.
My movie structure is different then yours but very close. Your is structure is as such x:\movies\movie_name\movie_name.avi, but I store all my movies under one folder. ie. x:\movies\movie_name.mkv.
I think a lot of people store their movies like that as well so it might be worth while addition to the config script. I thought something like a Boolean option to choose between the two different structure conventions.
I am sure I could figure it how to hardcode the change but thought it was worthwhile request others might enjoy as well.
I have tested the script and it is working great for me. The only thing I noticed is I set my unrar delay to .5 (30 minutes) and I get a "divide by zero error" and it aborts the delay counter and just starts the unraring process. I am perfectly happy with that since I much prefer it unrar immediately since it runs on a headless server to begin with.
Thanks, and good work. Exactly what I was looking for.
pattersondm Wrote:Providing some follow-up. I found that if I set the do not delete flag to true then the program fails to move the tv-show file upon completion of the unrar process. I fixed that by moving the code ever so slightly.
Code::move
color 0a
if not defined rar goto nomove
if exist "%torrentpath%\*.avi" move "%torrentpath%\*.avi" "%torrentpath%\..\"
if exist "%torrentpath%\*.mkv" move "%torrentpath%\*.mkv" "%torrentpath%\..\"
rem if exist "%torrentpath%\*.nfo" move "%torrentpath%\*.nfo" "%torrentpath%\..\"
if exist "%torrentpath%\*.srt" move "%torrentpath%\*.srt" "%torrentpath%\..\"
if exist "%torrentpath%\*.idx" move "%torrentpath%\*.idx" "%torrentpath%\..\"
if exist "%torrentpath%\*.sub" move "%torrentpath%\*.sub" "%torrentpath%\..\"
if not defined delete goto nomove
if not %delete%==y goto nomove
My next goal if I ever get around to it is test the title renaming feature. I like to rename my shows with out the source name, group, quality, periods, or dashes.
Also, addressing my other issue of movies not being moved to the parent directory. I believe if I just assign them a label of TV Show then the move routine will be executed and move it one directory up.
Once, again nice little script!
john.doe Wrote:Hello,
Some mirror for AutoExtract.zip and config.zip (v1.0 Build 19)?
Thanks
RockDawg Wrote:I had the same problem either the script would say there was no label or it would show one different than I specified and it would error out like you describe. That was when I was running uTorrent 3.0. I tried switching to 2.2 like the OP mentions in his first post and the label issues disappeared. So it must be something with uTorrent 3.0.