[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: Fran Burstall (Gmail)
Subject: Re: emms-info-native not setting info-playing-time
Date: Tue, 29 Nov 2022 22:44:55 +0000

On Tue, 29 Nov 2022 at 22:18, Yoni Rabkin <yoni@rabkins.net> wrote:

I think that the problem is that most files out there do not encode the
song duration at all. My guess is that various tools do some kind of
calculation to try and figure out how long the track is based on frame
length and the number of frames.

You can hexl-mode some of the files in question and see how many of them
have TLEN at the start. I just checked two files at random in my
collection and found no song duration in the header.

If this is true, we'll have to add that type of approximation
calculation to emms-info-native.

I think you may be right.  I just had a look at the source of tinytag and it does quite lengthy computations to arrive at the duration.

Who knew?


reply via email to

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