[Top][All Lists]

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

Re: emms-info-native not setting info-playing-time

From: Petteri Hintsanen
Subject: Re: emms-info-native not setting info-playing-time
Date: Sat, 11 Feb 2023 13:37:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

"Fran Burstall (Gmail)" <fran.burstall@gmail.com> writes:

> I am sure that this was working when we were testing emms-info-native but
> it ain't now

Do you remember for what exactly did it work?

I dared to venture into Emms git history, and I'd say the only
possibility for emms-info-native to return playing time was for Ogg
files before commit bc5e5167.  Before that version, all Vorbis comment
KEY=VALUE pairs were simply interned to 'info-KEY symbols and their
values set to corresponding VALUEs.  So if there was a Vorbis comment
"playing-time=1234", then info-playing-time would have been set to 1234.

In bc5e5167, filtering was added so that only those info-symbols that
are meaningful for Emms are populated from Vorbis comments, and
info-playing-time is not one of them.  The reasoning was that I don't
know of any "standard" length tag in Vorbis comments.

For MP3s there is TLEN, but emms-info-native has not ever utilized it.
Maybe it should?

Perhaps your cache had info-playing-time already set by some other info
method (emms-info-libtag at least populates that) when you were testing

I'm implementing length calculation into emms-info-native, but
nonetheless I'd like to hear if someone has files that do have length in
their metadata.  Because if there is a reasonable chance to get the
length from metadata, I think it should be (at least optionally)


reply via email to

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