emms-help
[Top][All Lists]
Advanced

[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: Fri, 25 Nov 2022 23:20:25 +0000

With emms-info-native:

(puthash "/media/shared/music/10,000 Maniacs/Love Among the Ruins/01. Rainy Day.mp3" '(*track* (type . file) (name . "/media/shared/music/10,000 Maniacs/Love Among the Ruins/01. Rainy Day.mp3") (info-albumartistsort . "10,000 Maniacs") (info-artistsort . "10,000 Maniacs") (info-label . "Geffen Records") (info-albumartist . "10,000 Maniacs") (info-originaldate . "1997-06-17") (info-date . "1997-06-17") (info-discnumber . "1/1") (info-album . "Love Among the Ruins") (info-tracknumber . "1/12") (info-artist . "10,000 Maniacs") (info-title . "Rainy Day") (info-mtime 24054 16640 611702 0) (last-played 25473 19416 485013 479000) (play-count . 1)) emms-cache-db)

With emms-info-libtag:

(puthash "/media/shared/music/10,000 Maniacs/Love Among the Ruins/01. Rainy Day.mp3" '(*track* (type . file) (name . "/media/shared/music/10,000 Maniacs/Love Among the Ruins/01. Rainy Day.mp3") (info-album . "Love Among the Ruins") (info-albumartist . "10,000 Maniacs") (info-albumartistsort . "10,000 Maniacs") (info-artist . "10,000 Maniacs") (info-artistsort . "10,000 Maniacs") (info-date . "1997-06-17") (info-originaldate . "1997-06-17") (info-label . "Geffen Records") (info-title . "Rainy Day") (info-tracknumber . "1/12") (info-discnumber . "1/1") (info-playing-time . 286) (info-mtime 24054 16640 611702 0)) emms-cache-db)

---Fran


On Fri, 25 Nov 2022 at 21:27, Yoni Rabkin <yoni@rabkins.net> wrote:

Please run emms-cache-save and made sure that it isn't being written. It
does write all of those here.


Yoni Rabkin <yoni@rabkins.net> writes:

> Are you looking for emms-playing-time-min and emms-playing-time-sec?
>
>
> "Fran Burstall (Gmail)" <fran.burstall@gmail.com> writes:
>
>> In the process of responding to an Emacs SX question, I was surprised to
>> discover that emms-info-native no longer sets info-playing-time.
>>
>> Steps to reproduce:
>>
>> (emms-cache-reset)
>> (setq emms-info-functions '(emms-info-native))
>>
>> Then add something to the playlist, wait for the info to load,  play it and
>> do
>>
>> (emms-track-get (emms-playlist-current-selected-track) 'info-playing-time)
>> ;=> nil
>>
>> I am sure that this was working when we were testing emms-info-native but
>> it ain't now (at least for me and one other Emacs SX poster:
>> https://emacs.stackexchange.com/questions/74637/getting-info-playing-time-for-track-in-emms-emms-status
>> )
>>
>> ---Fran
>>
>> Emms version: 8
>> Emacs version 28.2

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

reply via email to

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