[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to pass an object-path over d-bus from emacs?
From: |
Michael Albinus |
Subject: |
Re: How to pass an object-path over d-bus from emacs? |
Date: |
Sat, 23 Jul 2022 12:54:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
"Fran Burstall (Gmail)" <fran.burstall@gmail.com> writes:
Hi,
> Q: How do I feed a parameter of type o (object-path) over d-bus from
> emacs-lisp?
>
> My reading of the docs is that something of the form
>
> (list :variant (list :object-path "/some/path/here"))
>
> should do the job. But the receiving application complains:
>
> playerctl-WARNING **: 20:10:52.843: mpris:trackid is a string, not a
> D-Bus object reference
>
> Any idea what I am missing?
If you just need the object path, say ':object-path "/some/path/here"'
(w/o the surrounding apostrophes). See the examples in
.../test/lisp/net/dbus-tests.el
> ---Fran
Best regards, Michael.