"Fran Burstall (Gmail)" <[email protected]> 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 emms-info-native? 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) leveraged. Petteri
