Personal log of yet another digital native.
Overview Theory Installing Flexget Flexget Setup Flexget Guide Conclusion
In the last part, we spent most of our time installing and configuring Deluge as our torrent download program. We learnt a bit about startup scripting and added some configuration files.
Deluge is one half of our automatic downloading system. The other half, is a program called Flexget. Flexget really is magic. The limit is really your imagination, this program can download just about anything, given the right input.
Deluge and Flexget are both written in the Python language. Deluge, being much more popular, has an entry in the official Ubuntu repositories, allowing us to use a package manager to easily install it.
Flexget, being less popular, is not on the official repositories. We will use some alternative methods to automate its install process.
My media library is on a different computer to my media PC (the XBMC downloader) so before we do any of that, I will quickly configure the downloader to automatically connect to the media library. If your media library is held locally, you don’t need to worry about this step.
To install Flexget, we we need to first install some Python installation tools. Just as we use a package manager to install Deluge, we use a Python package manager to install Flexget.
sudo apt-get install python-gdbm python-setuptools
sudo
run as rootapt-get
package managerinstall
commandpython-gdbm python-setuptools
various libraries that will automate the installation process for usThanks to the programs we just installed, it’s now as easy as:
sudo easy_install flexget
sudo
run as rooteasy_install
the Python equivalent of apt-get install
flexget
install FlexgetSo it’s time to set up get Flexget working for us. Flexget uses the flexible and rather sensible YML markup language for its settings. It’s worth getting acquainted with YML because it’s versatile but quite strict with indentation. If in doubt, run flexget -v
and it will tell if and where you have made any mistakes.
Flexget is as good as its source of information. I use showRSS because it is fairly quick with adding shows once they have been aired, and it gives them a nice formatting. It also does traditional torrent files (not magnets) which means you can tell it to skip the fluff files like .jpgs and all the other stuff that usually comes with scene torrents.
Either way, you’re going to have to populate your Flexget configuration file with something. Try this for a start:
vim /home/eagle/.flexget/config.yml
Then copy in the contents of my latest version into your configuration file manually.
The following is a walkthrough of how my Flexget configuration file works. I have formatted it in valid YML, in case you wish to use it. Comment fields describing functionality begin with the #
symbol. Be sure to checkout the Flexget Wiki to get a better understanding of how the various plugins below actually work.
Use this link to see an annotated example of a configuration for Flexget.
In this part of the guide, we have installed Flexget using Python install tools, and populated a basic configuration file to download some movies and TV shows. This forms the last part of the basic guide on how to configure your XBMC downloader. The next part is mostly a self-reference for the author, and contains some extra functionality and more advanced tools like Git. You can spend hours configuring Flexget for optimal downloads, and I certainly have done so. It’s worth spending time with Flexget. It’s a powerful tool.