Installing SortTv on Ubuntu 12.04
Submitted by benjy on Monday, December 10, 2012 - 22:45.
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
Ahh thank you good sir,…
Ahh thank you good sir, Google was useless in providing me a solution to TVDB:API not found error, but Ben to the rescue once again! Now my $15 plex server is complete http://jez.me/article/plex-server-pine64-how-create-powerful-15-media-s… :)
Add new comment