aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-mpris.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/media-player-mpris.vala')
-rw-r--r--src/media-player-mpris.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-player-mpris.vala b/src/media-player-mpris.vala
index 148a30a..93ce34e 100644
--- a/src/media-player-mpris.vala
+++ b/src/media-player-mpris.vala
@@ -295,7 +295,7 @@ public class MediaPlayerMpris: MediaPlayer {
this.playbackstatus_changed ();
}
- var metadata = changed_properties.lookup_value ("Metadata", new VariantType ("a{sv}"));
+ var metadata = changed_properties.lookup_value ("Metadata", VariantType.VARDICT);
if (metadata != null)
this.update_current_track (metadata);
}