From: Bharat Bhusan Panda <bharat.panda@samsung.com>
To: 'Luiz Augusto von Dentz' <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org, cpgs@samsung.com
Subject: RE: [PATCH 1/2] test: Add sample media player properties
Date: Thu, 20 Aug 2015 18:31:38 +0530 [thread overview]
Message-ID: <004d01d0db48$6fe5be00$4fb13a00$@samsung.com> (raw)
In-Reply-To: <CABBYNZLp+iCpdshMBSCD8ndCPbeGezgLKrCd8-sqsCWp4B8c0g@mail.gmail.com>
Hi Luiz,
> -----Original Message-----
> From: Luiz Augusto von Dentz [mailto:luiz.dentz@gmail.com]
> Sent: Thursday, August 20, 2015 6:19 PM
> To: Bharat Panda
> Cc: linux-bluetooth@vger.kernel.org; cpgs@samsung.com
> Subject: Re: [PATCH 1/2] test: Add sample media player properties
>
> Hi Bharat,
>
> On Thu, Aug 20, 2015 at 12:03 PM, Bharat Panda
> <bharat.panda@samsung.com> wrote:
> > Polulates media player properties with player name, type, sub-type and
> > features with sample values.
> > ---
> > test/simple-player | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/test/simple-player b/test/simple-player index
> > a8ae0b1..a89767a 100755
> > --- a/test/simple-player
> > +++ b/test/simple-player
> > @@ -43,6 +43,10 @@ class Player(dbus.service.Object):
> >
> > self.properties = dbus.Dictionary({
> > "PlaybackStatus" : "playing",
> > + "DisplayName" : "SimplePlayer",
> > + "Type" : "Audio",
> > + "SubType" : "Audio Book",
> > + "Features" :
> > + "0000000000b701ef0200000000000000",
> > "LoopStatus" : "None",
> > "Rate" : dbus.Double(1.0),
> > "Shuffle" :
> > dbus.Boolean(False),
> > --
> > 1.9.1
>
> This properties do not exist in MPRIS
> http://specifications.freedesktop.org/mpris-spec/latest/Media_Player.html,
> for DisplayName you can probably use Identity but for other we might have
> to infer based on the available MPRIS properties.
So except DisplayName, others(type, sub-type and features) will be inferred. How about building response for GetFolderItems, as it needs all these player properties to be filled in response PDU? What shall be filled in there?
>
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe
> > linux-bluetooth" in the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Luiz Augusto von Dentz
Regards,
Bharat
next prev parent reply other threads:[~2015-08-20 13:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 9:03 [PATCH 1/2] test: Add sample media player properties Bharat Panda
2015-08-20 9:03 ` [PATCH 2/2] audio/avrcp: Set Media Player Properties Bharat Panda
2015-08-26 10:40 ` Luiz Augusto von Dentz
2015-08-20 12:48 ` [PATCH 1/2] test: Add sample media player properties Luiz Augusto von Dentz
2015-08-20 13:01 ` Bharat Bhusan Panda [this message]
2015-08-20 13:23 ` 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='004d01d0db48$6fe5be00$4fb13a00$@samsung.com' \
--to=bharat.panda@samsung.com \
--cc=cpgs@samsung.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/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