audio/player: Fix not setting playlist items as playable
Luiz Augusto von Dentz
maintainerPATCH 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
@@ -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
Johan Hedberg
AppliedHi 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