Command Line Lyrics Viewer


Advertisements

If you are a fan of command line music players like Cmus, Pianobar, or Shell-fm you may have wondered how to get lyrics for the song you are playing. There is a program called lyvi that does just that. Originally called cmus-lyrics it was created to display lyrics for music playing in Cmus, the program has been expanded to handle Shell-fm and Pianobar as well as several other CLI music players. It uses glyr to download lyrics. I am sure glyr may be packaged in future releases of Ubuntu, but as I am using Vinux 3.0 based on Ubuntu 10.04, I have to compile it. So here are instructions for getting the latest and greatest glyr:
sudo apt-get install cmake libglib2.0-dev libcurl3 libcurl4-openssl-dev libsqlite3-dev python3.1
git clone https://github.com/sahib/glyr.git
cd glyr/
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
sudo make install
Then, to get lyvi
cd
git clone https://github.com/ok100/lyvi.git
cd lyvi/
git checkout glyrc
For the program to work you will need to have music playing in one of the players it supports, Cmus, Last.fm, or Pianobar. I recommend using a multitermnal program like screen or tmux. When you have music playing, to launch lyvi while in the lyvi directory type:
python3.1 lyvi
It will find and download the lyrics for the currently playing song. You can press the letter a to toggle through lyrics, artist information, and guitar tabs.
There are a couple of additional steps you need to take for it to work with either Pianobar or Shell-fm. The setup is very well documented in the README>MD file in the lyvi directory.
This program is very well written and is hours of fun.

Help Power my blog posts, keep my caffeine buzz going strong!

Your ads will be inserted here by

Easy Ads.

Please go to the plugin admin page to set up your ad code.

Tags: , , ,

3 Responses to “Command Line Lyrics Viewer”

  1. Lucas Arkana says:

    Thank’s !

  2. pierre2 says:

    wow amazing stuff, just coupled it with cmus and it works perfectly !

    Thx !!

  3. cockerill says:

    It is just like you read through my thoughts! You gaze to grasp a whole lot relating to this, that you wrote this e-book inside it or something. I believe you can employ many % to push the solution household a bit, but other than that, it is excellent web site. A superb study. I’ll surely be back.

Leave a Reply

Powered by WP Status.net plugin.