AVRCP example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I'm running bluez 5.40 and pulseaudio 8.0 on a Debian Jessie system.
I paired and trusted a phone and I can play audio using A2DP from phone to the machine.

Now I want to control the audio from the machine, i.e. prev/next, show song title, etc...

I don't understand how to use the simple-player example.
It says:

Available commands:
	PropertiesChanged(interface, properties)
	help(cmd)

Use python syntax to pass arguments to available methods.
E.g.: PropertiesChanged({'Metadata' : {'Title': 'My title', 'Album': 'my album' }})

but if I try exactly what it suggests:

PropertiesChanged({'Metadata' : {'Title': 'My title', 'Album': 'my album' }})

it returns this error:

PropertiesChanged() takes at least 3 arguments (2 given)


Please, would you help me to understand how to run this example, or at least how to implement a single command? i.e. how to select the next song.

Thanks!
Marco
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux