# Renaming and moving .lrc files using the same pattern used for songs?

**URL:** https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174
**Category:** Support
**Created:** [November 23, 2022, 9:13pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174 "2022-11-23T21:13:22Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Casual\_Tea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/casual_tea/32/18886_2.png) [@Casual\_Tea](https://community.mp3tag.de/u/Casual_Tea)
#### Post date: [November 23, 2022, 9:13pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/1 "2022-11-23T21:13:22Z")

</div>

![grafik](https://community.mp3tag.de/uploads/default/original/2X/1/1ccb7c59c705a2cd789f5b18ad02aa89a786508a.png)  
Often I don't want (Remaster) or (Live) to remain in the title tag of my files. Removing those is easy with regex replace. I then rename all the songs via "convert -\> tag-filename" to the pattern and folder structure of my choice.

Which leaves me with a bunch of .lrc files that have different names than the songs they belong to, breaking the connection between them.

I would love to be able to use mp3-tag to recognize when a song and an .lrc file have the same name and to link the .lrc file to the song, meaning when the song is renamed/moved through mp3-tag, the .lrc file gets renamed/moved as well and ends up in the same folder with the same name as the song it belongs to.

Is that possible? I've been moving and renaming .lrc files by hand for quite some time now and I'd love to be able to automate that step.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 23, 2022, 9:23pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/2 "2022-11-23T21:23:24Z")

</div>

You could embed the external lyrics in a field like UNSYNCEDLYRICS or LYRICS.

Also, you could include the lrc-files as files that are also displayed in the files list and treat them there just like the audio files - if you modify the \_FILENAME directly.  
See File\>Options\>Tags which files are included in the files list.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 23, 2022, 9:59pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/4 "2022-11-23T21:59:53Z")

</div>

> [@Casual\_Tea](#):
>
> The .lrc files did not show up in the file list.

I cannot confirm this. I just tested it and the created lrc-file shows in Mp3Tag.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 23, 2022, 10:10pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/6 "2022-11-23T22:10:49Z")

</div>

Yes. I added more suffixes for non music files to the restrict list but that can not influence the behaviour of Mp3Tag for lrc-files.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 23, 2022, 10:32pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/8 "2022-11-23T22:32:04Z")

</div>

I have now `*jpg; *.png; *.pdf; *.txt; *lrc;` in the list and they all apear.  
All these filetypes naturally have no tags and only some columns (like a column for the filename) will show anything.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 23, 2022, 10:41pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/10 "2022-11-23T22:41:53Z")

</div>

Maybe there is something wrong with your confugration file.  
You can test it if you close Mp3Tag and rename the mp3tag.cfg-file in your `%appdata%\Mp3Tag`-folder so that Mp3Tag has to create a new cfg-file if you start it again. Later you can rename it back.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 24, 2022, 6:16am UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/13 "2022-11-24T06:16:34Z")

</div>

It works for CDG files.  
[2020-11-22] NEW: CDG files are now renamed with corresponding FLAC files.

> [@Enable Support For Karaoke Files in Convert: Tag Filename](https://community.mp3tag.de/t/enable-support-for-karaoke-files-in-convert-tag-filename/43547):
>
> I would like to start by thanking you for the great product you have developed. As a result of using mp3tag, I have a much more enjoyable experience while listening to music. However, I do have a blind spot as it pertains to my karaoke files. Let me explain, given a Karaoke file pair kfile.mp3 and kfile.cdg, I can manipulate the tags of the mp3 file as needed, but when it comes time to rename the file through Convert/Tag - Filename, mp3tag is only capable of renaming the mp3 file. Ask #1 …

If you look at other threads in the forum that deal with lyrics in flac files then it always circles around embedding the lyrics.  
And that works.  
So it is up to your workflow to either keep the external files and loose the link occasionally or embed the data and get the full support in MP3tag.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 24, 2022, 7:00am UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/14 "2022-11-24T07:00:19Z")

</div>

> [@Casual\_Tea](#):
>
> But that means that I have to redo the same steps that I use on the songs themselves on the lyrics separately.

If you shorten that to  
Action -\> Replace with regular expression  
Field: \_FILENAME  
Regular expression: \s(\d{4}\sremaster)  
Replace matches with:  
The it takes any filename and removes the string described by the pattern.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 24, 2022, 10:56am UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/15 "2022-11-24T10:56:46Z")

</div>

> [@Casual\_Tea](#):
>
> Dragging the folder itself into mp3-tag on the other hand leads to .lrc + .jpg files also showing up.  
> Is that expected behaviour?

I noticed this some years ago and so I expect this behaviour. 😉  
I don't know if this behaviour is intential, but I have no problem with it and take it as it is.

I did not take it in account for your problem because you wrote folder and not files:

> [@Casual\_Tea](#):
>
> I've added " \*.lrc;" to the "Restrict incoming files to:" list and **dragged a folder** containing both .lrc and .flac files into mp3-tag.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 24, 2022, 3:42pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/19 "2022-11-24T15:42:59Z")

</div>

> [@Casual\_Tea](#):
>
> I included the .lrc extension in my regular expression because there's no need to change the filename of the flac files

If the regular expression does not find a match, it returns the input string.  
If you modify your data with an action group you could call that modification with just a single step.

On a more philosophical side:  
Separating data that really belongs together into several files proves to be a volatile step in the long run.  
The forum is full of threads where pictures that have "always" been there, suddenly disappeared - because they were not embedded but files in the file system. And when the audio files got moved to different locations, the picture files usually stayed in the original place.  
The same would apply to other files like e.g. the lyrics files.  
The superior move for the covers is to embed them.  
And I would think that the same applies to lyrics as well.  
You can filter for files with lyrics,  
you can sort by modification date.  
And you don't have to leave MP3tag to delete the lyrics in a file when the lyrics are embedded in field.  
OK. You know now the options that are currently available. It is up to you to adopt them or partially use them or cling to the customary workflow if you see too many obstacles for you.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 25, 2022, 11:31am UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/22 "2022-11-25T11:31:06Z")

</div>

> [@Casual\_Tea](#):
>
> That's true, but only as long as what I'm trying to accomplish only modifies the filename based on what's already in the filename. If I split a multi disc album that was numbered from 1-70 the new filename will rely on the new tracknumber metadata of the song, which I can't use in an action that works on the .lrc since that file has no metadata.

It does not help you in this special case but you are not restricted to the content of the filename with non music files. There are other information tags like %\_directory% or %\_parent\_directory%, which ie. would help if you have a folder-structure like me `(%albumartist\%album%\)`. In fact I use these placeholders to rename downloaded booklet-pdfs with cryptical name to my naming scheme with an action of the type `Format Value` for `_FILENAME` and the format string:  
`%_parent_directory% - %directory% - Booklet.pdf`

There are even more options. So you could import the LRC-file with an action of the type "Import Textfile" to i.e. UNSYNCEDLYRICS and later export it to LRC again using the placeholders of your flac-file for the naming scheme.

Then there would be another very crazy method for which the idiom "from behind with the fist through the eye" would be used in Germany, namely by C&P of the entire tags:  
Rename all LRC files to MP3, arrange these MP3 files in MP3Tag in the same order as the corresponding FLAC files, mark the FLAC files, press CTRL-C, mark the MP3 files, press CTRL-V. Your LRC files now have tags, which you can of course use to name the files. Then delete all tags in the MP3s and rename them back to LRC.

> [@Casual\_Tea](#):
>
> As you pointed out that ought to be possible since it's already implemented for CDG files, but I guess only the dev can really answer my question.

You could suggest this as an additional feature.  
As long as there is no such feature I would adjust my workflow and use the already implimented feature to handle CDG-Files, rename the lrc-files to the extension cdg, i.e. with the DOS-command `rename *.lrc *.cdg` and later rename it back to lrc.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 25, 2022, 1:02pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/24 "2022-11-25T13:02:34Z")

</div>

> [@Casual\_Tea](#):
>
> > [@poster](#):
> >
> > There are even more options. So you could import the LRC-file with an action of the type "Import Textfile" to i.e. UNSYNCEDLYRICS and later export it to LRC again using the placeholders of your flac-file for the naming scheme.
> 
> I considered that as well but that's probably not much faster than copying and pasting the few .lrc files per album (not all tracks have synced lyrics) by hand. I'll check it out and report back.

This may be if you do it album per album. But you could do the import for all your files in one go, later filter for %unsyncedyrics% PRESENT and export the lrc-files. And you can export them again and again if there are only made to the filenames.  
Even if I want to depend on lrc-files I would keep the UNSYNCEDLYRICS-tagfield filled. Some redundancy can help sometimes and you can really neglect the extra-space for some text-bytes in contrast to high-resolution covers.

> [@Casual\_Tea](#):
>
> > [@poster](#):
> >
> > You could suggest this as an additional feature.
> 
> In a new post?

That can't hurt. Florian usually reads along, but it makes things easier for him on the administrative side if there is a separate thread, e.g. in the German "Vorschläge" section.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 26, 2022, 7:09am UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/26 "2022-11-26T07:09:00Z")

</div>

> [@Casual\_Tea](#):
>
> The only lyrics I store in .lrc files are trusted synced lyrics or lyrics I saved/synced myself.

That does not change. My suggestion is only to import your own lyrics files.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [December 26, 2022, 3:13pm UTC](https://community.mp3tag.de/t/renaming-and-moving-lrc-files-using-the-same-pattern-used-for-songs/59174/28 "2022-12-26T15:13:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
