[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emms-time-display-style

From: Yoni Rabkin
Subject: Re: emms-time-display-style
Date: Wed, 12 Oct 2022 16:38:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

"6ausoft@gmail.com" <6ausoft@gmail.com> writes:

> Hallo!
> I've been struggling for a while with getting the proper time display
> in emms and what I'm always getting is simply track time counter
> progressing (eg."01:20") not even the style of "01:30/4:20". Tried
> customize-group emms and setting the "downtime" value but it didn't
> work as didn't "bar" option.
> Tried spacemacs, doom emacs, vanilla - for no success.
> What am I doing wrong? Any suggestions appreciated.
> My emms config is like this:
> (add-to-list 'load-path (concat user-emacs-directory "emms-git/"))
> (load "emms")

Emms is distributed via ELPA. I would warmly recommend installing it via
"M-x list-packages"

We try to keep the Savannah git repo clean, but that is where
development happens. If you use Emms from there you will occasionally
have stuff broken (unless you pull only from the latest tag.) If you
aren't doing Emms development, I would recommend installing and updating
Emms as an ELPA package instead.

All that said, this shouldn't be where your issue is. A playing timer
should appear if your setup is as simple as:


> (use-package emms-setup
>  :init
>  (add-hook 'emms-player-started-hook 'emms-show)
>  (setq emms-show-format "Playing: %s")
>   config
> (emms-standard)
> (emms-default-players))
> (require 'emms-setup)
> (emms-all)
> (emms-default-players)

`emms-standard' is obsolete (has been marked as obsolete since Emms
4.1), and in any case, calling `emms-all' afterward makes it moot.

This is everything you need in order for Emms to display a timer. If it
doesn't work at this point, we need to do more debugging.

> (emms-mode-line 1)
> (require 'emms-playing-time)

`emms-all' calls (require 'emms-playing-time), so no need for this either.

> (emms-playing-time 1)
> (setq emms-source-file-default-directory "~/Music/"
>       emms-playlist-buffer-name "*Music*"
>       emms-info-asynchronously t
>       emms-source-file-directory-tree-function
> 'emms-source-file-directory-tree-find)
> (require 'emms-playing-time);

...and definitely no need to call it again.

> (setq emms-playing-time-display-short-p nil)
> (setq emms-playing-time-style 'downtime)

Please try the above simple, two-line setup on an ELPA install, and tell
us if it works, and we'll go from there.

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

reply via email to

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