Thread (2 messages) 2 messages, 2 authors, 2016-08-18

Re: MediaFolder interface

flat view

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2016-08-18 13:47:40

Hi Kyle,

On Tue, Aug 16, 2016 at 11:09 PM, Kyle Shneider [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help