# Runtime Error when moving files (.lrc files present)

**URL:** https://community.mp3tag.de/t/runtime-error-when-moving-files-lrc-files-present/63108
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [December 15, 2023, 5:29pm UTC](https://community.mp3tag.de/t/runtime-error-when-moving-files-lrc-files-present/63108 "2023-12-15T17:29:21Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [December 15, 2023, 5:29pm UTC](https://community.mp3tag.de/t/runtime-error-when-moving-files-lrc-files-present/63108/1 "2023-12-15T17:29:21Z")

</div>

I'm getting a runtime error when I try to move files from one location to another. I've deduced that this happens when I have .lrc (lyric) files present in the same folder with names that match their song files.

I'm using an action which imports lyrics from a "txt" file by importing from a .lrc or .txt file with a matching filename.

I've noticed I get this runtime error without fail if I do not delete these txt & lrc files before initiating the move. I have also noticed mp3tag fails at the 50% mark exactly each time & during the move it seems to always move half the music files & their respective .lrc files before coming to a halt.

I can't say this is really an issue but I figured bringing it to attention may be worth while

[Mp3tagError.log](https://community.mp3tag.de/uploads/short-url/9jYATDUJ6lQkkHKYppCG2lI8nND.log) (771 Bytes)

---

<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: [December 18, 2023, 6:56pm UTC](https://community.mp3tag.de/t/runtime-error-when-moving-files-lrc-files-present/63108/2 "2023-12-18T18:56:03Z")

</div>

> [@mista\_j](#):
>
> I've noticed I get this runtime error without fail if I do not delete these txt & lrc files before initiating the move.

What kind of action do you use to "move" the files? I use an action like this:

```auto
Format Value
Field:
_DIRECTORY
Format String:
D:\rips\$validate($regexp(%albumartist%,'^([^;]+)(;\s)?([^;]+)(?:.*)',$1$2$3),-)\$validate(%album%,-)

```

daily with loads of .lrc files and haven't run into any issues. The .lrc files get renamed and moved alongside .mp3 and .flac files without a problem.  
It would probably help if you could provide the action you are trying to use as well as each step leading up to the error.

Edit:  
Sorry about that, I don't think I've ever seen anyone use the "move" option. To be honest I didn't know of its existence.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 18, 2023, 6:58pm UTC](https://community.mp3tag.de/t/runtime-error-when-moving-files-lrc-files-present/63108/3 "2023-12-18T18:58:51Z")

</div>

> [@Casual\_Tea](#):
>
> What kind of action do you use to "move" the files?

It's **Edit → Move...**

I've already assigned #bug-confirmed and liked the initial report. Once I have a fix, I'll give an update here.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 22, 2023, 1:33pm UTC](https://community.mp3tag.de/t/runtime-error-when-moving-files-lrc-files-present/63108/4 "2023-12-22T13:33:00Z")

</div>

This is now fixed with [Mp3tag v3.23c](https://community.mp3tag.de/t/455). Many thanks for reporting the issue!

---

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [December 22, 2023, 4:15pm UTC](https://community.mp3tag.de/t/runtime-error-when-moving-files-lrc-files-present/63108/5 "2023-12-22T16:15:37Z")

</div>

Wow, that was fast. Thank You

---

<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: [January 21, 2024, 4:16pm UTC](https://community.mp3tag.de/t/runtime-error-when-moving-files-lrc-files-present/63108/6 "2024-01-21T16:16:06Z")

</div>

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