From: Istvan Posta <iposta@avmap.ro>
To: linux-bluetooth@vger.kernel.org
Subject: AVRCP enabled music player application: Enable Browsing
Date: Mon, 16 Jan 2017 14:51:07 +0200 [thread overview]
Message-ID: <587CC1BB.9000607@avmap.ro> (raw)
Hello,
I apologize if I will sound too dumb, but I am desperate because I can't
the solution for my problem.
I am developing a music player application which will respond to
Play/Pause/Stop/Next/Previous media button keys if the device running
the application is connected to a media player device, like a media
player in the car.
Libraries I am using:
bluez version: 5.19
Dbus binding: GIO 2.42.1
For this I have implemented all the interfaces following the MPRIS D-Bus
Interface Specification, and called the org.bluez.Media1.RegisterPlayer
method.
The application is getting Play/Pause/Stop/Next/Previous key press
events and is responding to them accordingly.
The next step is to implement the Browsing feature in the application.
This is where I got stuck. I have implemented the
org.mpris.MediaPlayer2.Playlists an the org.mpris.MediaPlayer2.TrackList
interfaces, but if I press the Browse button on the media player device,
isn't showing the dummy playlists and tracklists of the application.
I would really appreciate If somebody could help me and give me a good
step-by-step description of what to implement, register or call in order
to make it work.
If I wasn't detailed enough and I have to give more information, please
tell me.
Kind regards,
Istvan Posta.
next reply other threads:[~2017-01-16 12:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-16 12:51 Istvan Posta [this message]
2017-01-16 14:15 ` AVRCP enabled music player application: Enable Browsing Luiz Augusto von Dentz
2017-01-16 14:50 ` Istvan Posta
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=587CC1BB.9000607@avmap.ro \
--to=iposta@avmap.ro \
--cc=linux-bluetooth@vger.kernel.org \
/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).