Confirmed! Thanks, those cases do not show up now.
I'd like to request a feature, if I copy and pasted the whole genius url with track [EXAMPLE: https://genius.com/Akon-i-wont-remix-lyrics] that the window would read and convert to Akon-i-wont-remix-lyrics when next is pressed instead of a genius 404: not found error
Hi @albiek1976 I'm working on it. I've tryed to implement this feature before but without success. I'll let you know if I get it
Thanks and Thank-you for making this available!!
AutoHotKey script has stopped working if I am correct. Looks like Genius changed their website design and possibly other thongs as well. Would be great if you could look into it. Your work has been appreciated.
Maybe the problem is the changes in my Genius Tag Source script. Communication between Mp3tag and Genius is working fine. I'm not using AutoHotKey, so I can't help you.
@bugzero i want to bring to your attention that the script no longer functions properly, im thinking the issue has to do with this line
regexpreplace "<div [\w\s\-\"=]+?Lyrics__Container[^>]+?>(.+?)<\s*\/div\s*>" "<lyrics:start>$1<lyrics:end>"
@Ouargui I think it is repaired now. New ads were added to lyrics body. Now I think they will be removed.
it happened again, yet another change
Yes, you are right. I fixed it and checked in some lyrics.
![]()
thank you so much, it's trouble how many times they keep adding stuff so thank you for your efforts ![]()
First of all, thank you so much for making this script. It's been so useful to me. Recently, I've encountered some errors using this. Some of the lyrics gets skipped (ex. Verse 2). I suspect it has to do with the longevity of the lyrics cuz most of the songs that had the problem had long lyrics but I'm not entirely sure. I would be grateful if you could look into this
Hello @andrewb0922, the lyrics length should not be a problem. Maybe the ads use a different code structure that I'm not cleaning well. I've tryed the script on three new themes an cannot find any problem. Could you supply me a song with the problem you describe. I will try to fix it.
i had the same problem with songs like Purity by A$AP Rocky, it skipped verse 2, but strangely enough other songs are completely fine.
Thanks @Ouargui and @andrewb0922
Finally I've seen the problem! It's an HTML failure. The page source has an error.
Normally lyrics can be extracted from html code or from a json structure supplied in the same code.
I usually extract them from html code, but I will have to change it to json.
Maybe in a few days I will be ready to publish a new version.
Stay tuned
Oh thank you so much. Much appreciated.
I wonder why verse 2 seems to be the problem most of the time
Finally I have had time to start developping the Genius JSON Web Source Script.
My current web script works on clean lyrics, but the one you have proposed me is very difficult because it is full of garbage. Maybe the person who created that lyrics wasn't careful enough writing it. I will try to create some regular expressions to clean it and maybe it will be of use in other lyrics, but I don't want to break the simple and clean ones.
I will post the new Web Source when I finish it and I will ask you to test it.
Suggestion:
I like my embedded lyrics a little bit more formated like the lyrics are displayed on the Website.
Your scripts erase all paragraphs while cleaning so that the text has no fixed points for the eye.
Why don't you leave the original format on Genius like it is?
Hi @poster. You are right, in JSON version I've replaced the '\n' (LF, 0x0A, line feed) which is in lyrics to its unicode character code '\u000a'. This code is the standard in linux systems, even in music players. Windows needs two bytes to display the lines correctly '\r\n' (CR+LF, 0x0D+0x0A, carry return+line feed) and so mp3tag does.
It is easy to replace it but this increases the size of lyrics in file.
Maybe we can suggest @Florian to implement this in a 'lyrics viewer'.
You can also modify it in "Genius#LyricsJSON.inc" file, open it with Notepad++ and in line 107 replace:
replace "\\n" "\u000a"
with:
replace "\\n" "\u000d\u000a"
@bugzero
Sorry, the problem was in front of the minitor. ![]()
I just tested with a file that already had UNSYNCEDLYRICS filled with unformatted content and I did not realize that the content was not replaced but instead of this LYRICS was created.