Installing SortTv on Ubuntu 12.04

SortTv is a great little perl script for sorting, renaming and organising your media. It's easy to set-up but I did run into a few minor issues. Here are the steps to install on Ubuntu Server.

Download from: sourceforge.net/projects/sorttv/

wget http://downloads.sourceforge.net/project/sorttv/SortTV1.34.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsorttv%2F&ts=1355149227&use_mirror=internode

Extract all the files.

unzip SortTV1.34.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsorttv%2F&ts=1355149227&use_mirror=internode

Change into the sorttv directory.

cd sorttv

Edit the configuration file

vi sorttv.conf

Update the following settings

directory-to-sort=/path/to/downloads
tv-directory=/path/to/tv
movie-directory=/path/to/movies

You may also want to edit uncomment the word "dry-run". This will allow you to see what sorttv will change before you commit to it.

Run the program

perl sorttv.pl

At this point I received a couple of errors for a few missing perl dependencies. You can easily fix these by installing them. TVDB::API and WWW::TheMovieDB::Search were the missing dependencies. Simply check inside sorttv.pl for the line the error came from and then replace the package name with your missing dependency name in the below command.

sudo perl -MCPAN -e 'install TVDB::API'
sudo perl -MCPAN -e 'install WWW::TheMovieDB::Search'

Try run the program again.

Have fun watching your movies been automatically sorted and moved into place.

Comments

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.