emms-help
[Top][All Lists]
Advanced

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

Re: [PATCH] Add: tracktag interface and support for Opus


From: Petteri Hintsanen
Subject: Re: [PATCH] Add: tracktag interface and support for Opus
Date: Wed, 26 May 2021 00:05:24 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Grant Shoshin Shangreaux <grant@churls.world> writes:

> Another oddity I see is that EMMS info has info-year in most places, but
> info-date appears in a few other. is there an actual distinction for
> some metadata?

Yes, there are actually four different info-symbols related to release
dates:

1. info-year: this is the release year and year only (eg. 2021).

2. info-date: this is the release date, which can be more or less
detailed than info-year.  For example, 2021-03-02 or 2021-03 or
20210302T13:45:21 or 0203 are all possible.

3. info-originalyear: this is the initial release year.  For example
re-releases may have later info-year than info-originalyear.

4. info-originaldate: the same for date.

It is messy, especially (2), but the good thing is that users can at
least partially customize how they utilize those symbols.  Some people
do care only about info-year, or maybe info-originalyear.  Some people
prefer lots of detail.

Alas, these are not really documented in the code.  Commentary in
emms-info.el is out of date.

See emms-browser-get-track-field-albumartist and emms-track-get-year for
examples.  The former is used with
emms-browser-get-track-field-function, the latter is (unfortunately)
hardcoded into emms-browser.

-- 
Petteri



reply via email to

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