Hook up the dacp volume control, if available.

This commit is contained in:
Mike Brady
2018-03-04 17:42:53 +00:00
parent 633448248e
commit 2d2c06a310
+3
View File
@@ -142,6 +142,9 @@ void mpris_metadata_watcher(struct metadata_bundle *argc, void *userdata) {
// debug(1,"Set metadata");
media_player2_player_set_metadata(mprisPlayerPlayerSkeleton, dict);
media_player2_player_set_volume(mprisPlayerPlayerSkeleton, metadata_store.speaker_volume);
}
static gboolean on_handle_next(MediaPlayer2Player *skeleton, GDBusMethodInvocation *invocation,