In this part of our FlexGet series, we will focus on using the FlexGet Transmission plugin to automatically add new torrents to the Transmission GTK+ client.

First, make sure you have configured FlexGet properly (See the instructions HERE). In the previous post, we have used the FlexGet Download plugin to automatically add new torrent files (e.g. new TV Show episodes) to the Watch Directory of Transmission.

In this example, we will use FlexGet's Transmission plugin which will directly pass the downloaded torrent file to Transmission without the user interaction.

To achieve that, we will use a slightly modified version of the configuration file (config.yml) that we have already created in the previous post.

tasks:
my task:
rss: https://www.example.com/rss
series:
- Pioneer One:
# You can specify the desired quality using the quality option
# Delete the following line if you want to grab the best quality
quality: 480p
- Deadside:
quality: 720p
transmission:
host: localhost
port: 9091
# The user and password must match the ones set in the GTK+ interface
username: someuser
password: somepassword

The above example will automatically add new torrent files (i.e. new episode of Pioneer One and Deadside) to the Transmission GTK+ client.

To make FlexGet work with Transmission, you need to install the following dependency:

sudo apt-get install python-transmissionrpc

FlexGet will pass the newly dowloaded torrent files to Transmission using the latter's Web Client. To configure Transmission Web Client, you need to enable the web interface from the GTK+ client:


Alternative method (not recommended):

You can enable the web interface by adding the following lines to the settings.json file:

  "rpc-enabled": true,
"rpc-authentication-required": true,
"rpc-whitelist": "127.0.0.1,192.168.*.*",
"rpc-whitelist-enabled": true,

Apparently, the GTK+ client settings will override the aforementioned ones, so this method is not recommended.

To access Transmission Web Interface from the browser, simply paste this link (https://localhost:9091/) into the address bar, then enter your username and password.

Comments