Re: [PATCH 1/2] test: Add sample media player properties

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

 



Hi Bharat,

On Thu, Aug 20, 2015 at 12:03 PM, Bharat Panda <bharat.panda@xxxxxxxxxxx> 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.

>
> --
> 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



-- 
Luiz Augusto von Dentz
--
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