emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New emms-info-native


From: Fran Burstall (Gmail)
Subject: Re: New emms-info-native
Date: Tue, 23 Feb 2021 08:30:13 +0000

> 1. Just one file returns nil: it has a gigantic (4.8MB) id3v2.3 tag which I
> can send if you want.  Probably I should just accept defeat on this
> one!
Does emms-print-metadata, exiftool, id3info, tinytag, eyeD3, or some
other tool give sensible values for it?

Yes: both emms-print-metadata and exiftool work fine.  Here is what exiftool says:

ExifTool Version Number         : 11.16
File Name                       : 03. House Of Balloons _ Glass Table Girls.mp3
Directory                       : /media/shared/music/The Weeknd/House of Balloons
File Size                       : 20 MB
File Modification Date/Time     : 2019:12:17 18:53:44+00:00
File Access Date/Time           : 2019:12:19 22:53:49+00:00
File Inode Change Date/Time     : 2019:12:19 22:34:22+00:00
File Permissions                : rwxrwxrwx
File Type                       : MP3
File Type Extension             : mp3
MIME Type                       : audio/mpeg
MPEG Audio Version              : 1
Audio Layer                     : 3
Audio Bitrate                   : 320 kbps
Sample Rate                     : 44100
Channel Mode                    : Joint Stereo
MS Stereo                       : Off
Intensity Stereo                : Off
Copyright Flag                  : False
Original Media                  : False
Emphasis                        : None
ID3 Size                        : 4753273
Band                            : The Weeknd
Picture MIME Type               : image/jpeg
Picture Type                    : Other
Picture Description             :
Picture                         : (Binary data 2371357 bytes, use -b option to extract)
Album                           : House of Balloons
Track                           : 3/9
Duration                        : 0:06:47 (approx)

---Fran



On Tue, 23 Feb 2021 at 00:00, Petteri Hintsanen <petterih@iki.fi> wrote:
"Fran Burstall (Gmail)" <fran.burstall@gmail.com> writes:

> 1. Just one file returns nil: it has a gigantic (4.8MB) id3v2.3 tag which I
> can send if you want.  Probably I should just accept defeat on this
> one!

Does emms-print-metadata, exiftool, id3info, tinytag, eyeD3, or some
other tool give sensible values for it?

> 3. I have 40 files where the date is truncated: emms-info-taglib gives
> 2017-10-13 while emms-info-native just gives 2017.  Again I attach a sample.

It looks like taglib uses TDRC [1] frame for date, which is actually
recording time.  emms-info-native uses that, but also TDRL [2] which is
release time.  In your case it seems that TDRL overrides TDRC.

After some googling it seems that TDRC is the right thing here [3, 4].
I'm going to remove TDRL as it is bad to have two frames competing for
info-date, possibly giving inconsistent output.

Thanks for testing!

Regards,
Petteri





[1]  TDRC
   The 'Recording time' frame contains a timestamp describing when the
   audio was recorded. Timestamp format is described in the ID3v2
   structure document [ID3v2-strct].

[2]  TDRL
   The 'Release time' frame contains a timestamp describing when the
   audio was first released. Timestamp format is described in the ID3v2
   structure document [ID3v2-strct].

[3] http://wiki.hydrogenaud.io/index.php?title=Foobar2000:ID3_Tag_Mapping

[4] https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]