emms-help
[Top][All Lists]
Advanced

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

Re: [emms-help] Restore playback position


From: Yoni Rabkin
Subject: Re: [emms-help] Restore playback position
Date: Tue, 24 Oct 2017 12:39:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Pierre Neidhardt <address@hidden> writes:

> The current playback position is stored in `emms-playing-time' so I
> naively added that variable to `desktop-globals-to-save' hoping it would
> restore it on next Emacs startup.
>
> Sadly emms-start does not have an `&optional seek-to', so it always
> starts playing from the beginning when `emms-start' is called.

The problem is the assumption that the next time `emms-start' is called,
the same track will be playing. Also, whatever solution shouldn't
reference a particular player, of course.

emms-bookmarks.el was started to try and tackle this by being able to
save "bookmarks" on a per-track basis. I think that a solution to this
issue should either use emms-bookmarks.el, or a similar approach.

For instance, an option that (when enabled): if there are bookmarks in
the track being played, jump to the last bookmark.

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



reply via email to

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