Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: LRC lyrics file to tag? and the other way too? (Read 15969 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

LRC lyrics file to tag? and the other way too?

Hi, I hope this is the right place for this, I tried to search the site but all the keywords were 3 or less characters so it didn't work... (lrc to tag)

I have a bunch of lrc files, and I want to embed them. I use foobar2000, but any method for achieving this (automatically) would be nice.
From what I see all the lyric plugins download and saveto tags, or files, but they don't seem to have tools to do much else, maybe I have missed something.

Also, from that, being able to extract the tags and save them to txt or lrc files would be good too.

Is any of this possible (and been done already)?

And from a programming point, it doesn't seem to hard, I might look into it if nothing is out there.

Thanks a lot for your help.

 

LRC lyrics file to tag? and the other way too?

Reply #1
Quote
I have a bunch of lrc files, and I want to embed them. I use foobar2000, but any method for achieving this (automatically) would be nice.
MiniLyrics ($25 USD) can do that.  When you play a file, it automatically downloads an LRC file (if there's one in its database) and it can be configured to automatically embed the lyrics.

I use MiniLyrics with LRC files.  Their database is not bad...    I'd estimate there were synchronized lyrics for about half my music collecton.  For me,  the database made it worth paying for MiniLyrics. 

But as you'd expect with anything "automatic", the timing/synchronization is frequently off a bit, and it can be off by a LOT if you have a live/different version of the song, and sometimes the lyrics are not 100% correct.      MiniLyrics does have a tool that's supposed to make editing easier, but I'll never all of the lyrics for my entire collection edited/corrected.

LRC lyrics file to tag? and the other way too?

Reply #2
Mp3tag can batch import text files into tag fields.


LRC lyrics file to tag? and the other way too?

Reply #4
Mp3tag can batch import text files into tag fields.


i think that only works with one text file containing tags for a whole bunch of tracks. it won't do one file per track like the OP wants - at least not in a batch.

it should be fairly trivial to cobble something together with the WSH panel mod component for foobar2000. that can iterate a foobar playlist and batch import/export from tags/files.

if you need any help with that, give me a shout. it would definitely be easier to write something to export than it would import because you wouldn't have to worry about illegal character substitution when it comes to windows filenames. you'd base the export filename on the filename of the original audio file so it would require no effort at all.


LRC lyrics file to tag? and the other way too?

Reply #5

thanks for all of your replies.

Quote
I have a bunch of lrc files, and I want to embed them. I use foobar2000, but any method for achieving this (automatically) would be nice.
MiniLyrics ($25 USD) can do that.  When you play a file, it automatically downloads an LRC file (if there's one in its database) and it can be configured to automatically embed the lyrics.

But as you'd expect with anything "automatic", the timing/synchronization is frequently off a bit, and it can be off by a LOT if you have a live/different version of the song, and sometimes the lyrics are not 100% correct.


i think you misunderstood me, i do not want to download lyrics from online, i already have the files downloaded, i just want to embed them to the files. (and extracting them from the tags and saving them as files would be nice too!) but thanks, that program does look nice.
but it is not automatic right, i mean, the timing etc, someone has to time them manually right, or are there tools to try to attempt to sync unsynced lyrics into sycned lyrics?
thanks for your help.

yes mobyduck, i use that plugin, although it cannot do what i am trying to do here.
dano, ah ok, i should have looked into that, thanks  but maybe it is a bit late because...
marc2003, thanks for your offer of help, i appreciate it, although i have basically finished writing a simple java based interactive command line application to extract lyrics to files, and to load them to tags from files.
i have not looked into anything about character set encoding... i am hoping it will be ok.. haha
i understand about illegal character substitution, i made it so i can specify a custom path to load/save lyrics from, and things like %album% %date% work etc, but there is nothing to stop a '/' or a ':' etc, being loaded to the path via tags, so i just give a warning to be careful at the moment. i supposed it would not be very hard at all to simply replace all illegal file name characters for windows (which contains all the ones from osx and linux, and more, right?), and replace them with a _ or something ugly.
something annoying that i don't do yet will be seeing if the lyrics are lrc or txt. i will just see if the first character is a '[', that should be good enough i expect.

could the masstagger plugin work for this? i cannot try it at the moment. thank you.

LRC lyrics file to tag? and the other way too?

Reply #6
something annoying that i don't do yet will be seeing if the lyrics are lrc or txt.


i thought lrc files were for synced lyrics only and they should be stored in different tags. txt should be be used for unsynched lyrics

LYRICS > lrc
UNSYNCED LYRICS > txt

LRC lyrics file to tag? and the other way too?

Reply #7
yes sure, although, i still think it is nice to 'make sure'?
i saw that that convention is used for foobar, or at least the plugin i use, if it is 'widespread' (that ONLY synced ones are in 'LYRICS') then i will go about that, it only makes things easier

i was going to helpful to some people and check if the lyrics in the LYRIC tag are synced, and if not save as txt.
but ok i won't worry about that, i assume if they will even make use of my little tool when i upload it, and it being command line, that they will be able to fix things up and make sure everything is as it should be before hand

about worrying about the title formatting paths and illegal characters, i think i will ignore that as well, since it is not necessary to use them.
the lyrics can be extracted to/loaded from:
(1) either the same directory as the current audio file, having the same filename (but lrc or txt), or
(2) loaded in a subdirectory or a specified name, such as 'lyrics', with the same filename etc,
(3) the custom path, which you could type F:/music/lyrics/%artist% - %date%/%filename%

when i finish it, should i upload it here? just edit my first post or something? i don't want to have to set up some code/hosting thing, i just want for it to be googleable for anyone searching for how to do it.

when you say it is possible to use the 'WSH panel mod component', what would that involve? i have never used that plugin, you can make scripts for it or something?

LRC lyrics file to tag? and the other way too?

Reply #8
i must admit i have no idea about conventions used with other software. you'll have to look into that.

as for WSH panel mod, it's a panel that you can add to your foobar layout. the WSH refers to windows script host meaning it's basically javascript but it also provides access to core foobar functions. they're all documented but it can be hard to understand... well for me it was. it took lots of looking at other people's work for me to understand it. it can respond to player events, mouse movement and clicks. there are no methods to access the foobar library but you can work on any files in a given playlist. of course you have full access to all title formatting and reading/writing of tags.

the one major upside of using this is you don't have to worry about tagging libraries for all different file formats/tagging schemes because all that is done by the foobar core.

the thread/download link is here: http://www.hydrogenaudio.org/forums/index....showtopic=70363


LRC lyrics file to tag? and the other way too?

Reply #9
Quote
think you misunderstood me, i do not want to download lyrics from online, i already have the files downloaded, i just want to embed them to the files.
I'm pretty sure MiniLyrics will do that. 

It's almost too automatic, and I'm not always sure what it's doing...  I know it looks for a local LRC file before going online, and I assume if you've checked "Save Lyrics In MP3 file", it will take the lyrics from your LRC file.

Quote
(and extracting them from the tags and saving them as files would be nice too!
I just did a quick experminet, and that seemed to work.  I re-named my LRC file so that MiniLyrics wouldn't associate it with the song I was playing (in Winamp).  The lyrics still showed-up (from the embedded tag, I assume).  In the MiniLyrics window, I saved the lyrics and I got a new LRC file with the same name as the MP3 file.

Quote
but it is not automatic right, i mean, the timing etc, someone has to time them manually right, or are there tools to try to attempt to sync unsynced lyrics into sycned lyrics?
I'd say "semi-automatically".  You can open a TXT file in the MiniLyrics editor.  Then, as you play the file you click on "Sync Lyrics", and a time stamp is added to the 1st  lyric-line.  Then it jumps to the next line, etc.   

It sounds easy, but unelss you know the song very well you'll be a little late (or early) on at least some of the lines.    I've had the best results by taking the extra step of editing the time stamps manually, which is VERY tedious!  It could be improved....  It would be nice if you could repeat a selected part of the song while "nudging" the lyrics back-and-forth until they line-up.

LRC lyrics file to tag? and the other way too?

Reply #10
Mp3tag can batch import text files into tag fields.


i think that only works with one text file containing tags for a whole bunch of tracks. it won't do one file per track like the OP wants - at least not in a batch.

No, that's just one feature for text files. The other is the one I described (see Actions > Import text file).

LRC lyrics file to tag? and the other way too?

Reply #11
ah yes you are right. i just tried it myself. apologies for not checking properly before.

LRC lyrics file to tag? and the other way too?

Reply #12
It sounds easy, but unelss you know the song very well you'll be a little late (or early) on at least some of the lines.    I've had the best results by taking the extra step of editing the time stamps manually, which is VERY tedious!  It could be improved....  It would be nice if you could repeat a selected part of the song while "nudging" the lyrics back-and-forth until they line-up.

thanks for your information and help on minilyrics
i tested it out and hmm, i didn't really like it, i tried to see past the interface, but the lyric saving features were not very customisable, it did not seem to be able to save lyrics to flac tags? maybe i missed it, there were a few tag types it could save to/as, anyway.
it found some lyrics, one was unsynced, yet it still tried to like, show each line by each line, even though it was not synced, i didn't really like that either.
if you need it then sure, although if you are on foobar, i happily enjoy foo_uie_lyrics3, for me it does not even come close, especially if i were to pay $25 for it.

my big gripe with downloading lyrics is that i the songs are in a foreign (non english) language, many times the song is translated into english, and you don't know before you download the lyric. this does not work well when you batch download them, since you need to weed out the translated ones. (although that is just my personal preference)
i have a feeling some people would give foreign languages lyric files a low rating, because they may just want english ones, that annoys me.

if mp3tag can be made to import the files to tags, can  it also export the contents of a tag to text files?
although, i have a solution made for my needs anyway, that i will share soon

LRC lyrics file to tag? and the other way too?

Reply #13
if mp3tag can be made to import the files to tags, can it also export the contents of a tag to text files?

Yes it's possible. But to do it in batches you need an extra tool that works together with Mp3tag.
You can find it in the Mp3tag forum.

LRC lyrics file to tag? and the other way too?

Reply #14
Yes it's possible. But to do it in batches you need an extra tool that works together with Mp3tag.
You can find it in the Mp3tag forum.

thanks, i still never have used mp3tag, simply because with foobar and some plugins i can do virtually everything i want, apart from this thing.
it seems a shame to have to use another program, but it's better than not doing what i want  thanks for the help

LRC lyrics file to tag? and the other way too?

Reply #15
Post deleted - please remove.