All Projects → tremby → py-lyrics

tremby / py-lyrics

Licence: GPL-3.0 license
Python script making use of LyricWiki (lyrics.wikia.com) to pull lyrics from the web from the commandline

Programming Languages

python
139335 projects - #7 most used programming language

Lyrics

Output lyrics from LyricWiki for a given song or the currently playing song in MPD.

Dependencies

Python packages:

  • lxml
  • cssselect

Optional binaries:

  • mpc to get the currently playing song from MPD

Installation

Follow the usual Python paradigm

sudo python setup.py install

or just run it directly

./lyrics

Usage

See the help output

lyrics --help

for details. In its simplest form, lyrics, get the currently playing song from MPD if possible, then fetch its lyrics from LyricWiki and output them to stdout. The mode can be changed with various switches to open a browser to the lyrics page or the edit lyrics page, or to output either URL to stdout.

Or the artist and title can be given, such as lyrics Rammstein Los or lyrics Periphery "Ow My Feelings".

Bugs

Probably. Reports or patches are welcome, on the Github tracker.

Authors

Bart Nagel [email protected] and others

Download

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].