mediaplayer: qml: quiet qml assignment warnings 50/22350/1 8.0.2 8.0.3 8.0.4 8.0.5 halibut/8.0.2 halibut/8.0.3 halibut/8.0.4 halibut/8.0.5 halibut_8.0.2 halibut_8.0.3 halibut_8.0.4 halibut_8.0.5
authorMatt Ranostay <matt.ranostay@konsulko.com>
Thu, 5 Sep 2019 04:23:16 +0000 (21:23 -0700)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Sat, 7 Sep 2019 03:29:00 +0000 (20:29 -0700)
Album art data is sent in its own event so don't check to set
other metadata options in the UI.

Bug-AGL: SPEC-2774
Change-Id: I4795b2f0d35c651a7739734d5c930ad978adb498
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
app/MediaPlayer.qml

index 85328a9..f6beafd 100644 (file)
@@ -59,6 +59,8 @@ ApplicationWindow {
             }
 
             if (track) {
+                if ('image' in track)
+                     return
                 player.title = track.title
                 player.album = track.album
                 player.artist = track.artist