# Playing FLAC files in correct order via Squeezebox

**URL:** <https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740>\
**Category:** Support\
**Created:** [March 6, 2019, 10:17pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740 "2019-03-06T22:17:36Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![jahoe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jahoe](https://community.mp3tag.de/u/jahoe)\
**Post date:** [March 6, 2019, 10:17pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/1 "2019-03-06T22:17:36Z")

</div>

Hello there,

I am using mp3tag to tag FLAC files which I then want to play via my good old Squeezebox. I run the squeezebox server on my NAS. When the files are not tagged, Squeezebox takes the file name to define the order. But the fact is that I like to tag the files with artist/album/year/discnumber/track/title as a minimum  
I mainly use the tagging for live concert bootlegs I am collecting.  
Often these are multiple discs when they are coming from CD bootlegs. I use for filenames always "D%discnumber%T%Track% %title%" as the filename. track title is sometimes with or without a discnumber. So e.g 01,02,03 or 101,102. Discnumber I always use a plain 1,2 etc. In this setup the order is always selected correctly, assuming bases on disc and track number

But in case of single discs or a full concert audio without disc separations my squeezebox does not pick up the right order it seems and sorts the files alphabetically on track title.

a solution would be to keep the track number in the title, but I don't like that to be honest.  
But I mainly want to understand why this happens. Why does Squeezebox not order on track number when having a single disc album, but does do it correctly as soons as mutiple discs are in the album...

---

<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:** [March 7, 2019, 5:50am UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/2 "2019-03-07T05:50:57Z")

</div>

I assume that you have the same fields set in a single disc album.  
I am missing ALBUMARTIST in your list of fields

> [@jahoe](#):
>
> artist/album/year/discnumber/track/title

So perhaps adding ALBUMARTIST would help.

---

<div class="post-metadata">

**Author:** ![jahoe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jahoe](https://community.mp3tag.de/u/jahoe)\
**Post date:** [March 7, 2019, 8:31pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/3 "2019-03-07T20:31:06Z")

</div>

Sorry, yes I always fill the album artist field.  
i must correct myself as I found also that in some (not sure all) multiple cd sets, the order was also alphabetically (per disc) .

---

<div class="post-metadata">

**Author:** ![jahoe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jahoe](https://community.mp3tag.de/u/jahoe)\
**Post date:** [March 15, 2019, 11:09am UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/4 "2019-03-15T11:09:58Z")

</div>

Ok I did some further testing.

- When I tag all fields except for "track" my player plays them in the correct order, probably because it looks at the file name

- BUT if I tag also the track number, then the player switches to alphabetically and something goes wrong.  
So my workaround could be to tag all except for the track no. but if someone has an idea what can be cause and solution, I would be happy to hear

---

<div class="post-metadata">

**Author:** ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)\
**Post date:** [March 21, 2019, 12:28am UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/5 "2019-03-21T00:28:10Z")

</div>

This isn't really an Mp3tag question, although it could have something to do with how you're using Mp3tag. Have you posted the question in the Squeezebox forums? You'll get a lot more help over there.

[https://forums.slimdevices.com/forumdisplay.php?27-Logitech-Media-Server](https://forums.slimdevices.com/forumdisplay.php?27-Logitech-Media-Server)

Is this happening for all albums, or only some of them? Offhand, this sounds pretty much like how I tag files. One thing that I do, however, is that I never use DISCNUMBER and TOTALDISCS tags on single disc albums. The main reason is that when using something like

DISC-TRACKNUM. TITLE

as a title display format in LMS, I don't want to see the disc number with all the single disc albums that make up 99% of my library.

One thing I always tell people who are good about tagging all of their files, is to completely disable the "guess tags" feature of LMS, so that it never uses information in the file name. To do that, you'd clear all of strings that appear under

Settings \> Advanced \> Formatting \> Guess Tags Formats

If, however, you _don't_ tag all of your files and you want it to use file names, you'll want to keep that and possibly modify it according to your file naming convention.

You could post all of the tags from, say, two tracks on one of your albums that isn't sorting correctly. Post the text that you see in the LMS web interface when you drill down to the track level and click 'View tags'.

---

<div class="post-metadata">

**Author:** ![jahoe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jahoe](https://community.mp3tag.de/u/jahoe)\
**Post date:** [March 23, 2019, 8:43pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/6 "2019-03-23T20:43:57Z")

</div>

Thanks for the response.

I followed your advice to remove the guess tags. Is there also an option to select file name as playing order?

here example of 2 files that are not played in the right order:

ALBUM: 1980-10-25 The Mountain Show - Memorial Coliseum, Portland, OR (Ev2)

ALBUMARTIST: Bruce Springsteen and the E Street Band

ARTIST: Bruce Springsteen and the E Street Band

COMMENT: Taper : Pat Lee

DISCNUMBER: 1

GENRE: Rock

TITLE: Badlands

TRACK: 13

VENDOR: reference libFLAC 1.1.2 20050205

YEAR: 1980

* * *

ALBUM: 1980-10-25 The Mountain Show - Memorial Coliseum, Portland, OR (Ev2)

ALBUMARTIST: Bruce Springsteen and the E Street Band

ARTIST: Bruce Springsteen and the E Street Band

COMMENT: Taper : Pat Lee

DISCNUMBER: 1

GENRE: Rock

TITLE: Darkness On The Edge Of Town

TRACK: 04

VENDOR: reference libFLAC 1.1.2 20050205

YEAR: 1980

---

<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:** [March 23, 2019, 9:11pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/7 "2019-03-23T21:11:03Z")

</div>

and what does the filename look like?

---

<div class="post-metadata">

**Author:** ![jahoe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jahoe](https://community.mp3tag.de/u/jahoe)\
**Post date:** [March 23, 2019, 9:18pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/8 "2019-03-23T21:18:55Z")

</div>

101 Prove It All Night.flac  
|  
|  
104 Darkness On The Edge Of Town.flac  
|  
|  
113 Badlands.flac

So the LMS plays the discs in right order , but the songs per disc in alphabetical. Many of these live recordings are numbered in 2 or 3 cd sets. But if it would be one cd set, the issue would be the same

---

<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:** [March 23, 2019, 9:45pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/9 "2019-03-23T21:45:11Z")

</div>

So, the easiest way would be to add the complete track number to the TITLE.

---

<div class="post-metadata">

**Author:** ![jahoe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jahoe](https://community.mp3tag.de/u/jahoe)\
**Post date:** [March 23, 2019, 10:32pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/10 "2019-03-23T22:32:57Z")

</div>

Yes, that is true. But I wonder if there is no real solution or setting.

---

<div class="post-metadata">

**Author:** ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)\
**Post date:** [March 24, 2019, 3:48pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/11 "2019-03-24T15:48:18Z")

</div>

> [@jahoe](#):
>
> TITLE: Darkness On The Edge Of Town  
> TRACK: 04

Your problem might be that these have the wrong field name for track number. The correct name should be TRACKNUMBER. I could be wrong about that, because LMS might recognize both names, but I'd change them all and see what happens.

In Mp3tag's options, go to **Tags \> Mapping** and see what you have for User-defined field mappings. I believe the following are configured by default (it's been a long time since I installed Mp3tag, so I'm not positive):

| Tag | Source | Target |
| --- | --- | --- |
| VorbisComment | DATE | YEAR |
| VorbisComment | ORGANIZATION | PUBLISHER |
| VorbisComment | TRACKNUMBER | TRACK |

What this means is that you always use the name TRACK in Mp3tag, but it will read and write TRACKNUMBER. What I would guess happened is that some other program incorrectly tagged the files with that name and Mp3tag has never rewritten them.

This could actually be difficult to fix in Mp3tag, since that mapping will mean it would always read/write TRACKNUMBER when you try to address the TRACK field. You could remove the mapping, copy those numbers to a different field, restore the mapping and rewrite them to the correct field name, but there's probably an easier way.

---

<div class="post-metadata">

**Author:** ![jahoe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jahoe](https://community.mp3tag.de/u/jahoe)\
**Post date:** [March 24, 2019, 8:07pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/12 "2019-03-24T20:07:31Z")

</div>

Wow, Yes I think I found it due to your suggestion.  
In my installation there were no mappings. So I added them for Date-\>Year and TRACK-\>TRACKNUMBER. I will test after some re-tagging work.  
I also found and album that was tagged longer time ago and plays in the right order. Here LMS showed TRACKNUMBER in the tags and not TRACK"

I still need to test it more, but it looks like you helped me finding the rootcause of my issue.

I also found the same issue on the LMS forums:

[https://forums.slimdevices.com/archive/index.php/t-102335.html](https://forums.slimdevices.com/archive/index.php/t-102335.html)

[https://forums.slimdevices.com/showthread.php?43845-TRACK-or-TRACKNUMBER-in-flac&p=272592&viewfull=1#post272592](https://forums.slimdevices.com/showthread.php?43845-TRACK-or-TRACKNUMBER-in-flac&p=272592&viewfull=1#post272592)

---

<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:** [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/playing-flac-files-in-correct-order-via-squeezebox/44740/13 "2026-02-09T12:27:58Z")

</div>


