linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 00/13] MediaFolder and MediaItem implementation
Date: Mon, 27 May 2013 14:33:50 +0300	[thread overview]
Message-ID: <1369654443-11514-1-git-send-email-luiz.dentz@gmail.com> (raw)

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This set of patches implements most of the functionality of MediaFolder and
MediaItem interfaces.

Some remarks:

- ChangeFolder can only change one level at time, this perhaps gonna be
  changed in the future but for now this matches the limitation of AVRCP
  itself.
- ListItems returns the items in the correct order but GetManagedObjects does
  the reverse order due to use of g_slist_prepend.
- PlayItem and AddToNowPlaying works fine with iPhone but with WP8 is not
  working probably because the UIDCounter changes more frequently which needs
  some new notifications that are currently not implemented.

This can be tested using tools/mpris-player which will browse the NowPlaying
list and show which item is currently being played, but the gnome extention
itself needs patching which can be found here:

https://github.com/Vudentz/gnome-shell-extensions-mediaplayer

Luiz Augusto von Dentz (13):
  player: Split item creation
  AVRCP: Add browsed flag to player
  AVRCP: Add support for GetFolderItems command
  player: Add implementation of MediaFolder.ListItems
  player: Add support for setting current Item object
  player: Add function media_item_set_playable
  player: Add support for MediaItem.Metadata property
  AVRCP: Add support for ChangePath command
  player: Add implementation of MediaFolder.ChangeFolder
  AVRCP: Add support for PlayItem command
  player: Add implementation of MediaItem.Play
  AVRCP: Add support for AddToNowPlaying command
  player: Add implementation of MediaItem.AddToNowPlaying

 profiles/audio/avrcp.c  | 390 ++++++++++++++++++++++++++++-
 profiles/audio/player.c | 650 ++++++++++++++++++++++++++++++++++++++++--------
 profiles/audio/player.h |  23 +-
 3 files changed, 943 insertions(+), 120 deletions(-)

-- 
1.8.1.4


             reply	other threads:[~2013-05-27 11:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27 11:33 Luiz Augusto von Dentz [this message]
2013-05-27 11:33 ` [PATCH BlueZ 01/13] player: Split item creation Luiz Augusto von Dentz
2013-05-27 11:33 ` [PATCH BlueZ 02/13] AVRCP: Add browsed flag to player Luiz Augusto von Dentz
2013-05-27 11:33 ` [PATCH BlueZ 03/13] AVRCP: Add support for GetFolderItems command Luiz Augusto von Dentz
2013-05-27 11:33 ` [PATCH BlueZ 04/13] player: Add implementation of MediaFolder.ListItems Luiz Augusto von Dentz
2013-05-27 11:33 ` [PATCH BlueZ 05/13] player: Add support for setting current Item object Luiz Augusto von Dentz
2013-05-27 11:33 ` [PATCH BlueZ 06/13] player: Add function media_item_set_playable Luiz Augusto von Dentz
2013-05-27 11:33 ` [PATCH BlueZ 07/13] player: Add support for MediaItem.Metadata property Luiz Augusto von Dentz
2013-05-27 11:33 ` [PATCH BlueZ 08/13] AVRCP: Add support for ChangePath command Luiz Augusto von Dentz
2013-05-27 11:33 ` [PATCH BlueZ 09/13] player: Add implementation of MediaFolder.ChangeFolder Luiz Augusto von Dentz
2013-05-27 11:34 ` [PATCH BlueZ 10/13] AVRCP: Add support for PlayItem command Luiz Augusto von Dentz
2013-05-27 11:34 ` [PATCH BlueZ 11/13] player: Add implementation of MediaItem.Play Luiz Augusto von Dentz
2013-05-27 11:34 ` [PATCH BlueZ 12/13] AVRCP: Add support for AddToNowPlaying command Luiz Augusto von Dentz
2013-05-27 11:34 ` [PATCH BlueZ 13/13] player: Add implementation of MediaItem.AddToNowPlaying Luiz Augusto von Dentz

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=1369654443-11514-1-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --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).