Music app takes about 60 seconds to start up

Bug #1530002 reported by Michi Henning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
New
Undecided
Unassigned
qtdeclarative-opensource-src (Ubuntu)
New
Undecided
Unassigned

Bug Description

See this bug for the attachment: https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1529991

With the files from that attachment in the Music folder, and the collection having been completely indexed by the mediascanner, it takes around 60 seconds for the music app to start. (It just sits there with a spinner during that time.) qmlscene consumes 100% CPU while this is going on. Eventually, the music app starts normally.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Just to assist in debugging, do you have all of you tracks (you state you have 7000 in the other bug) in the queue? As it will try to load those currently from a database into the queue at startup, and this would likely take a while.

If this is the case, this will hopefully be improved after we move to bg-playlists, and then once the load()/save() methods work (bug 1510225) as then the tracks will be directly read into the queue via c++ in the media-hub/qtubuntu-media side.

Revision history for this message
Michi Henning (michihenning) wrote :

There is nothing in any queue (at least not that I know of). The songs are in the Music folder, and the mediascanner has finished indexing them. Then I start the music app, that's it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.