summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-09-04 21:23:16 -0700
committerScott Murray <scott.murray@konsulko.com>2019-09-05 17:38:19 +0000
commit213c210a73b63aea2961c64eda2cca7a21a33626 (patch)
tree0e265f3e6201ecfbd8faa45a36368f8b28c0f626 /app
parentb112a708fd4de023df3339cfc090ae8b2dd31cd7 (diff)
mediaplayer: qml: quiet qml assignment warnings
Album art data is sent in its own event so check for it and don't try to set the other metadata options in the UI. Bug-AGL: SPEC-2774 Change-Id: I4795b2f0d35c651a7739734d5c930ad978adb498 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app')
-rw-r--r--app/MediaPlayer.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index 85328a9..f6beafd 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -59,6 +59,8 @@ ApplicationWindow {
}
if (track) {
+ if ('image' in track)
+ return
player.title = track.title
player.album = track.album
player.artist = track.artist