Wiki > FlexGet
FlexGet is a multipurpose automation tool for content like torrents, NZBs, podcasts, comics, series, movies, etc. FlexGet is able to handle different kinds of sources like RSS feeds, HTML pages and CSV files. There are even some plugins for sites that do not provide any kind of useful feeds.
Installation
-
Connect to your slot through SSH
-
Create a Python 3 virtualenv with the instructions found here or use an existing one.
-
With your virtualenv activated, install FlexGet
pip install flexget
You will now be able to run FlexGet with the command flexget.
Configuration
The official FlexGet documentation provides a good configuration guide.
Scheduling FlexGet
There are now two options for scheduling FlexGet. You can use the built-in daemon functionality of FlexGet using the official documentation or you can use cron to run FlexGet:
-
Start editing your crontab. This will open your crontab in nano (an editor).
crontab -e -
Add FlexGet to the crontab
For hourly updates:
@hourly /home/user/virtualenv/bin/flexget --cron executeFor updates at a custom interval
*/30 * * * * /home/user/virtualenv/bin/flexget --cron executewhere 30 is the number of minutes between executions.
Common Problems
If "Your cron environment has different filesystem encoding (ANSI_X3.4-1968) compared to your terminal environment (UTF-8)." appears in the flexget log, add LANG=en_US.utf8 as the first line of your crontab.
FlexGet with transmission
If you are using transmission you will need to install the RPC client as well, otherwise you'll get an error. See https://flexget.com/Plugins/transmission
The password you need to enter is your main account password, the same you'd use in the web interface. In your ~/.config/transmission-daemon/settings.json file you will find a hashed version of it, you can't use that string in flexget.
3.0.0 or higher
More recent versions of FlexGet require more recent versions of the RPC client. Install it with:
source ~/virtualenv/bin/activate
pip install transmission-rpc
(Note the hyphen!)
0.6 or higher
If you get the error "Transmissionrpc module version 0.6 or higher required." This can be done by inside the virtualenv via:
source ~/virtualenv/bin/activate
easy_install transmissionrpc