File based tags vs tags from musicbrainz

19 views
Skip to first unread message

Bearcat Şándor

unread,
Nov 4, 2016, 11:49:39 PM11/4/16
to beets
I have a few situations where the tags should be generated based on the file itself instead of musicbrainz. One example is an SACD which is marked as 2 channel on musicbrainz, but it's actually 5.1 channels.  When i tagged it it was tagged as channels:2, which tells me that it's getting this info from Musicbrainz.

Is there a way to tell it to get it from the file itself. If i change it to channels:6 manually via 'beet modify' will that just be undone by another command such as beet update? Is there a list of what tags are auto generated from the file info (like time) and what tags are grabbed from musicbrainz?

Thank you

Bearcat

Adrian Sampson

unread,
Nov 5, 2016, 3:21:25 PM11/5/16
to beets...@googlegroups.com
Hmm; channels definitely come from the audio file's data. In this case, it's possible that our tag-reading layer wasn't able to detect 5.1 sound.

There's no definitive list of the fields that come from audio format data, so I unfortunately have to point you toward the source code:

Adrian
--
You received this message because you are subscribed to the Google Groups "beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beets-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bearcat Şándor

unread,
Nov 6, 2016, 12:02:07 AM11/6/16
to beets
Thanks Adrian. It maybe just because it's wavpack. I'll investigate and report my findings.

Bearcat Şándor

unread,
Nov 16, 2016, 5:17:40 PM11/16/16
to beets
Follow up:

Looking at my files and doing a 'wvunpack -ss [file]' prints out the tags in the file.  I see that there are 48 tags stored in the file.  Can i assume then that tags like 'lyrics' are not stored in the file but instead stored in the db,  

For audio file based tags such as channels, bit rate etc are these stored in the database or are they computed at runtime when you do an 'info' on a file.

(some of my questions are gearing me up to tackle a plugin that would give you all possible information from musicbrainz with the ability to drop some fields)

Thank you

Adrian Sampson

unread,
Nov 16, 2016, 7:28:12 PM11/16/16
to beets...@googlegroups.com
Some fields are database-only, but lyrics in particular can be stored in most (all?) files' metadata.

Audio parameters, such as bitrate and channel count, are also stored in the database.
--

Bearcat Şándor

unread,
Nov 16, 2016, 8:48:43 PM11/16/16
to beets
So then if i re-compress file, change it from 24-bit to 16 or change the file type, then a 'beet update' should bring everything in to alignment again?


On Friday, November 4, 2016 at 9:49:39 PM UTC-6, Bearcat Şándor wrote:

Adrian Sampson

unread,
Nov 16, 2016, 8:55:39 PM11/16/16
to beets...@googlegroups.com
Yep!

Bearcat Şándor

unread,
Nov 16, 2016, 8:56:25 PM11/16/16
to beets...@googlegroups.com
Thank you!

You received this message because you are subscribed to a topic in the Google Groups "beets" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beets-users/TZA2RfcWvfI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beets-users...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--

Bearcat M. Şándor, CEO
Feline Soul Systems LLC
Voice: 872.CAT.SOUL (872.228.7685)
Fax: 406.235.7070

Reply all
Reply to author
Forward
0 new messages