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

"Fran Burstall (Gmail)" <[email protected]>
Newsgroups gmane.emacs.emms.user
Message-ID <CADxS8iiJqFbtYBgAL7iOLS6i7HA7ToyDKeCepnRpRCG3A3ai-Q@mail.gmail.com>
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 <[email protected]> wrote:

>
> Please run emms-cache-save and made sure that it isn't being written. It
> does write all of those here.
>
>
> Yoni Rabkin <[email protected]> writes:
>
> > Are you looking for emms-playing-time-min and emms-playing-time-sec?
> >
> >
> > "Fran Burstall (Gmail)" <[email protected]> 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"
>
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.