Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Inconsistency between FLAC and MP3 track number tags
« previous next »
  • Print
Pages: [1]

Author Topic: Inconsistency between FLAC and MP3 track number tags  (Read 3867 times)

Offline afruff23

  • Member
  • *
  • Posts: 171
Inconsistency between FLAC and MP3 track number tags
« on: August 17, 2008, 01:17:16 AM »
Hi, I used the search function and could not find the answer. Try this:

In foobar2000, create entries in the TRACKNUMBER and TOTALTRACKS field in an mp3 file (make sure to put numbers in them). Now do the same for a FLAC file. For this example, let's say the values are "1" and "14" respectively (without the quotes of course).

Make sure your *.wps file displays the track number tag (%in). For the mp3 version of the file, the track number is displayed as "1/14", whereas for the FLAC file, the track number is displayed as "1".

I don't know what is the correct version (1/14 or just 1), but I'd like some consistency. Unless of course, foobar2000 is not following specifications.
Logged

Offline adam917

  • Member
  • *
  • Posts: 124
Re: Inconsistency between FLAC and MP3 track number tags
« Reply #1 on: August 19, 2008, 09:15:38 AM »
I believe the behaviour within Rockbox is normal due to the way those files' tags are set-up. MP3s ID tag spec states that tags with total track values in them be formatted as a single string of x/y, with x being the current track & y being the total tracks in the CD in question.

FLAC & other formats that use Vorbis Comments as their tagging system allow virtually anything to be used as a field, though there has been agreement on some common fields, like 'TOTALTRACKS' for example. Perhaps Rockbox doesn't recognise that particular tag, so that also explains why it won't show up on FLACs or Vorbis files (Vorbii? ;-) ).
Logged

Offline afruff23

  • Member
  • *
  • Posts: 171
Re: Inconsistency between FLAC and MP3 track number tags
« Reply #2 on: August 19, 2008, 03:53:44 PM »
Well if it isn't standardised, then it should not be prohibited to replicate the MP3 tag behavior for the FLAC vorbis comments on Rockbox.
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Inconsistency between FLAC and MP3 track number tags
« Reply #3 on: August 21, 2008, 03:42:09 PM »
Rockbox doesn't read any total tracks and total discs tags, so I'd prefer it to not display the "/xx" part of ID3 track number tags - which is what I have in my local builds.

Hm, maybe I should make a patch out of it...
Logged

Offline afruff23

  • Member
  • *
  • Posts: 171
Re: Inconsistency between FLAC and MP3 track number tags
« Reply #4 on: August 22, 2008, 01:31:33 PM »
Quote from: Lear on August 21, 2008, 03:42:09 PM
Rockbox doesn't read any total tracks and total discs tags, so I'd prefer it to not display the "/xx" part of ID3 track number tags - which is what I have in my local builds.

Hm, maybe I should make a patch out of it...

Then how does it display total tracks tags for mp3 files?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Inconsistency between FLAC and MP3 track number tags
« Reply #5 on: August 22, 2008, 02:01:27 PM »
Total tracks is a different field, which isn't read.  At the moment it is reading the total tracks from the track number field as it is e.g. 1/14.  Of course, it isn't reading total tracks per se, it is just displaying track number as 1/14.  Lear is saying that tracknumber shouldn't be displayed as 1/14 - rockbox should ignore / and anything after it, and therefore just display 1 for track number.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline afruff23

  • Member
  • *
  • Posts: 171
Re: Inconsistency between FLAC and MP3 track number tags
« Reply #6 on: August 22, 2008, 02:26:51 PM »
Well sure. I am also just saying it needs to be consistent. Either display the "x/y" for all formats or just "x". It comes down to preference which one you would prefer.

EDIT: Is there any way to view metadata tags of music files in the state they actually are (unparsed)? Foobar2000 shows the mp3 fields TOTALTRACKS and TRACKNUMBER rather than showing just TRACKNUMBER as "x/y".
« Last Edit: August 22, 2008, 02:29:09 PM by afruff23 »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Inconsistency between FLAC and MP3 track number tags
« Reply #7 on: August 22, 2008, 02:37:41 PM »
Quote from: afruff23 on August 22, 2008, 02:26:51 PM
Well sure. I am also just saying it needs to be consistent. Either display the "x/y" for all formats or just "x". It comes down to preference which one you would prefer.

And this is exactly what Lear said he had done personally and was thinking f preparing a patch for - remove the /y from e.g. MP3 and just display x for all formats.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline adam917

  • Member
  • *
  • Posts: 124
Re: Inconsistency between FLAC and MP3 track number tags
« Reply #8 on: August 29, 2008, 05:11:20 PM »
Quote from: afruff23 on August 22, 2008, 02:26:51 PM
Well sure. I am also just saying it needs to be consistent. Either display the "x/y" for all formats or just "x". It comes down to preference which one you would prefer.

EDIT: Is there any way to view metadata tags of music files in the state they actually are (unparsed)? Foobar2000 shows the mp3 fields TOTALTRACKS and TRACKNUMBER rather than showing just TRACKNUMBER as "x/y".
Well Foobar2000 uses TOTALTRACKS but the actual stored values it uses for MP3 is X/Y in one field (it just uses the Y value for TOTALTRACKS & X for TRACKNUMBER). Try doing it manually & you'll see what I mean. Newer formats like Vorbis & FLAC have their own fields for the total number of tracks, like TOTALTRACKS. MP3 doesn't have a separate field for it so the standard way has been to put it in the field track numbers go in along with a slash.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Inconsistency between FLAC and MP3 track number tags
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.084 seconds with 15 queries.