emms-help
[Top][All Lists]
Advanced

[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: Tue, 24 Jan 2023 14:03:49 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

"Fran Burstall (Gmail)" <fran.burstall@gmail.com> writes:

> I have pushed solutions to the issues mentioned below to master.
>
> I hope I have not broken anything...
>
> ---Fran

Thank you for that work, Fran.

Sheng, can you please try this code from git and confirm that it now
works for you? I would like to make a bug-fix release with it.


> On Wed, 18 Jan 2023 at 21:41, Fran Burstall (Gmail) <fran.burstall@gmail.com>
> wrote:
>
>> I have made the patch and pushed it to master.
>>
>> While doing this, I realised:
>> 1. The GetAll method on the org.freedesktop.DBus.Properties interface does
>> not report Position correctly (which is why I failed to notice the issue
>> Sheng found)
>> 2. The Seek and SetPosition methods are broken thanks to the issue I
>> reported elsewhere with emms-seek-*.
>>
>> I see how to fix both problems and will push solutions in the next few
>> days.
>>
>> ---Fran
>>
>>
>>
>> On Wed, 18 Jan 2023 at 15:00, Fran Burstall (Gmail) <
>> fran.burstall@gmail.com> wrote:
>>
>>> Yup, will investigate (Next/Previous work for me on emacs 28.2).
>>>
>>> ---Fran
>>>
>>> On Wed, 18 Jan 2023 at 14:57, Yoni Rabkin <yoni@rabkins.net> wrote:
>>>
>>>>
>>>> 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"
>>>>
>>>

-- 
   "Cut your own wood and it will warm you twice"



reply via email to

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