Ah ok - I guess to do this I should modify emms-history.el? I couldn’t find a relevant hook.
I’ve used (setq-default emms-single-track t) up until now - which works for the moment, as I don't have any music playlists. Is there a way to add YT playlists? I tried to download YT playlists as m3u files but haven't found a way yet. I'm really enjoying using emms, thanks a lot! On Fri, 29 Nov 2024 at 18:55, Yoni Rabkin <[email protected]> wrote: > George Hadow <[email protected]> writes: > > > So how would you deal with this: > > Let’s say you have a multiple video playlists (long videos, where you > need > > to save progress) and music playlists. > > > > So let’s say you’d like to add a new playlist > > (long videos, where you need to save progress). > > In order for it to not proceed to the next video when stopping mid way > > (also for future emacs sessions) you’d have to set the buffer local value > > for that specific playlist in your config. > > > > Wouldn’t it make sense to have a ‘persistent toggle’ so you just toggle > it > > once and it remembers the value in subsequent sessions? > > > > Or maybe I’m missing something? > > Thanks > > How about we add the value of `emms-single-track' to the stuff saved and > restored by emms-history.el? > > > On Fri, 22 Nov 2024 at 00:41, Yoni Rabkin <[email protected]> wrote: > > > >> George Hadow <[email protected]> writes: > >> > >> > I just noticed that it doesn’t save the ‘single-track’ state. When > Emacs > >> is > >> > restarted the toggle-single-track is disabled. > >> > >> Yes, that makes sense. It's just a variable. > >> > >> > On Thu, 21 Nov 2024 at 23:45, George Hadow <[email protected]> > >> wrote: > >> > > >> >> It works! > >> >> > >> >> Thanks so much Yoni. > >> >> > >> >> On Thu, 21 Nov 2024 at 23:18, Yoni Rabkin <[email protected]> wrote: > >> >> > >> >>> George Hadow <[email protected]> writes: > >> >>> > >> >>> >> --> good to know about `emms-toggle-single-track', but shame it > >> doesn't > >> >>> >> work currently with mpv > >> >>> > > >> >>> > It will be fixed soon. > >> >>> > >> >>> Just released 20.2 via ELPA with the fix. It should now work with > >> >>> mpv. Can you please test it? > >> >>> > >> >>> -- > >> >>> "Cut your own wood and it will warm you twice" > >> >>> > >> >> > >> > >> -- > >> "Cut your own wood and it will warm you twice" > >> > > -- > "Cut your own wood and it will warm you twice" >
