[Tool, Windows] Auto Extract finnished uTorrent and optionally delete archives

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
paulkemp Offline
Junior Member
Posts: 2
Joined: Jul 2011
Reputation: 0
Post: #31
Nice! Will look at this and post here when i evetually do it. Smile thx again for the good work.
find quote
fecklesslout Offline
Junior Member
Posts: 13
Joined: Aug 2011
Reputation: 0
Post: #32
Can I get this to extract already existing folders with RAR files without the notification from uTorrent?

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!
find quote
njumlin Offline
Member
Posts: 95
Joined: Oct 2010
Reputation: 0
Location: Sweden
Post: #33
fecklesslout Wrote:Can I get this to extract already existing folders with RAR files without the notification from uTorrent?

Nope. The script for TV-shows relies on the folder that is being passed to the script from uTorrent. If you take the whole folder which contains all your TV-Shows, for example C:\TV-Series, it will extract all AVI and NFO files to that specific folder.

Have a look at UnPacker (Google it) by Lars Werner for a tool that can do this.

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!
find quote
shaktoo Offline
Fan
Posts: 635
Joined: Mar 2010
Reputation: 3
Location: in LIMBO
Post: #34
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.. ??Sad
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
(This post was last modified: 2011-09-12 19:40 by shaktoo.)
find quote
Flomaster Offline
Posting Freak
Posts: 1,293
Joined: Jun 2010
Reputation: 6
Location: East Texas
Post: #35
I do not use torrents, but I use SABnzbd seems this might work for me.

normally after my movie is finished I will manually move it using Putty and the midnight commander file thing. from there I will open EMM-r scrape my movie and then manually update xbmc.

I was trying to follow those other tutorials with eventghost and therenamer but they seem dated and don't exactly work for what I want to do.

-=Jason=-

edit: seems like I would just need a mover script in place of your unrar script seeing as SAbnzbd unrars for me and just leaves me with a folder.
(This post was last modified: 2011-09-26 06:06 by Flomaster.)
find quote
pattersondm Offline
Junior Member
Posts: 2
Joined: Oct 2011
Reputation: 0
Post: #36
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.
find quote
pattersondm Offline
Junior Member
Posts: 2
Joined: Oct 2011
Reputation: 0
Post: #37
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!
find quote
john.doe Offline
bugmenot login
Posts: 495
Joined: Aug 2010
Reputation: 0
Post: #38
Hello,

Some mirror for AutoExtract.zip and config.zip (v1.0 Build 19)?

Thanks
find quote
RockDawg Offline
Posting Freak
Posts: 1,257
Joined: Jun 2005
Reputation: 0
Post: #39
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.. ??Sad
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

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.
find quote
Vladimir Cvetic Offline
Junior Member
Posts: 2
Joined: Oct 2011
Reputation: 0
Post: #40
Got this link from a friend, got similar project going if you like visit it could use some feedback http://www.hazaah.com/programming/utorre...extractor/

feel free to contribute on github too
find quote