moc-lyrics is a simple bash script that fetches the lyrics of current song playing in MOC (music on console) music player.
- Perl - Perl (Practical Extraction and Reporting Language) originally developed by Larry Wall is a family of high-level, general-purpose, interpreted, dynamic programming languages. Perl is available in repositories of almost every Linux distribution under the sun. Use your distribution's package manager to install it. Perl Module URI::Escape is needed.
- Wget - Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. Most Linux distributions have Wget in their package repositories so you can easily install Wget via the package manager of your distribution in case it is not installed on your system.
Very easy.
Obtain sudo privileges and download moc-lyrics-master.zip,
sudo -s
wget --content-disposition https://github.com/hakerdefo/moc-lyrics/archive/master.zip
Extract it,
unzip moc-lyrics-master.zip
Make moc-lyrics executable and copy it to /usr/local/bin/ directory,
chmod 755 moc-lyrics-master/moc-lyrics
cp moc-lyrics-master/moc-lyrics /usr/local/bin/
And finally clean up the leftovers and drop sudo privileges,
rm moc-lyrics-master.zip
rm -rf moc-lyrics-master/
exit
Run moc-lyrics and it will fetch and print lyrics of the song currently playing in MOC music player.
If you like moc-lyrics, please consider supporting it, even the smallest contribution goes a long way. It is quick & easy via PayPal, Buy Me a Coffee or Liberapay:
Federico Builes - moc-lyrics wouldn't have been possible without wonderful makeitpersonal created by Federico.
This work (moc-lyrics, by hakerdefo), identified by hakerdefo, is free of known copyright restrictions.