This recipe should not be needed now that there is a native utorrent plugin.
This is an example how to use uTorrent with flexget and take advantage of dynamic folders at Windows 7. This is not necessary the right and definitive way to configure uTorrent, but it's a working example. Guide assumes torrents are fetched via RSS and user wants to do RSS fetching periodically without need for manual downloading.
Let's start with config:
# You must tell FlexGet to download the torrent file to some directory, so that it can be passed to uTorrent
download: C:\torrents
# Download path defined here can be used later as {{ut_path}} variable
set:
ut_path: C:\Movies
## Output files to utorrent
# /DIRECTORY takes two arguments:
# 1. Save path (now set as {{ut_path}} ). pathscrub to delete unacceptable characters.
# 2. Torrent file path ( set as {{output}} ). pathscrub done by default.
# Detailed description: http://forum.utorrent.com/viewtopic.php?id=53988&p=1
exec: C:\Progam Files\uTorrent.exe /DIRECTORY "{{ut_path|pathscrub}}" "{{output}}"
This should be fine for flexget. Replace folders according to your system. Check your configuration with flexget --check.
Running uTorrent in Windows 7 can be done either in normal desktop GUI mode (utorrent.exe process type Console) or uTorrent can be run as a Service (utorrent.exe process type Service) on the background and can be accessed only via WebUI interface. Both ways should work fine.
This way flexget is run every hour and new torrents are added to existing uTorrent GUI session. Headless version of flexget avoids command prompt pop-up appearing every time flexget is executed. You need to be logged in to Windows.
There is one downside in this method. Utorrent will be brought up every time new torrent is added to utorrent by scheduled flexget tasks. This can't be avoided with /HIDE or /MINIMIZED or Boss key methods. If there's a way to avoid this downside, don't hesitate to update this wiki.
This way flexget is run every hour and new torrents are added to existing uTorrent background session. Easy way to create background session is to run newly created Scheduled Task rule manually. Before running, remember to enable WebUI access from uTorrent GUI, otherwise you will lose control to uTorrent.
tasks:
movies:
rss: http://some.tracker.feed.com
# Download path defined here can be used later as {{ut_path}} variable
set:
ut_path: C:\Movies
# Download torrents to
download:
path: C:\Movies
overwrite: yes
## Output files two utorrent
# /DIRECTORY takes to arguments:
# 1. Save path (now set as {{ut_path}} )
# 2. Torrent file path ( set as {{output}} )
# Detailed description: http://forum.utorrent.com/viewtopic.php?id=53988&p=1
exec: C:\Progam Files\uTorrent.exe /DIRECTORY "{{ut_path|pathscrub}}" "{{output}}"
tv:
rss: http://some.other.tracker.com
# Get favourite series from thetvdb.com
# Again path variable here is used later
configure_series:
from:
thetvdb_favorites:
account_id: <my_account_id>
settings:
quality: 720p+
set:
ut_path: C:\Series\{{series_name}}\Season {{series_season}}\
download:
path: C:\torrents\
overwrite: yes
# Output series to uTorrent
exec: C:\Progam Files\uTorrent.exe /DIRECTORY "{{ut_path|pathscrub}}" "{{output}}"