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… :)
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/
Extract all the files.
Change into the sorttv directory.
Edit the configuration file
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
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.