Skip to contentSkip to conversation

audio/player: Fix not setting playlist items as playable

PATCH Applied Luiz Augusto von Dentz 2 participants 2 messages Jul 26, 2013 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 audio/player: Fix not setting playlist items as playable

From: Luiz Augusto von Dentz <[email protected]>

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(+)
profiles/audio/player.c +2 -0
index a817b54..ce5e75b 100644
@@ -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);
Signature · 1 line
1.8.3.1
#1 lore raw

Hi Luiz,

Quoted 5 lines · Luiz Augusto von Dentz

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