PDA

View Full Version : ANN: Lyrics Display Plugin



Phillip Kerman
2004-07-09, 10:05
Neat. In what format do the lyrics need to be?

Do you have an XML schema?

Thanks,
Phillip

Les Smithson
2004-07-13, 08:11
On Fri, 2004-07-09 at 18:05, Phillip Kerman wrote:

> Neat. In what format do the lyrics need to be?
>
> Do you have an XML schema?
>
> Thanks,
> Phillip
>

No schema, just reverse engineered an XMMS plugin. The XML looks
something like:

Request URL: http://lyrc.com.ar/xsearch.php?songname=%s&artist=%s&act=1
Response XML:
<?xml version="1.0" encoding="utf-8" ?>
<lyrc>
<result>
<name>Outrageous Waffle</name>
<group>Pompous Bores</group>
<lyric>Mumble Burp^M
Grind Thump^M
Gurgle Groan^M
Blagh Blagh^M
</lyric>
<result>
</lyrc>

Turn on debug in the Lyrics plugin and it prints the raw XML to the log
file.

BTW. I've moved Lyrics.pm to http://slimlyrics.sourceforge.net




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQBA8/uhfLQw5akLdfURAocvAJ9TU/WASl2nXNjXTWJ5fNon28i7pACcCSno
yfxGx/fRiTmuDhhlzm9ytgc=
=Xex1
-----END PGP SIGNATURE-----