# Get tags from file

**URL:** https://community.mp3tag.de/t/get-tags-from-file/18400
**Category:** General Discussion
**Created:** [November 5, 2016, 3:20pm UTC](https://community.mp3tag.de/t/get-tags-from-file/18400 "2016-11-05T15:20:10Z")
**Posts on this page:** 5
**Page:** 2

<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, 2016, 12:00pm UTC](https://community.mp3tag.de/t/get-tags-from-file/18400/21 "2016-11-23T12:00:25Z")

</div>

> [@Silver Surfer](#):
>
> ![](https://community.mp3tag.de/uploads/default/original/2X/a/a12ddd56d3550027cf00a28e1952f535fa150b5a.jpg)  
> 
> ![](https://community.mp3tag.de/uploads/default/original/2X/0/0ad6b45e0dfae241d041a87c52dc1c6f34915d21.jpg)
> 
> |%\_filename\_ext% |%artist% |%title% |%dummy% |%dummy%/%dummy%/%year% |%dummy% |%dummy%
> 
> 19824139C.mp3
> 
> Is This the reason
> 
> ![](https://community.mp3tag.de/uploads/default/original/2X/b/b8b2c94391df9aba188796937bf8fe779b52d3bf.jpg)  
> looking at the file extension
> 
> If you guys don't know i stand no chance
> 
> Thanks for trying

It is a little puzzling for me why the properties show the fiel extension twice: (.mp3) (.mp3)  
If I open the properties of an mp3 file, I see it only once...

So could it be that the files are called e.g. 19824139C.mp3.mp3?  
(Probably not)  
But showing the extensions would reveal if the file name has e.g. a blank at the end in front of the extension.

Or you could copy the filename in all its beauty from the text file and paste it into the filter box and see which file is found.  
The filename  
19824139C.mp3 does not match  
19824139C .mp3

---

<div class="post-metadata">

### Author: ![Silver\_Surfer](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/7993a0/32.png) [@Silver\_Surfer](https://community.mp3tag.de/u/Silver_Surfer)
#### Post date: [November 23, 2016, 3:57pm UTC](https://community.mp3tag.de/t/get-tags-from-file/18400/22 "2016-11-23T15:57:22Z")

</div>

Well opening the files in MP3TAG the file extension is just .mp3

In the filter box i tried

19814239C.mp3  
19814239 C.mp3  
19814239

They all found the correct and only file

---

<div class="post-metadata">

### Author: ![Mp3Terry](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@Mp3Terry](https://community.mp3tag.de/u/Mp3Terry)
#### Post date: [November 23, 2016, 5:37pm UTC](https://community.mp3tag.de/t/get-tags-from-file/18400/23 "2016-11-23T17:37:03Z")

</div>

> [@Silver Surfer](#):
>
> ![](https://community.mp3tag.de/uploads/default/original/2X/a/a12ddd56d3550027cf00a28e1952f535fa150b5a.jpg)

The display of the double mp3 (19824139C.mp3.mp3) happens when you have VLC as the default audio player for mp3's ☹

Your text file looks OK on the face of it - but I wonder if the spaces are actually 'Tabs' as every thing looks very nicely lined up.  
In a quick test of this on my MP3Tag 'Tabs' will cause **no match** , but also a parse error., for example: " **Cannot parse line 1**."

It is very easy to convert any tabs to spaces in Notepad++.  
Open the file, select **all** and from the **'Edit**' menu option select **Blank Operations** and then **TAB to Space** , and all and any tabs will be converted to spaces.

---

<div class="post-metadata">

### Author: ![Mp3Terry](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@Mp3Terry](https://community.mp3tag.de/u/Mp3Terry)
#### Post date: [November 23, 2016, 6:14pm UTC](https://community.mp3tag.de/t/get-tags-from-file/18400/24 "2016-11-23T18:14:57Z")

</div>

Having just done some further tests it may be that the mismatch of spaces between text file contents and the mask is also causing the issue.

Once you have made sure there are no Tabs then you will also need to reduce the number of spaces so they match your mask.

This is also very easy in Notepad++ 🙂  
Select **all** and using **Replace** (Ctrl H) enter **two** space's in the **Find What:** text box, make sure the **Replace With:** text box is empty and press **Replace all** and that should clear out any multiple spaces, leaving you something like this:

**|19814121C.mp3 |Human League |Open your Heart |23 |11/10/1981 |21 ||**   
**|19814123C.mp3 |Elvis Costello |Good Year For the Roses |8 |11/10/1981 |23 ||**

It may or may not have spaces after each section and you will have to adjust the mask once you have done the removal based on what is produced.

I would recommend that you work on a copy of your master text file.

As a reminder each line will need to have the same format - so if you are left with some lines that have a space after the artist name (for example) and others don't then a further run will be needed.  
In this case search for **|** (space bar) and replace it with **|** (just the bar). This should then make all lines like this:

**|19814121C.mp3|Human League|Open your Heart|23|11/10/1981|21||**  
**|19814123C.mp3|Elvis Costello|Good Year For the Roses|8|11/10/1981|23||**

And adjust the mask accordingly.

---

<div class="post-metadata">

### Author: ![Silver\_Surfer](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/7993a0/32.png) [@Silver\_Surfer](https://community.mp3tag.de/u/Silver_Surfer)
#### Post date: [November 23, 2016, 8:19pm UTC](https://community.mp3tag.de/t/get-tags-from-file/18400/25 "2016-11-23T20:19:31Z")

</div>

😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃

Terry you have been like a dog with a bone with this.

I think you know by now it worked

Good tip about working on a copy of the file ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

I am one happy man, there were times when i nearly deleted the files because i never thought i would see them tagged, and i wasn't gonna do it manually

Thank you both, whoo hoo

[Previous page](https://community.mp3tag.de/t/get-tags-from-file/18400.md?page=1)
