Page 1 of 10

Lyrics Fetcher

Posted: Mon Dec 05, 2011 12:00 pm
by ACDias
What is it?

A program that fetches lyrics from websites and embed them into the ID3v2 tag. I didn't use scripts because I just hate VBScript. So I wrote this program. I use Lyrics and Comment Viewer and I made a change to the script to load my program automatically when MediaMonkey starts.

How does it works?

When a song starts do play it check if there's an embed lyrics. If there's not, they fetch the lyrics and embed it. You can choose and save your preferred search engine in it. You just have to know a little bit of XPath 1.0. Currently it goes with the Brazilian search service called Terra Letras. Feel free to remove it if you don't like it and put you preferred one.
If you want I can put more search engines. Just give me the XPath and the URL. You have to put the URL of the search engine replacing in the artist and the song name by {artist} and {song} (in the URL like this: http://letras.terra.com.br/winamp.php?a ... sica={song}). It will use the ID3v2 tag to get the names.
The program runs in the notification bar of Windows. When you right click in it you can mark the song as instrumental (it will save the word "Instrumental" in the lyrics). You can choose if it will show balloons when the program is downloading a lyric.

I've tested only in my machine so I ask you to test it out and if it crashes or does not work, report me please :)
Feel free to embed the program with your Scripts (just zip everything and make the install.ini file copy the files), to make your script loads my application just put the following code:

Code: Select all

strProgramPath = SDB.ApplicationPath&"LyricsFetcher.exe"
SET objShell = CREATEOBJECT("Wscript.Shell")
objShell.Run Chr(34) & strProgramPath & Chr(34),1,false
Requirements and Issues

.Net Framework 4.0
This addon does not work on Portable version of Media Monkey, because it needs the COM object registered in Windows.

Screenshots

Image
Image
Image

If you want new features just ask here that I could try to do it :)

Download Link

Re: Lyrics Fetcher

Posted: Mon Dec 05, 2011 10:50 pm
by Michel37
There is no download.

Re: Lyrics Fetcher

Posted: Tue Dec 06, 2011 6:24 am
by ACDias
Added an alternate download since media monkey moderators are taking too long to approve the addon...

Re: Lyrics Fetcher

Posted: Tue Dec 06, 2011 8:26 am
by Michel37
How do i "install" it?

Re: Lyrics Fetcher

Posted: Tue Dec 06, 2011 2:38 pm
by ACDias
just double click on LyricsFetcher.exe
It will start MediaMonkey automatically if it isn't started.
I've seen an issue that it does not work if MediaMonkey is installed as a portable application.

Re: Lyrics Fetcher

Posted: Tue Dec 06, 2011 2:44 pm
by ACDias
I've embed it here with Lyrics and Comment Viewer

Re: Lyrics Fetcher

Posted: Tue Dec 06, 2011 3:49 pm
by nohitter151
ACDias wrote:Added an alternate download since media monkey moderators are taking too long to approve the addon...
Sorry, approved now. Please send me a PM if you need approval on an upgrade/etc.

Re: Lyrics Fetcher

Posted: Wed Dec 07, 2011 4:38 am
by Michel37
Works great.

Re: Lyrics Fetcher

Posted: Wed Dec 07, 2011 4:54 pm
by kiwichick
Hi there, This seems like an awesome addon to have and I really want it!!!!!!! But, is there an issue with MMPortable and, if so, is it going to be fixed? Cheers.

Re: Lyrics Fetcher

Posted: Wed Dec 07, 2011 11:19 pm
by ACDias
I want to fix it... but I still don't know how to do it. Because the application needs mediamonkey to be registered in the system (because it loads a com library from mediamonkey)... I'm still searching a workaround to do that...

Re: Lyrics Fetcher

Posted: Thu Dec 08, 2011 12:17 am
by Lowlander
Try 1460 in the Beta forum, I think something related to COM and Portable Install was addressed.

Re: Lyrics Fetcher

Posted: Sat Dec 10, 2011 12:31 pm
by alexandremf
Fantastic work ACDias, thanks a lot.

I'm not shure if it's a bug from your plugin or from Lyrics and Comments Viewer, but MM isn`t recognizing line breaks. I need to edit file tags and save lyric again, and then the line breaks are fixed.

Have you worked on another search engine? Like those ones use by lyricator, for example? Thanks again and congratulations.

Re: Lyrics Fetcher

Posted: Sun Dec 11, 2011 8:37 am
by ACDias
I'll try to put more search engines by default :)
About the bug, I'm talking with the creator of LV to solve this issue.

Re: Lyrics Fetcher

Posted: Sun Dec 11, 2011 9:01 am
by heartofhate
ACDias wrote:I'll try to put more search engines by default :)
this sounds good. the default search engine isn't that good for my taste of music (there are still 20% files without lyrics which are not found by lyricator either)

Re: Lyrics Fetcher

Posted: Sun Dec 11, 2011 7:50 pm
by kiwichick
ACDias wrote:I'll try to put more search engines by default :)
About the bug, I'm talking with the creator of LV to solve this issue.
Thanks ACDias, I'm really looking forward to checking this out.