Petteri Hintsanen <[email protected]> writes:

> On Mon, Dec 05, 2022 at 01:14:07PM -0500, Yoni Rabkin wrote:
>
>> Do you have any input or insight regarding implementation of track
>> duration for emms-info-native?
>
> Do you mean populating 'info-playing-time for a particular file (track)?  
> It can be done, but it will require scanning the whole file to get the
> information.  There is no duration information in the metadata.  So decoding
> will become somewhat slower.
>
> I can try to hack a prototype if there is a need for that.

That would be welcome. If you already have the infrastructure to read
frames then a lot of the work is already done. But I realize that since
a lot of files are not constant bitrate, there is a good amount of
calculation to do.

-- 
   "Cut your own wood and it will warm you twice"

Reply via email to