I'm trying to use the `emms-status` package to get a nice-looking description of the currently playing track in the mode line. It mostly works -- track name, artist, year, and current timestamp -- but I can't see how long the current track is.
I think the problem is that the `emms-track-get` function doesn't retrieve the `info-playing-time` key/variable. I can test this by editing the `emms-track-description-function` to try to retrieve `info-playing-time`, but the track listings in a playlist buffer do not show this.
Is there any way to fix this? I'm using `emms-player-mpv` as the only player, could that be the origin of this issue?
**Edit**
I made [a post on StackExchange](https://emacs.stackexchange.com/a/74710/24188) and ended up finding the solution, which is basically:
- Doing `git clone https://git.savannah.gnu.org/git/emms.git` to some local directory (which is what I think [this post](https://emacs.stackexchange.com/questions/31371/emms-doesnt-show-the-track-length) was suggesting).
- Running `make emms-print-metadata` inside the `emms` directory, and moving `emms-print-metadata` via `sudo cp src/emms-print-metadata /usr/local/bin/`.
I am now able to do `$ emms-print-metadata ~/Music/song.mp3` and get the artist name etc. and now the total time. Restarting `Emacs` to make sure `emms` is configured properly now results in the total time being shown in the mode-line, and `(emms-track-get (emms-playlist-current-selected-track) 'info-playing-time)` working when called via `M-:`.
**EDIT 2**
I realize now that the above is incomplete -- I need
(require 'emms-info-libtag)
(setq emms-info-functions '(emms-info-libtag))
as well, which I apparently tried at some point. This was after doing another `emms-cache-reset` and having all the time info disappear