* MediaFolder interface
@ 2016-08-16 20:09 Kyle Shneider
2016-08-18 13:47 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 2+ messages in thread
From: Kyle Shneider @ 2016-08-16 20:09 UTC (permalink / raw)
To: linux-bluetooth
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
(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?
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.
--
Kyle Shneider
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MediaFolder interface
2016-08-16 20:09 MediaFolder interface Kyle Shneider
@ 2016-08-18 13:47 ` Luiz Augusto von Dentz
0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2016-08-18 13:47 UTC (permalink / raw)
To: Kyle Shneider; +Cc: linux-bluetooth@vger.kernel.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-18 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 20:09 MediaFolder interface Kyle Shneider
2016-08-18 13:47 ` Luiz Augusto von Dentz
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).