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

"Fran Burstall (Gmail)" <[email protected]>
Newsgroups gmane.emacs.emms.user
Message-ID <CADxS8igO2tW5UKNhCP=h_iRfNXGHmHOTtYPhdk7g3H7CkMXsVA@mail.gmail.com>
On Tue, 29 Nov 2022 at 22:18, Yoni Rabkin <[email protected]> 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?

---Fran
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.