[PATCH BlueZ 14/14] tools: Emit changes to HasTrackList in mpris-player

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

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

---
 tools/mpris-player.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/mpris-player.c b/tools/mpris-player.c
index df0ac7c..d3a42a8 100644
--- a/tools/mpris-player.c
+++ b/tools/mpris-player.c
@@ -2048,6 +2048,10 @@ static void register_tracklist(GDBusProxy *proxy)
 
 	player->tracklist = tracklist;
 
+	g_dbus_emit_property_changed(player->conn, MPRIS_PLAYER_PATH,
+						MPRIS_INTERFACE,
+						"HasTrackList");
+
 	if (player->playlist == NULL)
 		return;
 
-- 
1.8.1.4

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