[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emms-help] [Feature Request] Show remaining playing time in mode-l
From: |
Alex Griffin |
Subject: |
Re: [emms-help] [Feature Request] Show remaining playing time in mode-line |
Date: |
Thu, 20 Jun 2019 14:19:44 +0000 |
User-agent: |
Cyrus-JMAP/3.1.6-727-gabab71a-fmstable-20190619v1 |
It seems there's a bug in the time arithmetic where the play time will count
down like this:
02:01
02:00
02:-1
02:-2
...
02:-17
01:42
This number of seconds it gets wrong varies with the length of the song, so try
it with a few different songs and watch the mode-line when the minute should
tick down.
--
Alex Griffin
On Wed, Jun 19, 2019, at 10:05 PM, Alex Griffin wrote:
> Works great, that's exactly what I was after. Thanks!
>
> --
> Alex Griffin
>
> On Wed, Jun 19, 2019, at 5:30 PM, Yoni Rabkin wrote:
> > "Alex Griffin" <address@hidden> writes:
> >
> > > I would like to display only the remaining time in the mode-line. So
> > > instead of displaying "01:02/05:00" or just "01:02", I want it to show
> > > "-03:58".
> >
> > That's a good idea. I've added it to the git repo. Please try it and
> > tell me if it is what you had in mind.
> >
> > You will need to set:
> >
> > (setq emms-playing-time-style 'downtime)
> >
> > --
> > "Cut your own wood and it will warm you twice"
> >