~danielholm/musicapp/trunk

« back to all changes in this revision

Viewing changes to MusicApp.qml

  • Committer: Daniel Holm
  • Date: 2013-05-20 18:03:59 UTC
  • Revision ID: admin@danielholm.se-20130520180359-533se4hupjgm7gv8
Changes to support the new meta data database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
        playTrack.iconSource = Qt.resolvedUrl("images/icon_pause@20.png") // change toolbar icon
208
208
        playTrack.text = i18n.tr("Pause") // change toolbar text
209
209
        trackInfo.text = playMusic.metaData.albumArtist+" - "+playMusic.metaData.title // show track meta data
210
 
//        coverArt.source = playMusic.metaData.coverArtUrlLarge
 
210
//        coverArt.source = "HOMEDIR/.musicapp/coverart/"+MetaDatabase.getMetadata(playMusic.source,"cover") // get cover art filename
211
211
 
212
212
        setProgressbar() // set progressbar
213
213
 
221
221
        /*
222
222
        onStatusChanged: {
223
223
             if (status === Audio.EndOfMedia || 7 ) {
224
 
                 console.log("Deub: Track ended. Play next.") //debug
 
224
                 console.log("Debug: Track ended. Play next.") //debug
225
225
                 //nextTrack()
226
226
             }
227
227
             else {