~vthompson/music-app/remix-now-playing-main-view-blue-slider

« back to all changes in this revision

Viewing changes to Player.qml

  • Committer: Victor Thompson
  • Date: 2014-10-03 01:39:45 UTC
  • mfrom: (640.1.3 music-app)
  • Revision ID: victor.thompson@gmail.com-20141003013945-31ean3oczzy9yspv
merge of trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
            else {
188
188
                var obj = trackQueue.model.get(player.currentIndex);
189
189
                currentMetaAlbum = obj.album;
190
 
                currentMetaArt = obj.art;
 
190
 
 
191
                if (obj.art !== undefined) {  // FIXME: protect against not art property in playlists
 
192
                    currentMetaArt = obj.art;
 
193
                }
 
194
 
191
195
                currentMetaArtist = obj.author;
192
196
                currentMetaFile = obj.filename;
193
197
                currentMetaTitle = obj.title;