Page 23 of 33

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

Posted: Thu Sep 16, 2010 12:28 pm
by BlueDragon
the lyrics are not only in wrong language, it's also a a totally wrong text.

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

Posted: Thu Sep 16, 2010 10:52 pm
by nic
worked for a couple of days, now just wont find the correct lyrics any longer. =(

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

Posted: Fri Sep 17, 2010 6:50 am
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.

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

Posted: Fri Sep 17, 2010 9:15 am
by Milagro
Skyler wrote:spanish lyrics instead of english ones again :-?
the last two days the script worked...
Yea I have the same problem

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

Posted: Fri Sep 17, 2010 9:23 pm
by iglemartin
same problem here... it worked like a charm for the last couple of days but now is getting wrong lyrics...

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

Posted: Sat Sep 18, 2010 6:29 am
by Firetribe
Damn, got home just a few days too late...not working anymore...:-(

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

Posted: Sat Sep 18, 2010 7:41 am
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 :(

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

Posted: Sun Sep 19, 2010 11:45 am
by Rvan
I have to wait, too hard for me :oops:

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

Posted: Sun Sep 19, 2010 6:54 pm
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

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

Posted: Mon Sep 20, 2010 3:30 am
by Rvan
Another method for fix it without own server?

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

Posted: Tue Sep 21, 2010 5:39 am
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!

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

Posted: Tue Sep 21, 2010 2:37 pm
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?

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

Posted: Wed Sep 22, 2010 3:32 am
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? :|

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

Posted: Wed Sep 22, 2010 3:34 am
by stevles
sorry, blank screen on the browser and doesn't even show the lyric script searching, just retrieves nothing.

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

Posted: Wed Sep 22, 2010 6:19 am
by barkoz
The cURL bit got me too.