How to use tvnamer under Mountain Lion

A reader asked my in the comments of my blog if I already upgraded to Mountain Lion and if I used tvnamer so far. Just yesterday I realized that tvnamer was not working anymore. You need to reinstall tvnamer with the following command:

Eventually you will need to install Xcode and the command line utilities.