Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.6 KB

File metadata and controls

36 lines (23 loc) · 1.6 KB

Lyrics

Lyrics is an application for showing music lyrics from the internet.

It uses library jsoup for parsing data.

Download

Latest version of runnable file lyrics.jar you can download here.

Usage

First you need to have installed Java on your computer. Then you can choose between command-line interface or graphical user interface.

Command-line interface

Run the application with following command:

java -cp lyrics.jar net.hermajan.lyrics.CLI

Use Lyrics with number of command-line arguments:

  • 0: Application obtains an artist and a song from your Last.fm account set in lyrics.properties file.
  • 1: Argument help or ? shows help. Argument "provider" obtains an artist and a song from your Last.fm account set in lyrics.properties file and shows music lyrics from selected provider.
  • 2: Arguments in format "artist" "song" shows music lyrics.
  • 3: Arguments in format "artist" "song" "provider" shows music lyrics from selected provider.

Providers are 0 for KaraokeTexty, 1 for LyricWiki, 2 for MetroLyrics.

For example, command java -cp lyrics.jar net.hermajan.lyrics.CLI "Coldplay" "Fix you" 1 starts Lyrics and it shows you this:

Lyrics CLI

Graphical user interface

Run the file lyrics.jar or use command-line arguments as above, but with command like this:

lyrics.jar "artist" "song"

For example, command lyrics.jar "Coldplay" "Fix you" starts Lyrics and it shows you this:

Lyrics GUI