Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
CMus is a very powerful audio player for the console with a ncurses-based interface, support for themes and highly configurable. Although (at least in Debian) CMus does not come with Last.fm song submission support by default, there is a script available here as a patch, which you can apply to the source, compile CMus again and enable Last.fm support.
CMus is a very powerful audio player for the console with a ncurses-based interface, support for themes and highly configurable.
Although (at least in Debian) CMus does not come with Last.fm song submission support by default, there is a script available here as a patch, which you can apply to the source, compile CMus again and enable Last.fm support.
Here's what you have to do:
1. Enable sources repositories
Edit the /etc/apt/sources.list file as root with your favourite text editor (e.g. nano /etc/apt/sources.list or kdesu /etc/apt/sources.list) and make sure you have a line which starts with deb-src, as in the example below:
deb-src ftp://ftp.ro.debian.org/debian/ lenny main contrib non-free
You can replace the TLD with the one of your country (e.g. instead of ro use fi for Finland, de for Germany etc.) Next, update the packages list as root:
apt-get update
2. Get the CMus source code
Type, as normal user:
apt-get install gitk
Now issue the command:
git clone git://repo.or.cz/cmus.git
3. Get the Last.fm patch
Go here and download the patch (direct link here). Save it inside the cmus directory. The file is called cmus_audioscrobblerBETA41-githead.diff
4. Apply the patch
To apply the patch, make sure the current working directory is cmus and type:
patch < cmus_audioscrobblerBETA41-githead.diff
5. Install CMus dependencies
To install the needed libraries for the compilation, type as root:
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help