[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrong-type-argument consp :int64 when using emms-mpris.el
From: |
Yoni Rabkin |
Subject: |
Re: wrong-type-argument consp :int64 when using emms-mpris.el |
Date: |
Wed, 18 Jan 2023 09:57:40 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Sheng Wang <sheng@a64.work> writes:
> Without the attached patch mpris integration doesn't work on my setup.
Thank you for reporting this, and preparing a patch.
> Actions like "Next" and "Previous" doesn't work, showing
> "wrong-type-argument consp :int64" in minibuffer.
>
> Does this happen to you too?
>
>
>
> Tried on both Emacs 28 and the latest master branch, on nixos-unstable KDE
> 5.26.5.
> dbus-daemon --version shows 1.14.4
>
> Steps to reproduce:
>
> (toggle-debug-on-error)
> (emms-mpris-enable)
>
> Debugger entered--Lisp error: (wrong-type-argument consp :int64)
> dbus-message-internal(2 :session ":1.53" 16780 :variant :int64 0)
> dbus-method-return-internal(:session ":1.53" 16780 :variant :int64 0)
> apply(dbus-method-return-internal :session ":1.53" 16780 (:variant :int64
> 0))
> dbus-handle-event((dbus-event :session 1 16780 ":1.53"
> "org.mpris.MediaPlayer2.emms" "/org/mpris/MediaPlayer2"
> "org.freedesktop.DBus.Properties" "Get"
> emms-mpris-get-property-handler (:string
> "org.mpris.MediaPlayer2.Player") (:string "Position")))
> funcall-interactively(dbus-handle-event (dbus-event :session 1 16780
> ":1.53" "org.mpris.MediaPlayer2.emms" "/org/mpris/MediaPlayer2"
> "org.freedesktop.DBus.Properties" "Get"
> emms-mpris-get-property-handler (:string
> "org.mpris.MediaPlayer2.Player") (:string "Position")))
> command-execute(dbus-handle-event nil [(dbus-event :session 1 16780
> ":1.53" "org.mpris.MediaPlayer2.emms" "/org/mpris/MediaPlayer2"
> "org.freedesktop.DBus.Properties" "Get"
> emms-mpris-get-property-handler (:string
Fran, can you please check and integrate this patch?
--
"Cut your own wood and it will warm you twice"