Lyrics Fetcher

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Lyrics Fetcher

Re: Lyrics Fetcher

Post by Lowlander » Fri May 17, 2013 5:49 pm

ACDias wrote:I don't know if you can see the lyrics from the android version.
MediaMonkey for Android supports lyrics (swipe right to left on Artwork in Now Playing).

Re: Lyrics Fetcher

Post by ACDias » Fri May 17, 2013 5:36 pm

I don't know if you can see the lyrics from the android version. but yes. the lyrics are saved in the mp3 idv3 tag (so any player that shows this tag can see the saved lyrics, including android players - if they have such feature).


I didn't know Media Monkey is going to add a similar feature on the official version... So I'm gonna freeze developing until I see if the official version of this feature is good enough to deprecate my program. :)

There's a known issue when you have more than one source. It makes the URL wrong in the second try to get the lyrics... Until I fix it, put your primary source first because the next tries can fail...

Re: Lyrics Fetcher

Post by nikkodemus » Thu May 16, 2013 10:28 pm

ACDias wrote:
nikkodemus wrote:Hey, total noob, don't know squat about Xpaths and Java script. t's a totally awesome app, I'm not complaining. Only if maybe it searched a couple of sites instead of just Terra. Like Terra first, and if it doesn't get it there, then it goes to another lyrics website?

I tried changing it in properties, but i've been fiddling with it for days with no success.

For AZLyrics
URL: http://www.azlyrics.com/lyrics/{artist}/{song}.html
XPath: //*[@id="main"]/div[4]

Check artist lower case, artists remove spaces, song lower case, song remove spaces

I'm rebuilding the app, adding more features like fetch even when not playing.



Thanks so much!!!!!!!!!!!! It was the xpath thing i didn't get right.
Only one more random question. I'm running all this music off my sd card. If I put mediamonkey beta on my android, the normal regular one from Google play, all the lyrics are saved to the songs themselves? Or is their an android version of lyrics fetcher and I run through my music again on my phone and re-download the lyrics?

And this is an awesome programme! Don't mind listening to all my music, because apparently i had some double copies of music with different tags. Already saved quarter gig, and I'm only in the Cs.
Thumbs up ACDias! You're a lifesaver, dude.


I am stopped using Lyrics Fetcher as now using the awesome 4.1 of MediaMonkey... does all the lyrics fetching for you


Looked for it, but all I could find was a debugging version. By experience Debug versions don't go well with my noob condition, lol. My eyes squint and my bowels tighten. But thanks for the suggestion and giving me that awesomeness to look forward to!

This has to be the best help forum ever. I was actually helped!!! By TWO people!!! :D This never happens!

Re: Lyrics Fetcher

Post by ACDias » Sat May 11, 2013 11:52 am

nikkodemus wrote:Hey, total noob, don't know squat about Xpaths and Java script. t's a totally awesome app, I'm not complaining. Only if maybe it searched a couple of sites instead of just Terra. Like Terra first, and if it doesn't get it there, then it goes to another lyrics website?

I tried changing it in properties, but i've been fiddling with it for days with no success.

For AZLyrics
URL: http://www.azlyrics.com/lyrics/{artist}/{song}.html
XPath: //*[@id="main"]/div[4]

Check artist lower case, artists remove spaces, song lower case, song remove spaces


I'm rebuilding the app, adding more features like fetch even when not playing.

Re: Lyrics Fetcher

Post by jonisaksson » Sat May 11, 2013 2:43 am

nikkodemus wrote:Hey, total noob, don't know squat about Xpaths and Java script. t's a totally awesome app, I'm not complaining. Only if maybe it searched a couple of sites instead of just Terra. Like Terra first, and if it doesn't get it there, then it goes to another lyrics website?

I tried changing it in properties, but i've been fiddling with it for days with no success.

Also, maybe some way for it to automatically go through the library with me having to play each of the songs, and double check each one?



I am stopped using Lyrics Fetcher as now using the awesome 4.1 of MediaMonkey... does all the lyrics fetching for you :)

Re: Lyrics Fetcher

Post by nikkodemus » Fri May 10, 2013 7:55 pm

Hey, total noob, don't know squat about Xpaths and Java script. t's a totally awesome app, I'm not complaining. Only if maybe it searched a couple of sites instead of just Terra. Like Terra first, and if it doesn't get it there, then it goes to another lyrics website?

I tried changing it in properties, but i've been fiddling with it for days with no success.

Also, maybe some way for it to automatically go through the library with me having to play each of the songs, and double check each one?

Re: Lyrics Fetcher

Post by doydaun » Mon Apr 29, 2013 11:07 am

ACDias wrote:Hi, can you send me the song to see if it happens with me? And are you using MM4 right?

I've added a new version with new features. In context menu in the tray you can edit the lyrics and you can now edit what text will be shown when a song is instrumental.

About the line breaks issue. I think its because the LV renders the lyrics as an HTML and it does not replace the \r\n or \n to <br/> to show. I've changed the script to make it work but I'm not the author of the plugin so I can't fix it for you. If you want to try, open {MMInstallationDir}\Scripts\Auto\LyricsViewer.vbs in a text editor and search for LyrTxt=HtmlMarkup(Sng.Lyrics) and replace it for LyrTxt=Sng.Lyrics. Now search for Doc.Add " <p>" & LyrTxt & "</p>" and replace it for Doc.Add " <p><pre>" & LyrTxt & "</pre></p>". I'll talk to the author and see if he can update it...


Thanks, i used a different method. Just add new line in HtmlMarkup() function: HtmlMarkup=Replace(Txt,Chr(10),"<br>" & Chr(10)).

ACDias, it's very helpful, thanks a lot, and sorry for bad english.

Aqui é Brasil!

Re: Lyrics Fetcher

Post by ACDias » Wed Apr 17, 2013 5:19 pm

There's no way to look in Album Artist now... sry
Try this to find the right XPath:
1. Open Google Chrome and go to a lyrics page (Ex: http://www.azlyrics.com/lyrics/franzfer ... ehard.html)
2. Right click in the text and go to Inspect Element
3. On the bottom left there's an icon with a magnifier picture. Click in it.
4. Select the only the part of the website the contains all the text of the lyrics
5. It will select a node on the bottom panel here was this selected: <div style="margin-left:10px;margin-right:10px;">
6. Right click on the selected node and click Copy XPath. Ex: //*[@id="main"]/div[4]
7. Try it in the program (not guaranteed it will work, it's the simpler way to get the xpath)

PS: I didn't tested this XPath I've put above, so I don't know if it works...

Re: Lyrics Fetcher

Post by jonisaksson » Wed Apr 17, 2013 3:53 am

ACDias,

Sorry for being stupid but can you help me what I need to put in the xpath to get Plyrics to work?

I saw you posted the URL for plyrics but dont understand what I need to put in the xpath.

Many thanks for your help
Jon

Edit: Also how do I change it so it looks for Album artist rather than Artist?

Lyrics Fetcher Sources

Post by cmor153 » Wed Feb 20, 2013 4:50 am

I'd like to add websites or lyrics sources to Lyric Fetcher

For each source it needs 3 things

    Name
    URL with {artist} {song}
    XPATH

If anyone has a list of sources with each of these 3 things I'd be happy.

Thanks

Re: Lyrics Fetcher

Post by ACDias » Mon Jan 21, 2013 3:49 pm

on options there's some themes to choose for lyrics viewer.
You can edit the font of the theme in the CSS file (you'll need to know html + css to do this) located in C:\Users\{your user}\AppData\Roaming\MediaMonkey\Scripts\LyricsViewer\themes\{theme}

Re: Lyrics Fetcher

Post by bradscotsanders » Sun Jan 20, 2013 10:36 am

I just wanted to thank you for the incredible script. Works wonderfully. I do have an issue I am puzzled by...

I used your fix for the line breaks by editing the vbs file, but now my font is Roman, and doesn't match anything in my skin. Is there someplace that defines (or over-writes) the font in the Lyrics Viewer that is controlled by the Lyric Fetcher?

A great add-on. I would love add additional capabilities.

Re: Lyrics Fetcher

Post by T3KN0GH057 » Fri Jan 18, 2013 12:32 am

well you have source code? i could help...

Re: Lyrics Fetcher

Post by ACDias » Thu Jan 17, 2013 9:48 pm

T3KN0GH057 wrote:How about being able to use "Album Artist" rather than artist because alot of my music (at least 25,000 songs of 56,000) have multiple artists ... and it FAILS for any with multiple artists

its ok to do that, but nowadays i'm too busy and I don't have time to do it soon. I've released a new version due to a lot of people asking me to let them use azlyrics. probably next month I will have time to work on the project again. :)

Re: Lyrics Fetcher

Post by T3KN0GH057 » Thu Jan 17, 2013 5:40 am

How about being able to use "Album Artist" rather than artist because alot of my music (at least 25,000 songs of 56,000) have multiple artists ... and it FAILS for any with multiple artists

Top