lyrics grabber issue

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: lyrics grabber issue

Re: Code in lyrics

by jmorgan24 » Wed Sep 10, 2014 11:34 pm

Ok...after looking in the bug forum I see its been fixed in the release candidate 4.1.5.1711. Guess I'll download that and see what happens.

Code in lyrics

by jmorgan24 » Wed Sep 10, 2014 11:26 pm

Hello, I'm a long-time MediaMonkey user, new to the forum. I'm using the latest version of MM (4.1.4.1709), and most of the time when I auto-fetch lyrics some javascript or whatever it is gets downloaded along with the lyrics. It obviously corrupts my lyrics and is very annoying. If I fix it manually it may revert back if I keep auto-fetch on. So this is a pretty big hindrance. Any suggestions on how to remedy this?

Image

Re: lyrics grabber issue

by MAdS » Wed Sep 10, 2014 12:14 am

Excellent. Thank you! :D

Re: Javascript on lyrics

by nohitter151 » Mon Sep 08, 2014 9:20 am

its fixed in the latest beta version
http://www.mediamonkey.com/forum/viewto ... 90#p394990

Javascript on lyrics

by wexlei » Mon Sep 08, 2014 8:44 am

Hello there.

I've searched on for this problem here and could not find anything, so I'm opening this topic to discuss this...

I've put the Art & Details panel displaying the lyrics and the MM to search automatically the lyrics.

The problem is that practically all lyrics comes with the same Javascript interpreted as plain text on the first line.

That's the code:
<script>
(
function() {
var opts = {
artist: "Green_Day",
song: "Carpe Diem",
adunit_id: 39382076,
div_id: "cf_async_" + Math.floor((Math.random() * 999999999))};
document.write('');
var c=function(){cf.showAsyncAd(opts)};
if(window.cf)c();
else{cf_async=!0;
var r=document.createElement("script"),
s=document.getElementsByTagName("script")[0];
r.async=!0;
r.src="//srv.tonefuse.com/showads/showad.js";
r.readyState?r.onreadystatechange=function(){
if("loaded"==r.readyState||"complete"==r.readyState)
r.onreadystatechange=null,c()}:r.onload=c;
s.parentNode.insertBefore(r,s)};
}
)
();
</script>
There is a way to avoid MM bring this code along with the lyric?

Thanks in advance.

Re: lyrics grabber issue

by Lowlander » Thu Sep 04, 2014 5:06 pm

Re: lyrics grabber issue

by Alek » Wed Sep 03, 2014 9:53 pm

Hi there,

MM 4.1.4.1709
Windows 7 64 bits, English US
i am glad I found this post, I was searching for an answer 2 weeks now because I have the same issue:
<script>(function() {var opts = {artist: "Cheap_Trick",song: "Surrender",adunit_id: 39382076,div_id: "cf_async_" + Math.floor((Math.random() * 999999999))};document.write('');var c=function(){cf.showAsyncAd(opts)};if(window.cf)c();else{cf_async=!0;var r=document.createElement("script"),s=document.getElementsByTagName("script")[0];r.async=!0;r.src="//srv.tonefuse.com/showads/showad.js";r.readyState?r.onreadystatechange=function(){if("loaded"==r.readyState||"complete"==r.readyState)r.onreadystatechange=null,c()}:r.onload=c;s.parentNode.insertBefore(r,s)};})();</script>
It was random but now happens all the time.

Lyrics fetch code included in result

by MAdS » Mon Sep 01, 2014 10:41 pm

MM standard lyrics fetch script is being included in result. See example below.

It happens every time now but it was working until it isn't. I don't know exactly when it started, but it wasn't related to any change in MM itself. I was using 1703 until today, updating to 1709 didn't help.

System info: Windows 7 64 bits, Brazilian Portuguese.
<script>(function() {var opts = {artist: "Alter_Bridge",song: "Calm The Fire",adunit_id: 39382076,div_id: "cf_async_" + Math.floor((Math.random() * 999999999))};document.write('');var c=function(){cf.showAsyncAd(opts)};if(window.cf)c();else{cf_async=!0;var r=document.createElement("script"),s=document.getElementsByTagName("script")[0];r.async=!0;r.src="//srv.tonefuse.com/showads/showad.js";r.readyState?r.onreadystatechange=function(){if("loaded"==r.readyState||"complete"==r.readyState)r.onreadystatechange=null,c()}:r.onload=c;s.parentNode.insertBefore(r,s)};})();</script>Calm the fire
Do not fight anymore
They don’t know what they’re saying
They don’t know anything at all
For all that matters is you know
That this is not their fault
...

Re: lyrics grabber issue

by MMFrLife » Sat Aug 30, 2014 9:20 pm

I'm getting this too now! Thanks for reporting Lowlander.
.1709

[looks like it'll be fixed in 4.1.5.1711, yipee!!] :D

Re: lyrics grabber issue

by Lowlander » Tue Aug 26, 2014 1:20 pm

Re: lyrics grabber issue

by LordDvinn » Tue Aug 26, 2014 1:18 pm

Ok made a workaround myself...

the lyricssearch is done by the java script "lyricsSearch.js" in the scripts folder.
Just add

Code: Select all

	l = l.replace(/<script>.*<\/script>/gi, ''); //Try to work around bug "including scriptcode at start" --- LD
after line 260

Code: Select all

    l = l.replace(/<\/?[^br>]+(>|$)+/gi, ''); // All other HTML tags that isn't <br>
that fixed it for me. But i am still not sure that it will include all lyrics.
(Dont forget to make a backup of the file... just in case 8) )

Regards
--LD

Re: lyrics grabber issue

by LordDvinn » Tue Aug 26, 2014 12:14 pm

I am getting this issue too, is there a workaround or a fix? (beside cleaning it manually). Btw. it seems to me that the lyrics are not complete when this happens.

Best Regards
--Lord Dvinn

Re: lyrics grabber issue

by satan4u » Thu Aug 21, 2014 11:30 am

still does it with the new version
i did it for the whole grave digger pray album
and 2 songs from the taproot plead the filth album

Re: lyrics grabber issue

by satan4u » Thu Aug 21, 2014 11:17 am

4.1.3
didn't even know that version 4.1.4 was released it never told me I'll check for updates and install them now

Re: lyrics grabber issue

by Lowlander » Thu Aug 21, 2014 11:05 am

Which version of MediaMonkey are you on? I haven't noticed this on MediaMonkey 4.1.4?

Top