[WS] Import lyrics from websites


#81

Try the update.


#82

Tried, bug fixed, thank you very much :slight_smile:


#83

Hey all, I was wondering if its possible to create a lyric retrieval script for CowboyLyrics .com? I took a quick look at the scripting language used in the other available src's and vaguely could follow how lyrics were returned, I have no real scripting experience. The sites search feature is CGI based using the "Get" action "cgi-bin/cseek.cgi" powered by mnogosearch. One thing that looked like might be an issue, if scripting is possible, the urls to the page holding lyrics are, ..\lyrics\artist-name\name-of-song-(then here is a random variable). I wasn't sure if there was command which is able to handle a variable, like %dummy% in mp3tag.

Thanks Guys!


#84

Here's my script for cowboy lyrics...

Lyrics_cowboylyrics.zip (988 Bytes)


#85

Hi,

I'm a new user, actually I was using the lyricsplugin for winamp to get lyrics displayed and now I'm addicted, however it stopped working (probably my dorms IP got blocked :frowning:).

Anyhow, Not being able to get the lyrics for multiple files / the entire list is ridiculous !!! Am I really suppose to collect the lyrics for my 20K+ list one by one ?!?

I really like the idea of having my lyrics written to the songs but it shouldn't be that difficult.
It's a simple tag writing job.

Anyhow, hoping you guys will cre8 some fix for that... otherwise I'll just have to write a program that does that and I hate wasting time on things that are already out there... (All you need is a simple fix that will make it run file by file or in bunches... depends on db abilities and software configs)

Hoping I'm not too rude,
SK.


#86

hey dano.

Thanks a lot for the script, works great man!


#87

You prob. just need to update your lyricsplugin as it was recently updated, your colleges server is prob. blocking the redirection that occurs when using older versions.


#88

Quick question, In the scripts initial definitions is the following line, [WordSeperator]=+ , telling the script to replace spaces with "+" when querying cowboylyrics.com or is it defining what is used as a word spectator when extracting information from mp3tag?

Other than my question, after looking at your code I was able to piece together how these src scripts are compiled, big help!

Thanks Again.


#89

My problem was just about every album had a couple songs that wern't found but when I replaced the search terms from %artist% %title% to %artist% %album% in your script it returned all songs indexed for that particular album far more consistently. Using album as a serach term seemed to eliminate issues due to minor differences between song titles. I saw it also returned the page where the albums complete song list was indexed and by using the handy hyperlink feature i could quickly locate any songs which weren't returned for any other reason.


#90

Hey Guys :slight_smile:

Concerning the LyrikWiki script I got 2 things.

the first is, the script seems to not work or it can't get the lyric when there is a translation. You can try this with this lyrics and also almost all Megaherz Lyrics
I just couldn't get the lyrics, the script finds the page but doesn't get the lyrics.
I wasn't able to find the reason, because the line the script searches for does exist in the source.
So is it possible to get one or both languages?
/edit
found the reason, on translated there are 3 occurences of "<div class='lyricbox'". The First one has no content, just some comment, don't know what they are using this for, the second one is the original language, the third is the translated.
When using
findline "<div class='lyricbox'" 2
it works for translated lyrics, but non-translated lyrics it wouldn't work anymore, because there's only one occurance...
don't know how to solve this :confused:

The second thing, is it also possible to get the albumcover from lyricwiki, too?
You could do this via 2 ways, the first, easier, way is to go directly to the file:

http://lyrics.wikia.com/File:%artist%_-_%album%.jpg

this should work in 99% of all cases, because it is somewhat of policy for uploading cover images on lyricwiki.
I've tried this at the end of the file:

# ###################################################################
#                    C  O  V  E  R
# ###################################################################

[SearchBy]=File:$caps(%artist%) - $replace($caps(%album%),&,%%26,?,%%3F).jpg
[ParserScriptAlbum]=...
outputto "coverurl"
findline '<img alt="File:' + %artist% - %album%.jpg'" src="
sayuntil '" width='

but it wont work :confused:
The Link at the bottom of the window ("This album on Lyricwiki") does indeed link to the cover file page, but it doesn't get the imagefile :confused: and the debug log doesn't seem to work for me
it wont work even as its own script and the debug log wont work either :confused:

additionally, there is no lyric anymore and no search for it, is it even possible to do 2 different searches in one script?

the second way would be going via album and/or artist pages and search the cover there in the source, but that's a bit more complex and not guaranteed to work because not every album has it's own page. and I think the rate of no albumpages is higher than a wrong named coverfile.

Just found a third thing, question marks have to be encoded in the URL, see here:

change line 17:
[SearchBy]=$caps(%artist%):$replace($caps(%title%,'(' ),&,%%26)

to:
[SearchBy]=$caps(%artist%):$replace($caps(%title%),&,%%26,?,%%3F)

and you're done

I think this is it for now.
greets
~mihawk~


#91

Ok, I've the Song Meanings lyrics script, it is working, but to make faster my work with songs I want to create the keyboard shortcut to this script in mp3Tag. How can I do that??


#92

You can call the last used script with CTRL+SHIFT+I

You can also add & signs to the file name:

Rename Lyrics#SongMeanings.src to &Lyrics#&SongMeanings.src

Then you can call it by pressing ALT+S, L, S

or by removing the # sign you can save one key stroke:
Lyrics &SongMeanings.src makes ALT+S, S


#93

Lyrics by letras.terra.com.br !

http://db.tt/CrfLc2N
is
http://dl.dropbox.com/u/1791791/Lyrics%23Terra.rar


#94

It seems to be a RAR file hosted on DropBox.


#95

It is. Unzip.


#96

SongMeanings changed their site layout slightly. Has something to do with copy right reasons, I don't know...
Anyway, here's an updated version of the script, since the old one stopped working for most lyrics.

The forum doesn't allow me to upload it (what's up with that?), so here's a MediaFire link.

EDIT: Uploaded the wrong file, sorry. Now it's correct.


#97

/push

Referring to [WS] Import lyrics from websites
Anyone found a solution for pulling covers from lyricwiki?
I am not really experienced with the API of MP3Tag and I have no Idea how to pull a coverimage from a site :S
Would be great if someone found a way, because LyricWiki got most albums covered so it is a nice source for album arts


#98

But the covers are of mixed quality

Cover_Art_LyricWiki.zip (514 Bytes)


#99

Thanks for the script, just used some hours to try it again myself.
After 3 hours (and at least one of that just cause i couldnt get my debug to work) i just realised that I searched for the wrong parameter and for that reason nothing could be found (is it possible that the FindLine function doesn't accept variables like %artist% or %album% ? anyway....)

got it to work as I looked at your script and searched for a better method for FindLine ...

I used the different of the 2 Methods I mentioned in my post so I used the direct File Page for searching for the full-size-file.

Here's my script, if anyone wanna use it :slight_smile:
Cover_Art_lyricWiki_File.src (681 Bytes)

Ah by the way, you need to capitalize your search strings in your script just like on the original lyricwiki script cause on lower-case-abums or -artists it wouldn't find anything :slight_smile:

So, think we got both methods covered now :smiley:

Thanks again for the script and indirect help :wink:

Cover_Art_lyricWiki_File.src (681 Bytes)


#100

I have a problem with the script for magistrix.de

Even though the lyrics are on the website, in MP3Tag it won't be displayed.
I can select the proper artist/title in the selection window, but in the tagging window there is no unsyncedlyrics field.