Old 6th July 2003, 16:41   #1
VooDoo`
Major Dude
 
VooDoo`'s Avatar
 
Join Date: Sep 2001
Location: Germany >> Sax >> Leipzig
Posts: 626
Send a message via ICQ to VooDoo` Send a message via AIM to VooDoo`
best lyrics plugin ever

anyone wo have tried this: http://bestlyrics.sf.net
help to develop, it seems that the author only updates his plugin if there are enough inquire.

o_0
VooDoo` is offline   Reply With Quote
Old 7th July 2003, 09:44   #2
Mr_007
Banned
 
Mr_007's Avatar
 
Join Date: Feb 2003
Posts: 2,838
Good!
Mr_007 is offline   Reply With Quote
Old 7th July 2003, 13:39   #3
mikm
Major Dude
 
mikm's Avatar
 
Join Date: May 2001
Location: 2001:4978:20f::/48
Posts: 1,250
Good? you are happy that he only updates the plugin if there are enough inquiries??

powered by C₂H₅OH
mikm is offline   Reply With Quote
Old 7th July 2003, 19:58   #4
VooDoo`
Major Dude
 
VooDoo`'s Avatar
 
Join Date: Sep 2001
Location: Germany >> Sax >> Leipzig
Posts: 626
Send a message via ICQ to VooDoo` Send a message via AIM to VooDoo`
you must say that the plugin is really good, but its bad that he update his plugin so rarely.

so, help around to bring it to live again and send mails to the author with suggestions or criticisms.

o_0
VooDoo` is offline   Reply With Quote
Old 8th July 2003, 00:15   #5
vh1
Junior Member
 
Join Date: Apr 2002
Location: St. John's, Newfoundland
Posts: 44
Send a message via ICQ to vh1
songmeanings.net plugin?

It's pretty cool how you can do your own plugins for different sites, but I was wondering if I could get some help on a SongMeanings.net plugin
The wayit's different from most lyrics search engines is that when only one result is returned, it automatically forwards the browser to that lyric page, and that's completlymessing me up

Here's the code I have so far:


code:
/*****************************************************************************
* *
* BestLyrics(C) by Kronuz. Main Script File *
* Copyright(C) 1992-2002 by Kronuz. *
* *
* This Script belongs to BestLyrics distribution 2.6 *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the author be held liable for any damages *
* arising from the use of this software. *
* *
* best_lyrics@hotmail.com *
* *
* *
* PLEASE DO NOT MODIFY ANYTHING BELOW THIS LINE, FAILURE TO DO SO MIGHT LEAD *
* TO UNEXPECTED AND UNPREDICTABLE BEHAVIOR OF BESTLYRICS(C). THE AUTHOR WILL *
* NOT BE RESPONSABLE FOR ANY DAMAGES ARISING FROM THE USE OF BESTLYRICS WITH *
* THIS FILE MODIFIED OR UNMODIFIED BY ANYONE. *
* *
*****************************************************************************/




if(#_pantalla# == @MSG_ABOUT) {
if(!#_certified#) #certified# = "(not certified!) ";
#return# << About www.SongMeanings.net:
www.SongMeanings.new script by !vh1 #certified#for:
BestLyrics 2.6 by Kronuz.

SongMeanings is an excellent lyrics site with user-submitted lyrics and
the ability to add your thoughts of the song and comments.

07/07/03:
Artists: 13,615
Lyrics: 160,636
Albums: 3,842
Members: 84,912
Comments: 230,486
;
return(#return#);
}

#logfile# = #_cachedir#.#_script#.".log";
save(#logfile#, "");

#time# = clock();
print("+++\nProcessing...\n");

if(search(#_title#, "#A#(*)#B#", 1?)) #_title# = #A#.#B#;

#ascii_artist# = utf82ascii(#_artist#);
#ascii_title# = utf82ascii(#_title#);
#ascii_album# = utf82ascii(#_album#);

#insert <localnet.sinc>

#url# = "http://www.songmeanings.net/search.php?type=titles&query=".urlencode(#ascii_title#);
#result# = get(#url#);
#result# = replace(#result#,"\r","", all?);
print("GET: ".#url#."\n");

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// We try to find the correct lyrics in the list of lyrics (using string fuzzy-compare function)
#cnt# = 1;
while( #seek# = searchI(#result#, "<a href=\"lyric.php?lid=#key#\">#lyrics#</a>", #cnt#++?) ) {
#fuzzy# = fuzzycmp(#lyrics#, #_title#);
if(#fuzzy# > .60) break; // is it the title on the list at least 60% similar?
print("Not the requested lyrics, trying next\n");
}
if(!#seek#) {
#msg# = "Not Found:";
if(!#key#) #msg# .= " key";
if(!#result#) #result# = "nothing! (server might be down, try latter)";
#test# = searchI(#result#,#_artist#." - ".#_title#."</strong>",1?);
print(#test#);
if(!#test#) print("\n".#msg#."\nWeb site returned:\n".#result#);
if(!#test#) exit(0);
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// We Now we've found the proper lyrics on the list, we get the printable version from the server
if(!#test#) #url# = "http://www.songmeanings.net/lyric.php?lid=".urlencode(#key#);
if(!#test#) #result# = get(#url#);
#result# = replace(#result#,"\r","", all?);
print("GET: ".#url#."\n");

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// At this time we can extract the sole lyrics from the result:

if(!#result#) {
print("\nThe web site returned nothing! (server might be down, try latter)");
exit(0);
}

// Now we need to ckeck if the returned site's content is UTF-8
// (if not we translate it to UTF-8 using the current code page)
if(!search(#result#, "<meta *charset=UTF-8*>", 1?)) #result# = ascii2utf8(#result#);

print("\nWeb site returned:\n".#result#);

#result# = replace(#result#,"\t"," ", all?);
#result# = replace(#result#," "," ", recursive?);
#result# = replace(#result#," \n","\n", recursive?);
#result# = replace(#result#,"\n ","\n", recursive?);
#result# = replace(#result#,"\n","", all?);

#result# = replaceI(
#result#,
"*<body*>",
"", 1);

searchI(#result#, "<b>#artist#<br>#album#<br>#title#</b>", 1);
#result# = replaceI(
#result#,
"<b>*<br>*<br>*</b>",
"",
1);

#Afuzzy# = fuzzycmp(#artist#, #_artist#);
#Tfuzzy# = fuzzycmp(#title#, #_title#);
if(#Afuzzy# < .30 || #Tfuzzy# < .30) { // just to make sure the lyrics are the correct ones
print("The returned lyric is probably not the for the requested song, sorry\n");
exit(0);
}

#result# = replaceI(#result#, "</font>*www.purelyrics.com*", "\n", 1);

#result# = replaceI(#result#,"<br>","<br />", all?);
#result# = replaceI(#result#,"<br /> ","<br />", recursive?);
#result# = replaceI(#result#," <br />","<br />", recursive?);

#result# = replaceI(#result#,"<br />","\n", all?);
#result# = replace(#result#, "<*>", "", recursive?); // we erase any remaining HTML tags

#result# = trim(#result#);

#artist#.="\n";
#title#.="\n";
if(#album#) #album#.="\n";

#result# = #artist#.#title#.#album#."\n".#result#;
save(#_lyrics_filename#, #result#);

#time# = clock() - #time#;
print("Done! (".time().")\n");
print("(It took ".#time#." milliseconds to complete)\n");

///////////////////////////////////////////////////// EOF ///////////////////////////////////////////////////////////////



It's also giving me an error, but I can't find where exactly it is
vh1 is offline   Reply With Quote
Old 8th July 2003, 22:55   #6
niktheguru
Senior Member
 
Join Date: May 2003
Location: London, UK
Posts: 119
Hi.

just downloaded it. I'm not that impressed. Didn't find many matches for my songs. LyricsAMP was the plugin that rocked. Its a pity that revhu isn't developing it as actively anymore.

Theres no uninstaller on this bestlyrics thing either, so am i lumbered with it for good now??

Nikhil
niktheguru is offline   Reply With Quote
Old 9th July 2003, 06:34   #7
VooDoo`
Major Dude
 
VooDoo`'s Avatar
 
Join Date: Sep 2001
Location: Germany >> Sax >> Leipzig
Posts: 626
Send a message via ICQ to VooDoo` Send a message via AIM to VooDoo`
try the search with the Lyrics-World.de plugin.

o_0
VooDoo` is offline   Reply With Quote
Old 12th July 2003, 00:18   #8
VooDoo`
Major Dude
 
VooDoo`'s Avatar
 
Join Date: Sep 2001
Location: Germany >> Sax >> Leipzig
Posts: 626
Send a message via ICQ to VooDoo` Send a message via AIM to VooDoo`
hey, whats up with the songmeanings plugin?
if you have prolems, than try to email the author.

it would be really cool, if we can bring the plugin to life, again

o_0
VooDoo` is offline   Reply With Quote
Old 12th July 2003, 07:06   #9
vh1
Junior Member
 
Join Date: Apr 2002
Location: St. John's, Newfoundland
Posts: 44
Send a message via ICQ to vh1
I couldn't get rid of that random error popping up on some songs, so I just gave up with it
heh

I might have a go at it again soon though
vh1 is offline   Reply With Quote
Old 16th July 2003, 22:06   #10
soljarag
Member
 
Join Date: May 2003
Posts: 92
hey, I installed it, and where do the lyrics show up? i looked under "window" and didnt see any lyric window, like the plugin for winamp3
soljarag is offline   Reply With Quote
Old 16th July 2003, 22:30   #11
j0ck3
Senior Member
 
j0ck3's Avatar
 
Join Date: Oct 2002
Location: Gothenburg, Sweden
Posts: 308
Send a message via ICQ to j0ck3 Send a message via AIM to j0ck3
Please revhu, comeback!!! I beg you. I so need a version of LyricsAMP for Winamp 2.x

"What you know you can't explain, but you feel it. You've felt it your entire life, that there's something wrong with the world. You don't know what it is, but it's there, like a splinter in your mind, driving you mad." I have choosen the red pil.
j0ck3 is offline   Reply With Quote
Old 17th July 2003, 07:05   #12
Ice
Moderator Alumni
Americas Favorite Smut Peddler
 
Join Date: Jun 2000
Location: Sun Prarie, WI
Posts: 3,303
We would appreciate if you dont do a SongMeanings plugin, unless you plan on donating to our fund for a new server. Our server is pathetic, and prone to crashing when the database does more than a few searches.

Life isn't coming back to SongMeanings in the form of more abuse to the database. Life will come back when we redo the database and fix the ugly code thats left over from 2 years ago.

I'd like to meet a mad man who makes it all seem sane
To work out all these troubles and what there is to gain
Ice is offline   Reply With Quote
Old 17th July 2003, 12:12   #13
VooDoo`
Major Dude
 
VooDoo`'s Avatar
 
Join Date: Sep 2001
Location: Germany >> Sax >> Leipzig
Posts: 626
Send a message via ICQ to VooDoo` Send a message via AIM to VooDoo`
Quote:
Originally posted by soljarag
hey, I installed it, and where do the lyrics show up? i looked under "window" and didnt see any lyric window, like the plugin for winamp3
the lyrics appears in the winamp mini browser

o_0
VooDoo` is offline   Reply With Quote
Old 19th July 2003, 22:25   #14
TheMasterOfWar
Junior Member
 
TheMasterOfWar's Avatar
 
Join Date: Dec 2002
Posts: 19
Send a message via ICQ to TheMasterOfWar
couldn't make it work...

please somebody tell me how to install this plugin. i look in the browser but nothing happen...
TheMasterOfWar is offline   Reply With Quote
Old 19th July 2003, 22:49   #15
TheMasterOfWar
Junior Member
 
TheMasterOfWar's Avatar
 
Join Date: Dec 2002
Posts: 19
Send a message via ICQ to TheMasterOfWar
hijos de la gran puta

oh, finaly i installed it, but there is a little problem

NOW IT DOESEN'T WORK AT ALL!!!! how can i uninstall the plug in without runing winamp?
TheMasterOfWar is offline   Reply With Quote
Old 21st July 2003, 18:42   #16
VooDoo`
Major Dude
 
VooDoo`'s Avatar
 
Join Date: Sep 2001
Location: Germany >> Sax >> Leipzig
Posts: 626
Send a message via ICQ to VooDoo` Send a message via AIM to VooDoo`
you have to enable the internet connection in your winamp settings

o_0
VooDoo` is offline   Reply With Quote
Old 22nd July 2003, 21:07   #17
niktheguru
Senior Member
 
Join Date: May 2003
Location: London, UK
Posts: 119
u can uninstall it from the preferences menu in winamp. Go to the general purposes tab in plugins and uninstall it there.

I didn't like it at all, i wanted to, but the fact it hardly ever found a match irritated me......bring back lyrics amp!!

Nikhil
niktheguru is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Winamp > Winamp Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump