From 5fc20b65ee1fea9f5bf0b4af8fdcd1c7d9fbbc7a Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Thu, 21 Mar 2013 13:05:28 +0000 Subject: [PATCH] Oops!!! --- dbus/mpris.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/mpris.cpp b/dbus/mpris.cpp index 7c3278941..c83a8b571 100644 --- a/dbus/mpris.cpp +++ b/dbus/mpris.cpp @@ -114,7 +114,7 @@ void Mpris::updateCurrentSong(const Song &song) QVariantMap Mpris::Metadata() const { QVariantMap metadataMap; if (!currentSong.title.isEmpty() && !currentSong.artist.isEmpty() && - (!song.currentSong.isEmpty() || (currentSong.isStream() && !currentSong.name.isEmpty()))) { + (!currentSong.album.isEmpty() || (currentSong.isStream() && !currentSong.name.isEmpty()))) { metadataMap.insert("mpris:trackid", currentSong.id); if (currentSong.time>0) { metadataMap.insert("mpris:length", currentSong.time*1000000);