uProcess - automation for uTorrent (extraction, hardlinks and copy)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jompan87 Offline
Member+
Posts: 116
Joined: Oct 2008
Reputation: 0
Post: #1
uProcess
a tiny python post processer for uTorrent

About
I initially made uProcess to be a "learn by doing" project, but has this far been proven a good utility to automate downloads using uTorrent. Feel free to fork me, make changes and what not :-)

The project is located at Github

Features
  • Extract downloaded content - List of supported archives
  • Move, copy or (hard)link files that doesn't need extraction
  • Multi OS compatible (Windows, Linux, OSX)
  • Optionally calls CouchPotato or Sickbbeard when done (for additional post-processing)

Requirements
Good to know
  • For uProcess to be able to send torrents containing movies to CouchPotato or series to Sickbeard you need to match the torrent label you set in CouchPotato/Sickbeard with the one's you set in config.cfg (eg. in Couchpotato you set label to "movie" in the uTorrent downloader, then in the config.cfg under [Couchpotato] where it says label =, make it so: label = movie)
  • Links doesn't work cross partition/hard drive, use the copy or move option instead
  • uProcess ONLY works with uTorrent as its heavily dependant on uTorrents Web UI API

Usage
  1. Make sure you've installed uTorrent and Python correctly
  2. Grab uProcess here
  3. Extract uProcess to any location, in this example C:\Downloaders\uProcess
  4. Setup uTorrent to use Web UI (Options->Preferences->Advanced->Web UI), note down user/password and listening port
  5. Edit the config.cfg file in C:\Downloaders\uProcess to your preferences
  6. Goto uTorrent again, in Options->Preferences->Advanced->Run Program, where it says "run this program when torrent finishes" add: C:\Python27\pythonw.exe C:\Downloaders\uProcess\uProcess.py "%D" "%N" "%I" "%L"
  7. DONE! Wink


Not working!?
  • First off, check the log file located in the uProcess directory (make sure you set debug = true in config.cfg, and then run uProcess again)
  • If that didn't help, create an ticket over at the issue tracker

[Image: all-fanart.jpg]
(This post was last modified: 2013-06-02 18:29 by jompan87.)
find quote
ConfusedTA Offline
Senior Member
Posts: 186
Joined: Sep 2012
Reputation: 5
Location: England
Post: #2
Just wanted to say thanks for this - I've got it set up as the missing link between CouchPotato/Sickbeard and uTorrent.

Having an issue with it not extracting compressed archives, but looking at the bug tracker on Github it is the issue that it's finding the .r00 file rather than the .rar file. I've just removed .r00 from the list of extensions, and will give it a try when the next thing finishes downloading.
find quote
ConfusedTA Offline
Senior Member
Posts: 186
Joined: Sep 2012
Reputation: 5
Location: England
Post: #3
Well, the next one finished downloading, and correctly identified, extracted, moved, notified CP to perform post-processing, removed the compressed files, removed the torrent from uTorrent and the movie ended up in the correct output folder, all whilst I was sleeping Smile

Torrents now work as seamlessly as NZBs do for Sickbeard/CouchPotato, so I'm very happy!

Now I just need to get Headphones configured to work well and actually retrieve a decent copy of the albums when snatching - the last few I've done I've had to re-snatch about 5 times to get a decent torrent file!
find quote