Lyricator - Batch Lyrics Updater v1.00 [OUTDATED]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

BlueDragon
Posts: 63
Joined: Sat Jan 09, 2010 7:23 pm

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by BlueDragon »

the lyrics are not only in wrong language, it's also a a totally wrong text.
nic

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by nic »

worked for a couple of days, now just wont find the correct lyrics any longer. =(
G-DIABLO
Posts: 27
Joined: Sun Dec 06, 2009 2:09 pm

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by G-DIABLO »

hi,

i dont know what exactly you did there but for me it doesn't do anyting.
(just open window and close it immediatly).

i wish i have time to look at the code my self but i can't.

and one more thing.
i suggest you to add this site:
http://www.lyricsplugin.com/winamp03/plugin
for my opinion this is the best and the stable site at all.

try it please.

thx.
Milagro
Posts: 90
Joined: Sun Jun 20, 2010 7:21 am

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Milagro »

Skyler wrote:spanish lyrics instead of english ones again :-?
the last two days the script worked...
Yea I have the same problem
iglemartin

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by iglemartin »

same problem here... it worked like a charm for the last couple of days but now is getting wrong lyrics...
Firetribe
Posts: 74
Joined: Sat Jul 25, 2009 7:04 am

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Firetribe »

Damn, got home just a few days too late...not working anymore...:-(
Unter der Maske eines Clowns siehst du die Spuren seiner Tränen...
SquirrelScript
Posts: 37
Joined: Sat Jun 06, 2009 6:34 am
Contact:

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by SquirrelScript »

... Looks like they have block my hosting *can't blame them really*

If you know to setup your own web server, then here is a fix:
1.) Edit lyricator.js.
Line 46:

Code: Select all

rLyricsPlugin = new Request({method:'get',url:'http://localhost/lyrics.php?',onSuccess:rSuccessLP,onException:rNextLP,onFailure:rNextLP,onCancel:rNextLP});
*or replace localhost with your URL*

2.) Create a new file in your www folder, called: lyrics.php
Add this to it:

Code: Select all

<?php
if ($_GET["artist"] && $_GET["title"]) {
    $artist = urlencode($_GET["artist"]);
    $title = urlencode($_GET["title"]);
    $user_agent = "Lyrics Plugin/0.3 (Windows Media Player)";
    $url = "http://www.lyricsplugin.com/wmplayer03/plugin/?artist=$artist&title=$title";
	$referer = "";
    $cookies = "cookies";
	
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_COOKIEJAR, $cookies);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
	curl_setopt($ch, CURLOPT_REFERER, $referer);
    $html = curl_exec($ch);
    curl_close($ch);
	
	$getContent = explode("javascript:getContent(",$html);
	$getContent = explode(", ",$getContent[1]);
	$timestamp = str_replace("'","",$getContent[2]);
	$hash = explode(")",$getContent[3]);
    $hash = str_replace("'","",$hash[0]);
	
	$referer = $url;
	$url = "http://www.lyricsplugin.com/wmplayer03/plugin/content.php?artist=$artist&title=$title&timestamp=$timestamp&hash=$hash";
	
    echo $lyrics =  file_get_contents($url, true, stream_context_create(array("http"=>array("header"=>"Referer: $referer"))));  
}
?>
You will need to enable cURL in php.ini

Code: Select all

extension=php_curl.dll
3.) Restart apache/php & mediamonkey - give it a try (=

Its currently working for me (2010-09-18). Just done about 50. 49 were correct...1 was missing :D



If you don't understand the above, your just going to have to wait a bit :(
~Got Code?~

Code: Select all

http://www.SquirrelScript.net
Rvan
Posts: 7
Joined: Wed Sep 15, 2010 1:07 pm

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Rvan »

I have to wait, too hard for me :oops:
BlueDragon
Posts: 63
Joined: Sat Jan 09, 2010 7:23 pm

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by BlueDragon »

SquirrelScript wrote:... Looks like they have block my hosting *can't blame them really*

If you know to setup your own web server, then here is a fix

thanks!! :)
working perfectly again
Rvan
Posts: 7
Joined: Wed Sep 15, 2010 1:07 pm

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Rvan »

Another method for fix it without own server?
Tyger

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Tyger »

For those without a server:

Goto Moves Portable Mixer

Start with "i do not have..."

On the next page just choose :

- Apache2_SE

And any of the PHP Packages

You don't need anything more.

Now download it, install it and put the code-snippet from squirrel into "C:\MOVESPORTABLE\www" (or whatever it's called in your installation) then
take notepad and edit lyricator.js (usually in "c:\program files\mediamonkey\scripts\lyricator" or "c:\program files (x86)\med....") as shown above.

It's simple, just give it a try!
tgriff9020(irshjet35)

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by tgriff9020(irshjet35) »

Tyger wrote:For those without a server:

Goto Moves Portable Mixer

Start with "i do not have..."

On the next page just choose :

- Apache2_SE

And any of the PHP Packages

You don't need anything more.

Now download it, install it and put the code-snippet from squirrel into "C:\MOVESPORTABLE\www" (or whatever it's called in your installation) then
take notepad and edit lyricator.js (usually in "c:\program files\mediamonkey\scripts\lyricator" or "c:\program files (x86)\med....") as shown above.

It's simple, just give it a try!

How do you enable the cURL, where is this pasted into?
stevles

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by stevles »

Did all of that, just comes up with a blank screen. Tried the Mowes way, and about fifty variations of the lyrics.php... God damnit, how the [removed] am I supposed to get lyrics for my mp3s? :|
Last edited by Teknojnky on Wed Sep 22, 2010 10:16 am, edited 1 time in total.
Reason: profanity
stevles

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by stevles »

sorry, blank screen on the browser and doesn't even show the lyric script searching, just retrieves nothing.
barkoz
Posts: 121
Joined: Fri May 02, 2008 5:58 pm
Location: Sydney, Australia

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by barkoz »

The cURL bit got me too.
Locked