# Create a Playlist problem with newline characters

**URL:** https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [November 8, 2019, 1:09pm UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998 "2019-11-08T13:09:45Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![sablerock](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@sablerock](https://community.mp3tag.de/u/sablerock)
#### Post date: [November 8, 2019, 1:09pm UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/1 "2019-11-08T13:09:45Z")

</div>

Guys  
I have a folder with 500 songs, when I click FILE/PLAYLIST and create a playlist, I found it lists 501 songs.  
After 2 hours I found the one song causing the problem.  
I have attached it here.  
My version is 2.97.  
Albert  
sorry cant upload mp3 files..so what now?

---

<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 8, 2019, 2:24pm UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/2 "2019-11-08T14:24:10Z")

</div>

When you load those files into MP3tag - what does the status bar at the bottom of the window tell you about the number of loaded files?

If you think that your phenomenon has something to do with a file itself, you should check it for consistency - see this link for links to some utilities that help in many cases:

> [@How to check files for errors?](https://community.mp3tag.de/t/how-to-check-files-for-errors/44633):
>
> It’s required and often helps to reduce support cycles to check files for errors before filing a bug report. Symptoms of erroneous files are often missing or wrong bitrate or length audible blips or skips tags seem to be sticky and cannot be removed There are some really good tools to check the files for errors, namely MP3 Diags — identifies many different issues in MP3 files Website: [http://mp3diags.sourceforge.net](http://mp3diags.sourceforge.net) Download: [MP3 Diags - Getting MP3 Diags](http://mp3diags.sourceforge.net/010_getting_the_program.html#binWindows) If the font size in MP3 Diags is …

I seriously doubt that this is an MP3tag bug as MP3tag usually does not invent filenames.

---

<div class="post-metadata">

### Author: ![sablerock](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@sablerock](https://community.mp3tag.de/u/sablerock)
#### Post date: [November 9, 2019, 7:07am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/3 "2019-11-09T07:07:55Z")

</div>

[mp3tag.zip](https://community.mp3tag.de/uploads/short-url/hkov1L5v5ULcCPlmwbdIH8OIDZV.zip) (204 Bytes) I have just run the mp3 file thru MP3val. Came out clean no error.  
I have attached the playlist file

---

<div class="post-metadata">

### Author: ![Avtem](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/7ea924/32.png) [@Avtem](https://community.mp3tag.de/u/Avtem)
#### Post date: [November 9, 2019, 7:51am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/4 "2019-11-09T07:51:07Z")

</div>

Could you attach m3u file with 501 songs in, please? And song, which causes the 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 9, 2019, 8:14am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/5 "2019-11-09T08:14:37Z")

</div>

If this is the m3u entry of the file that causes the problems, then one could say that the entry is in an illegal format

```auto
#EXTM3U
#EXTINF:162,The Mama's and The Papa's
 - California Dreamin

The Mamas & The Papas - California Dreamin.mp3

```

The problematic entry is the line break in front of "- California Dreamin".  
You would have to investigate how that got there.  
Also, I think, the real filename should follow the previous line immediately without an empty line in between.

If one opens the original m3u then this produces an error that the extension of the file is not correct.

To investigate the tag field contents, use the extended tags dialogue (Alt-T) and see if there are any line breaks in the field TITLE.

---

<div class="post-metadata">

### Author: ![sablerock](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@sablerock](https://community.mp3tag.de/u/sablerock)
#### Post date: [November 9, 2019, 10:13am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/6 "2019-11-09T10:13:16Z")

</div>

Guys  
I cant find line break char anywhere.  
Can I email the actual mp3 song to ?  
I am sure you will the problem  
Albert

---

<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 9, 2019, 10:28am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/7 "2019-11-09T10:28:28Z")

</div>

> [@sablerock](#):
>
> I cant find line break char anywhere.

There are additional CR/LFs in **front and after**"California Dreamin".

---

<div class="post-metadata">

### Author: ![sablerock](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@sablerock](https://community.mp3tag.de/u/sablerock)
#### Post date: [November 9, 2019, 11:02am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/9 "2019-11-09T11:02:44Z")

</div>

Ok..how can I see these characters?  
You cant see it 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 9, 2019, 11:09am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/10 "2019-11-09T11:09:19Z")

</div>

> [@sablerock](#):
>
> Ok..how can I see these characters?  
> You cant see it in MP3tag

If you refer to my posting - I was writing about your uploaded Playlist-file.  
If you ask for the mp3-file - take a hexviewer, i.e. Hxd ([mh-nexus](https://mh-nexus.de/en/))

I would just make a copy of the mp3-file, delete all tags and fill them in new manually. Then try again to create a playlist with the copy.

---

<div class="post-metadata">

### Author: ![sablerock](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@sablerock](https://community.mp3tag.de/u/sablerock)
#### Post date: [November 9, 2019, 12:05pm UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/11 "2019-11-09T12:05:12Z")

</div>

> [@poster](#):
>
> ([mh-nexus](https://mh-nexus.de/en/))

Had a look at ([mh-nexus](https://mh-nexus.de/en/)) , this is really for software developers.  
I have just copied the mp3 file and overwrote all text manually. Problems solved. Playlist file ok.  
Still leaves us a problem in MP3tag though.  
Should enhance their coding to warn us about these characters.

---

<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 9, 2019, 12:28pm UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/12 "2019-11-09T12:28:12Z")

</div>

I wonder which program got these characters into the title field.  
I admit that a line break is not visible in the ordinary text field or file list.  
But if you had inspected the TITLE field in the extended tags dialogue and opened the edit window, you would have seen more than just one line.  
Also, you can filter for such files with  
%title% MATCHES \n  
I would do it to see if you have some more of these strange title fields.  
If you fear that such a thing happens again, you could modify the setting for the extra information in File\>Options\>Playlist\>enhanced information with a format string:  
`$replace(%artist% - %title%,$char(10),,$char(13),)`

---

<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: [November 11, 2019, 9:12am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/13 "2019-11-11T09:12:25Z")

</div>

Thanks for reporting! I'll make sure to remove those newline characters before they're written to the playlist with the next release.

---

<div class="post-metadata">

### Author: ![sablerock](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@sablerock](https://community.mp3tag.de/u/sablerock)
#### Post date: [November 11, 2019, 6:36pm UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/14 "2019-11-11T18:36:22Z")

</div>

[ohrenkino]  
Thanks, both your suggestions worked on my problem.  
But Florian, a code fix will be grealy appreciated!!!  
We are novices..I just want to listen to my music.  
I know very little about ASCII/Hex CRLF characters.  
Albert

---

<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: [November 15, 2019, 10:58am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/15 "2019-11-15T10:58:01Z")

</div>

Fixed with [Mp3tag v2.99b](https://community.mp3tag.de/t/455).

---

<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 15, 2019, 10:58am UTC](https://community.mp3tag.de/t/create-a-playlist-problem-with-newline-characters/46998/16 "2019-12-15T10:58:03Z")

</div>

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