* [PATCH BlueZ] audio/player: Fix not setting playlist items as playable
@ 2013-07-26 13:24 Luiz Augusto von Dentz
2013-07-26 16:24 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2013-07-26 13:24 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
All items in the playlist should have playable flag set otherwise they
cannot be part of the playlist.
---
profiles/audio/player.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/profiles/audio/player.c b/profiles/audio/player.c
index a817b54..ce5e75b 100644
--- a/profiles/audio/player.c
+++ b/profiles/audio/player.c
@@ -1874,6 +1874,8 @@ struct media_item *media_player_set_playlist_item(struct media_player *mp,
if (item == NULL)
return NULL;
+ media_item_set_playable(item, true);
+
if (mp->track != item->metadata) {
g_hash_table_unref(mp->track);
mp->track = g_hash_table_ref(item->metadata);
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH BlueZ] audio/player: Fix not setting playlist items as playable
2013-07-26 13:24 [PATCH BlueZ] audio/player: Fix not setting playlist items as playable Luiz Augusto von Dentz
@ 2013-07-26 16:24 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2013-07-26 16:24 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hi Luiz,
On Fri, Jul 26, 2013, Luiz Augusto von Dentz wrote:
> All items in the playlist should have playable flag set otherwise they
> cannot be part of the playlist.
> ---
> profiles/audio/player.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-26 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26 13:24 [PATCH BlueZ] audio/player: Fix not setting playlist items as playable Luiz Augusto von Dentz
2013-07-26 16:24 ` Johan Hedberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.