On 2010-08-05 Anurag Priyam wrote:

> Hello all,
> 
> I would like to have vicious's mpd widget fetch lyrics that can be displayed
> in the tooltip to the mpd widget.
> 
> I was able to fetch lyrics from lyrics wiki and display it in tooltip.
> However, lyrics wiki's API does not return full lyrics( 1/7th to be precise
> ) of a song and scraping is not permitted.
> 
> What other possible solutions can I look at?
> 

I use the following bash-snipplet

urlartist=`mpc --format "%artist%" | head -n1| \
    sed -e "s/ /+/g; s/&/&/g"` 
urltitle=`mpc --format "%title%" | head -n1| \
    sed -e "s/ /+/g; s/&/&/g"` 
lynx -dump -nolist \
  
"http://www.lyricsplugin.com/winamp03/plugin/?artist=$urlartist&title=$urltitle";

Matthias

-- 
To unsubscribe, send mail to [email protected].

Reply via email to