Image 01
profile-image

outlikeashoe

outlikeashoe outlikeashoe
Googlyrics2

Amarok 1.x Scripts by ultramancool 46 comments

Hi, great and well working project, I have used for a certain period this program, but after some months without updating, I have a little issue: sometimes the html structure of sites changes and the regex for a site is no longer valid. To avoid problems of this kind, I've write this script that is part of lrcShow-X (under GPL) you could take a look at it. Basically, it searches on google like yours, removes the obvious wrong sites like youtube, yahoo and others. Get the others links and, in order, tries to parse the page stripping some tags, and splitting into different parts the code, and taking the longest of these. Checks for obvious wrong massages (like "lyrics cannot be displayed due to copyright licences" and so on).
If the extracted lyrics could be valid returns it, otherwise skip to the next google link.

You can find the code at http://www.sanfanling.cn/svn/lrcShow-X/branches/outlikeashoe/lrcShow-X/engines/plain_lyrics.py .
Hope this helps. - May 15 2009
lrcShow-X

Audio Apps by sanfanling 28 comments

I'd take look to Lirics Workshop, it's "simply" a plain text lyrics retriver, right? If you want, take a look to the evillyrics engine: it also searches plain text lyrics, but then it "merges" them with the evillyrics timestamps. - Apr 23 2009
lrcShow-II

Amarok 1.x Scripts by sanfanling 19 comments

Wow... So you've finally published the Mini's engine! Great! - Jan 31 2009
lrcShow-II

Amarok 1.x Scripts by sanfanling 19 comments

Yeah.. Well, IMHO it's a good thing that LrcShow will become a standalone application, not only a modular search engine, but also a modular interface to the player. I don't know if they changed in the latest months but last time I've used Amarok2 dbus interface, it has a little lack: it hasn't a CurrentTimeMs function, it only returns the time in seconds. - Dec 16 2008
lrcShow-II

Amarok 1.x Scripts by sanfanling 19 comments

Searching all the engines it's too slow.. but (for me) it would be nice to build an ordered list of user chosen engines and search sequentially on them: search on the first, if not found search on the second, etc.. At the moment I'm quite busy, but if I have time I'll try to help Sanfanling porting LrcShow-II to Amarok2 and improving the core with features like these. Cheers - Dec 11 2008