Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA (Read 33905 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #25
Any progress? Should I pick it up where I left it, or is there a newer version somewhere?

Cheers,
David.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #26
Any progress? Should I pick it up where I left it, or is there a newer version somewhere?

Cheers,
David.


I've been swamped with various projects lately (prepping work to be done on 3 albums, a book (possibly series), two programming projects, website re-design plans, getting a regular job etc,, plus I've understandably refrained from doing any further work on my page, so I have not done anything to further the table contents themselves yet (I also underestimated the work, going from initially from "Hey, I can easily do this!" to "Holy shit there's a lot of insane tags out there, and more existing lists than I thought.").

However...

I did some improvements to the look of your page. I sectioned the whole thing. This allows possible contributors to edit parts/sections of the page instead of the entire page. (see Edit link to the far right on each section).
The bonus is also a nice Content table at the top of the page.
I also sectioned the other text/parts of the page, moved the issues to the bottom of the page, and added category links so that the page will show up on the wiki category page/searches as well.

I did not touch/edit the table contents or text contents. I think I might have corrected a spelling mistake here or there though (when Firefox underline something in red I have a habit of right-clicking and picking the correct spelling of a word so... Probably not the worst habit to have!  )

I also added the links that was at the bottom of my page, these should probably be blended into the notes over time (some of them most likely are referenced in the notes already.
Whether the Links section have any other use in the future who knows.

And I suggest that you look over my page and nab anything (if anything is of use at all, your page is way beyond mine now) and then just let me know and I'll delete that page. Two pages on this is just counterproductive in my opinion.

I think any coordination of page editing details with you should be done on the wiki comments page for your page if/when I come up with table additions/changes etc. (I advise others to do the same) and then you can use/coordinate those edits there. Also now that stuff is sectioned it would be easier to assign a section to somebody if they'd like to help fill/populate a particular table section fully.

But this topic/thread is still nice to discuss overall planning of the wiki page. (the comments page on a wiki page is not really that suitable for forum type of chatter IMO).

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #27
Thanks Rescator. I like the sections, and agree with all of your suggestions.

Is there a way to make all the tables + columns the same width?

Where can I go to find a wiki formatting expert? I think lining the columns up, and allowing show/hide of columns and/or rows is the only way it'll ever look sane to anyone else.

I don't have much time to work on it either. No hurry though.

Thanks again.

Cheers,
David.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #28
Nothing new to add, but found relevant comments at line 3455 of this...
https://github.com/robinbowes/flac2mp3/blob.../lib/MP3/Tag.pm
...bemoaning the difficulty of knowing exactly what you are mapping when you map the track artist.

Also line 77 onwards here...
https://github.com/robinbowes/flac2mp3/blob...ter/flac2mp3.pl
...shows mapping used by flac2mp3. Line 113 onwards lists the names associated with each TXXX frame. Copying ReplayGain peaks when transcoding without noting the fact is unorthodox. Loss of TRACKTOTAL and DISCTOTAL is visibly annoying on many players. I guess when the "right" mapping is properly defined it can go into this code.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #29
Loss of TRACKTOTAL and DISCTOTAL is visibly annoying on many players.


i'm not sure loss is the right word? if converting flac>mp3, they should be added to the tracknumber (TRCK) and discnumber (TPOS) fields.

from id3.org (which appears to be down but i used google's cache)

Quote
TRCK
    The 'Track number/Position in set' frame is a numeric string containing the order number of the audio-file on its original recording. This may be extended with a "/" character and a numeric string containing the total numer of tracks/elements on the original recording. E.g. "4/9".


if your player/converter software doesn't make use of this, poke them with a sharp stick.


Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #30
if your player/converter software doesn't make use of this, poke them with a sharp stick.


Make use of it how? If the software compiles a database, it usually counts actual tracks found for an album. I haven't used any players or software where the track count from metadata would be of any use.

I also haven't encountered anything that uses the disc count. Even the disc number is of minimal use. It's either ignored completely or else used only when displaying the track number, typically shown as something like 1-1, 1-2 ... 2-1 (disc-track).

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #31
just read the bit i quoted. it's useful to someone. i must admit, i can't think of anything beyond cosmetic purposes.

Quote
Even the disc number is of minimal use.


i'd have to disagree with that. it's useful to group albums with multiple discs. i suppose appending (Disc X) to the album title is a workaround but not everyone is going to be happy doing that.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #32
i'm not sure loss is the right word? if converting flac>mp3, they should be added to the tracknumber (TRCK) and discnumber (TPOS) fields.
Yes, exactly. flac2mp3 doesn't. I know it's open source and I could fix it. Not likely, but I've added it to my overly long list of things to do.

Quote
from id3.org (which appears to be down but i used google's cache)
id3.org has been struggling for a while.

if your player/converter software doesn't make use of this, poke them with a sharp stick.


Make use of it how? If the software compiles a database, it usually counts actual tracks found for an album.
You're assuming the player can see all the tracks and wants to scan them and/or maintain a database. That's a pretty big assumption. Several tags are there specifically to enable functionality by only reading the current track which would otherwise require scanning all the tracks. ReplayGain Album Peak is one. TRACKTOTAL and DISCTOTAL are others.

Quote
I also haven't encountered anything that uses the disc count.
I've used it when creating filenames+folders from TAGs.

A DLNA player will only have the current track, but could display all the data if it's in the tags. Knowing the total number of tracks on an album is basic functionality that's been available since albums were invented.

The totals (if correct!) also show you if a track or disc is missing.

Sorry for going OT though. This thread isn't really for arguing about the use of X or Y tag, but how it could/should be mapped between formats. I only added the info about flac2mp3 as another data point.

Cheers,
David.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #33
Hello. I have been following this thread and recently registered on this forum. I am working though similar issues with various formats, and am in the process of creating an Excel file that shows all of the data fields used by JRiver Media Center and trying to match that up with those used by dbPoweramp and iTunes.  Being able to filter the list, hide columns, and create Pivot Tables is already proving useful.  Wondering if that is something that could be useful to this commendable effort?  Happy to share it. Thanks.


Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #34
Yes please!

Haven't made any progress on this recently, but hope to get back to it at some point.

Cheers,
David.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #35
Great.  I can't seem to figure out how to upload the Excel file to this forum.  Could you point me in the right direction?  Thank you.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #36
Start a thread in the dedicated uploads forum.

Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #37
Made a tiny tweak, the tables columns are now sortable.

Looking back at your previous comments....
1. With multiple tables you can't really make the columns be the same width as previous columns, the content in the cells dictate the width.
2. Hiding columns, if various formats/standards are added then the table will just get wider and wider, very little one can do about that I'm afraid.

Technically it's possible to
1. Force a column width, but this would cause text wrapping making some rows double or triple height if unlucky. And the table would get bigger without actually adding any to the content.
2. No idea if the Wiki support this (the HA wiki may not be the same as Wikipedia for example, nor may it have all the plugins or whatnot, or it might even have different plugins), hiding columns might be possible, but I know very little about Wiki formatting/syntax.

An alternative would be to use some other form of technology, some form of spreadsheet (or does Wiki have a actual spreadsheet thing that can be used?) Would a Google Spreadsheet work better? I really don't know.
Ideally something should be OOo or LibreOffice spreadsheet compatible.

Unless a Wiki guru is around, the wiki is actually possibly holding this project back (it was never designed for multi-contributor spreadsheet stuff, heck Wiki was never designed for spreadsheet stuff at all)

Anyway, I'm rambling. I was just going to quickly post and say I made all table columns sortable since it was so easy to do/add (check the version comparison and you'll see why).

Re: Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #38
Great thread & thanks for the twiki page!
Hope you don't mind me reviving it... ;)

One request though for info I was looking for but could not find in the wiki:
How do metadata value separators/delimiters tie into this ?
Any chance to have info about multi-value capabilities & formatting added to the twiki page ? (I unfortunately know too little to be able to add this myself...)

And some more in detail questions, as I'm trying to find out more in regards to this:
https://hydrogenaud.io/index.php?topic=112634
Cheers.
c.

Re: Metadata/tag mapping between FLAC, mp3, and UPnP/DLNA

Reply #39
Hi, I am developer of SongKong and Jaikoz music taggers, but also the jaudiotagger opensrc tagging library that is used by a number of applications not just my own. I always try to use the defacto standard for tag names and make sensible choices when I have to add a new one.

Within jaudiotagger the FieldKey class lists all the fields and then there is a mapping for each format , i.e Mp4FieldKey. You can see the mappings used by MusicBrainz Picard and Jaikoz here and SongKong (which currently has more fields than Jaikoz) has a fieldmapping in the help starting from page 47.

I hope this is all useful and I would be happy to discuss any issues regarding the field mappings Im using