Mike Kazantsev <[email protected]> writes:

> Can you do:
>
>   (require 'emms-player-mpv)
>   (add-to-list 'emms-player-list 'emms-player-mpv)
>   (setq emms-mpv-debug t)
>   (emms-player-mpv-start (emms-playlist-current-selected-track))

From which state do you expect this?  Anyways, here is a message when I
ran the last command from the playlist buffer with multiple tracks and
one track was playing.

--8<---------------cut here---------------start------------->8---
emms-mpv-ipc-json >> {"command":["loadfile","/home/ambrevar/music/Juno 
Reactor/2012 - From the Land of the Rising Sun - Inside the Reactor II/Juno 
Reactor - 02 - Tokyo Dub - Tri-Force Remix.ogg","replace"],"request_id":31}
(lambda (data err) (if (eq err (quote connection-error)) (progn 
(emms-player-mpv-cmd cmd))))
emms-mpv-ipc-json << {"data":null,"request_id":31,"error":"success"}
emms-mpv-ipc-json << {"event":"audio-reconfig"}
emms-mpv-ipc-json << {"event":"tracks-changed"}
emms-mpv-ipc-json << {"event":"end-file"}
emms-mpv-ipc-json << {"event":"start-file"}
emms-mpv-ipc-json << 
{"event":"property-change","id":1,"name":"duration","data":null}
emms-mpv-ipc-json << {"event":"tracks-changed"}
emms-mpv-ipc-json << {"event":"metadata-update"}
emms-mpv-ipc-json << {"event":"audio-reconfig"}
emms-mpv-ipc-json << {"event":"file-loaded"}
emms-mpv-ipc-json << {"event":"seek"}
emms-mpv-ipc-json << 
{"event":"property-change","id":1,"name":"duration","data":454.961633}
emms-mpv-ipc-json << {"event":"audio-reconfig"} [2 times]
emms-mpv-ipc-json << {"event":"playback-restart"}
--8<---------------cut here---------------end--------------->8---

I noticed the issue happens when going to the next track.  I'm not
sure it exactly when it happens, but it happens very frequently, so I'm
quite puzzle that you did not experience it.

>> - Seeking forward / backward resets the timer (but the seeking works).

Last commit fixed it.

-- 
Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Emms-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to