# Adding Key to file name gets gibberish

**URL:** <https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963>\
**Category:** Support\
**Created:** [November 4, 2022, 10:57am UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963 "2022-11-04T10:57:13Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [November 4, 2022, 10:57am UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/1 "2022-11-04T10:57:13Z")

</div>

Examples

"C:\New-Music\2022-10\Yomanda-You're Free-James Hurr Remix-Dance - 4A - 125.m4a" -\>  
"C:\New-Music\2022-10\01 - Yomanda - You're Free (James Hurr Remix) - eyJrZXkiOiI0QSIsInNvdXJjZSI6Im1peGVkaW5rZXkiLCJhbGdvcml0aG0iOjk0fQ== - 00125 BPM.m4a"

"C:\New-Music\2022-10\Yomanda-You're Free-James Hurr Remix Edit-Dance - 4A - 125.m4a" -\>  
"C:\New-Music\2022-10\02 - Yomanda - You're Free (James Hurr Remix Edit) - eyJrZXkiOiI0QSIsInNvdXJjZSI6Im1peGVkaW5rZXkiLCJhbGdvcml0aG0iOjk0fQ== - 00125 BPM.m4a"

However the key is set correctly

Even if I simplify the format string down to

%artist% - %title% - %key% - %BPM%

I get the same issue.

---

<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 4, 2022, 11:01am UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/2 "2022-11-04T11:01:35Z")

</div>

Please show the extended tags dialogue Alt-T for such a file.

> [@ianwat](#):
>
> %artist% - %title% - %key% - %BPM%

I think that the proper name for the field is INITIALKEY.

---

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [November 4, 2022, 11:05am UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/3 "2022-11-04T11:05:00Z")

</div>

Perfect, thanks for that, what's weird is that it was working, then didn't!

Initial key works great, many thanks.

---

<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 4, 2022, 11:11am UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/4 "2022-11-04T11:11:00Z")

</div>

So,, what did the extended tags dialogue show?  
I mean, usually computer programs don't make up data but get the information from somewhere.  
So, I assume that you have a field KEY with strange data in it.

---

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [November 4, 2022, 5:10pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/5 "2022-11-04T17:10:26Z")

</div>

This  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/1/11862d162af5941c153769587ec14a1bfb5af961.png)

---

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [November 4, 2022, 5:10pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/6 "2022-11-04T17:10:54Z")

</div>

Strange thing is, I'd been using the same process for some months.

---

<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 4, 2022, 5:14pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/7 "2022-11-04T17:14:16Z")

</div>

Yet, it shows that the data you see is no Gibberish but accurately that what is stored in the field KEY.  
Perhaps you clean up the tag fields and delete those that you don't need.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [November 4, 2022, 5:16pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/8 "2022-11-04T17:16:05Z")

</div>

> [@ianwat](#):
>
> I'd been using the same process for some months.

Do you use one of the many Serato DJ Tools?

It could be that this software creates the MARKER and KEY-tags:

> [@Can mp3tag remove "Tag 2: ID3v2.4.0" tags](https://community.mp3tag.de/t/can-mp3tag-remove-tag-2-id3v2-4-0-tags/54341):
>
> Forgive me I am not really familiar with the format of different types of tags. My question is, can mp3tag remove tags such as those in the attached image? I would like to do that in an automated way for hundreds of files. It was easy to do that and it was easy to do that for m4a "CUEPOINTS;MARKERS;MARKERSV2" tags. I was not able to find these tags in mp3tag. Thanks, Doug

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [November 4, 2022, 5:25pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/9 "2022-11-04T17:25:11Z")

</div>

Looks like similar "gibberish" data is in the fields CUEPOINTS, ENERGY, KEY, MARKERS, and MARKERSV2 that are at least visible on this screenshot. Possibly others before CUEPOINTS and after TRACK exist as well? Some program like Serato or other DJ software (I'm guessing, given the field names) has written these.

---

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [November 4, 2022, 7:45pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/10 "2022-11-04T19:45:47Z")

</div>

Yeah I suspect so. The Strange thing is the process worked fine for ages, then suddenly stopped. I expected to see something in the release notes about key/initial key etc, but couldn't see anything

---

<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 4, 2022, 7:48pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/11 "2022-11-04T19:48:51Z")

</div>

Just to make that clear: KEY is a user-defined field, only INITIALKEY is a standard field.  
Nothing has changed in MP3tag in that respect.

---

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [November 5, 2022, 8:00am UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/12 "2022-11-05T08:00:53Z")

</div>

Ah I need to check that then as I was using Key at the beginning, I'll have to work out which bit of the process changed key from 4a to the long string.

---

<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 5, 2022, 8:13am UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/13 "2022-11-05T08:13:57Z")

</div>

> [@ianwat](#):
>
> Ah I need to check that then as I was using Key at the beginning

Perhaps it started here:

> [@Clean / Explicit from Filename](https://community.mp3tag.de/t/clean-explicit-from-filename/58354/5):
>
> Again, many thanks for your time. So I have %track% -%title% - %artist% - %album% - %key% - %BPM% Working, as per the manual. Some filenames are 01 - (We're Gonna) Rock Around The Clock - Bill Haley - Universal Masters Collection - 11B - 91 So as per the manual %track% -%title% - %artist% - %album% - %key% - %BPM% Works Some are 54 - Eamon - Fuck It (I Don't Want You Back)(Explicit) - I Don't Want You Back - 11B - 91 So in the second case, I don't know what to put here. %track% - %ar…

---

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [November 8, 2022, 12:18pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/14 "2022-11-08T12:18:57Z")

</div>

Yeah it was working then, thanks for all the support and help, knowing about alt-t means I can look it up for myself and check now too!

---

<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 8, 2022, 12:19pm UTC](https://community.mp3tag.de/t/adding-key-to-file-name-gets-gibberish/58963/15 "2022-12-08T12:19:49Z")

</div>

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