2014-08-18 12:58:29 |
Victor Thompson |
bug |
|
|
added bug |
2014-08-18 13:07:53 |
Victor Thompson |
summary |
SongsModel.status never seems to be set as MediaStatus.Ready |
SongsModel.status is not set as MediaStatus.Ready if rowCount is zero |
|
2014-08-18 13:09:01 |
Victor Thompson |
description |
Currently the Music app is attempting to integrate Content Hub support with the help of the streaming models provided by Mediascanner [1]. One of the changes we making is to properly detect when the models are loading vs there being no music on the device. Right now we are catching the onFilled signal to set the model to a 'populated' state. However, this also means that when new media is found (either by the user copying songs over, or because a song is imported via content hub) the rowCount is reset and we briefly detect that there is no music.
We are trying to make this check detect the empty state 1) allSongsModel.rowCount === 0 and 2) SongsModel.status === ModelStatus.Ready. However SongsModel.status never seems to be in the Ready state.
[1] https://code.launchpad.net/~andrew-hayzen/music-app/content-hub-dest-support/+merge/231037 |
Currently the Music app is attempting to integrate Content Hub support with the help of the streaming models provided by Mediascanner [1]. One of the changes we making is to properly detect when the models are loading vs there being no music on the device. Right now we are catching the onFilled signal to set the model to a 'populated' state. However, this also means that when new media is found (either by the user copying songs over, or because a song is imported via content hub) the rowCount is reset and we briefly detect that there is no music.
We are trying to make this check detect the empty state 1) allSongsModel.rowCount === 0 and 2) SongsModel.status === ModelStatus.Ready. However SongsModel.status never seems to be in the Ready state when rowCount is zero.
[1] https://code.launchpad.net/~andrew-hayzen/music-app/content-hub-dest-support/+merge/231037 |
|
2014-08-18 13:10:48 |
Victor Thompson |
bug task added |
|
music-app |
|
2014-08-19 16:33:54 |
Bill Filler |
mediascanner2: importance |
Undecided |
High |
|
2014-08-19 16:33:56 |
Bill Filler |
music-app: importance |
Undecided |
High |
|
2014-08-19 16:34:03 |
Bill Filler |
tags |
|
rtm14 |
|
2014-08-20 08:03:17 |
James Henstridge |
attachment added |
|
model-status-change.qml https://bugs.launchpad.net/mediascanner2/+bug/1358275/+attachment/4182284/+files/model-status-change.qml |
|
2014-08-20 08:03:34 |
James Henstridge |
mediascanner2: status |
New |
Incomplete |
|
2014-08-20 17:46:05 |
Andrew Hayzen |
music-app: status |
New |
In Progress |
|
2014-08-20 17:46:07 |
Andrew Hayzen |
music-app: assignee |
|
Andrew Hayzen (andrew-hayzen) |
|
2014-08-20 17:46:52 |
Andrew Hayzen |
branch linked |
|
lp:~andrew-hayzen/music-app/fix-no-music-use-model-status |
|
2014-08-21 00:52:59 |
Victor Thompson |
mediascanner2: status |
Incomplete |
Invalid |
|
2014-08-21 17:57:40 |
Ubuntu Phone Apps Jenkins Bot |
music-app: status |
In Progress |
Fix Committed |
|
2014-08-29 19:41:04 |
Victor Thompson |
music-app: status |
Fix Committed |
Fix Released |
|