linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Kyle Shneider <shneiderkyle@gmail.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: MediaFolder interface
Date: Thu, 18 Aug 2016 16:47:40 +0300	[thread overview]
Message-ID: <CABBYNZLRfpAgMXFrq01WaOYvbL=o2nsCdBejEn23igq-W794Gw@mail.gmail.com> (raw)
In-Reply-To: <CAMib2Ga66EkT7QWSZi_ew+ESQ_O97koY3OZgCy8mOiUnXes0wg@mail.gmail.com>

Hi Kyle,

On Tue, Aug 16, 2016 at 11:09 PM, Kyle Shneider <shneiderkyle@gmail.com> wrote:
> Hello.
> I'm successfully setting connection between iOS a2dp source and linux
> a2dp sink and...
> 1) When I'm trying to use Search method of MediaFolder1 interface
> passing different arguments it always returns NotSupported error

There were a bug detecting the support for, I just posted a patch-set
with a fix for that but iOS needs to support searching which I recall
was not supported but maybe this has been added there.

> (ListItems and ChangeFolder methods works fine). In the bluez docs it
> is written that property 'Searchable' of player object (it is False on
> default) can be enabled using MediaFolder interface. So how can I
> change this property to True?

You can't change that since it indicates a remote device capability.

> 2) What is the acceptable format of 'dict filter' argument of
> ListItems method (and Search)? I've tried different variants but it's
> always InvalidArguments error.
> - {'Start':0, 'End':0, 'Attributes':['track', 'album']}
> - dbus.Dictionary({'Start':0, 'End':0, 'Attributes':['track',
> 'album']}, signature:'sv')
> - etc
> When I pass an empty dictionary to this method everything ok.

There are no filters defined for search, it was probably introduced as
a place holder in case the AVRCP allows more than a string search
someday.


-- 
Luiz Augusto von Dentz

      reply	other threads:[~2016-08-18 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16 20:09 MediaFolder interface Kyle Shneider
2016-08-18 13:47 ` Luiz Augusto von Dentz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABBYNZLRfpAgMXFrq01WaOYvbL=o2nsCdBejEn23igq-W794Gw@mail.gmail.com' \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=shneiderkyle@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).