emms-help
[Top][All Lists]
Advanced

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

Re: Auto-forward bug with mpv backend


From: Mike Kazantsev
Subject: Re: Auto-forward bug with mpv backend
Date: Fri, 6 Dec 2019 03:44:29 +0500

On Fri, 6 Dec 2019 01:08:41 +0500
Mike Kazantsev <address@hidden> wrote:

> On Thu, 05 Dec 2019 12:25:43 +0100
> Pierre Neidhardt <address@hidden> wrote:
> 
> > Since recently (1-2 months), I experience a strange issue with Emms
> > using the MPV backend.  I can reproduce on a vanilla setup:
...
> > 
> > Result:
> > Instead of playing the first track, it pause for <1s and automatically
> > start playing the following track.
> 
> Looks like a change in how mpv-0.30 handles sequence of commands.
> 
> Will probably fix it by delaying "loadfile" command until playback is
> stopped by earlier stop, if any.

Fixed in git master (eedd61d).

Should be compatible with any older mpv versions, as all fix does is
introducing aforementioned (non-blocking) delay between stop/start commands.

Simpliest workaround in earlier emms-player-mpv.el versions with new
mpv-0.30 is to set emms-player-mpv-ipc-method to 'file (which will also
disable some newer ipc features however).

Other than that, anything that'd run something like "emms-stop, wait 0.1s"
before switching to selected track will also work, but probably more
hassle than replacing emms-player-mpv.el with the one from git.

Thanks for reporting!
Probably should update my machine more often too :)


-- 
Mike Kazantsev // fraggod.net



reply via email to

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