emms-help
[Top][All Lists]
Advanced

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

Re: [emms-help] mpv player alternative with json-ipc


From: Pierre Neidhardt
Subject: Re: [emms-help] mpv player alternative with json-ipc
Date: Tue, 17 Apr 2018 17:24:38 +0530
User-agent: mu4e 1.0; emacs 26.1

Mike Kazantsev <address@hidden> 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


reply via email to

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