moc-lyrics

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

moc-lyrics

#1 Post by robwoj44 »

http://moc.daper.net/node/362
If you want to see the lyrics for the song you're listening to, you might be interested in this script. It's a frontend for David Precious' Lyrics::Fetcher CPAN Module, that outputs the lyrics to a pager of your choice.

The dependencies:
MOC from http://www.murga-linux.com/puppy//viewt ... 5cd990519a
perl from devx_xxx.sfs or http://www.4shared.com/file/34627722/c3 ... 2=403tNull
Attachments
moc-lyrics-i486.pet
(2.23 KiB) Downloaded 543 times
version-0.76-i486.pet
(28.8 KiB) Downloaded 497 times
Lyrics-Fetcher-LyricWiki-0.05-i486.pet
(4.29 KiB) Downloaded 501 times
Getopt-Lazy-v0.0.6-i486.pet
(6.83 KiB) Downloaded 544 times
Lyrics-Fetcher-0.5.1-i486.pet
moc-lyrics
(7.5 KiB) Downloaded 538 times
Last edited by robwoj44 on Thu 18 Dec 2008, 06:30, edited 1 time in total.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#2 Post by HairyWill »

cool
got it working
I think you need to repackage moc-lyrics-i486.pet currently the .moc directory is located in / rather than /root/

once it is installed
restart mocp
highlight a track
press F9
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#3 Post by robwoj44 »

Exactly. Thank you for the remark. I changed it.
I think you need to repackage moc-lyrics-i486.pet currently the .moc directory is located in / rather than /root/

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#4 Post by HairyWill »

Once you have the lyrics working you can also use the lyrics fetcher script in shell-fm. I have the following line in my shell-fm.rc

Code: Select all

key0x6F = /root/.moc/moc-lyrics.pl --artist "%a" --title "%t"
when I hit o the lyrics fetcher script is run.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Post Reply