Merge lp:~ahayzen/music-app/queue-refactor into lp:music-app/trusty
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Daniel Holm | ||||||||
Approved revision: | 80 | ||||||||
Merged at revision: | 78 | ||||||||
Proposed branch: | lp:~ahayzen/music-app/queue-refactor | ||||||||
Merge into: | lp:music-app/trusty | ||||||||
Diff against target: |
568 lines (+146/-157) 9 files modified
LibraryListModel.qml (+26/-0) LoginLastFM.qml (+0/-1) MusicAlbums.qml (+1/-2) MusicArtists.qml (+1/-1) MusicPlaylists.qml (+2/-9) MusicSettings.qml (+0/-1) MusicTracks.qml (+4/-12) music-app.qml (+112/-70) playing-list.js (+0/-61) |
||||||||
To merge this branch: | bzr merge lp:~ahayzen/music-app/queue-refactor | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holm | Approve | ||
Victor Thompson | Approve | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Review via email: mp+177491@code.launchpad.net |
Commit message
- trackQueue is now used for the queue, with currentIndex as the current
position in the trackQueue
- LibraryListModel can now saves the current query
- addQueueFromModel has been added to build the trackQueue from a
LibraryListModel
- trackClicked has been refactored
- updateMeta has been added to update the metadata of the current track and is trigged onSourceChange from the player
- currentCover is now set from Library.hasCover so it works with all
pages/models
- playing-list.js has been removed as it is not used anymore
- Various code cleanups
Description of the change
Major changes to the queuing system, playingList has been removed and the whole queue works through the model trackQueue.
The current query of the LibraryListModel is saved and can then be queried to load the trackQueue, this fixes bug 1204293.
The updateMeta is triggered onSourceChange of the player and is retrieved from the trackQueue and database, hopefully resolving bug 1200393.
Please test this merge thoroughly to ensure no regressions.
Hello,
How can I test this feature on my Nexus 7 grouper? I installed today's build, but the music app doesn't function properly. For instance, when I open the music app, I scroll through the songs, but the moment I tap a song or a button (play or fastforward), the app freezes. It does this regardless of how many times I force quit the app.
Andrew Hayzen <email address hidden>이 씀: /bugs.launchpad .net/music- app/+bug/ 1200393 /bugs.launchpad .net/music- app/+bug/ 1204293 /code.launchpad .net/~andrew- hayzen/ music-app/ queue-refactor/ +merge/ 177491 /code.launchpad .net/~andrew- hayzen/ music-app/ queue-refactor/ +merge/ 177491
>Andrew Hayzen has proposed merging
>lp:~andrew-hayzen/music-app/queue-refactor into lp:music-app.
>
>Commit message:
>- trackQueue is now used for the queue, with currentIndex as the
>current
>position in the trackQueue
>- LibraryListModel can now saves the current query
>- addQueueFromModel has been added to build the trackQueue from a
>LibraryListModel
>- trackClicked has been refactored
>- updateMeta has been added to update the metadata of the current track
>and is trigged onSourceChange from the player
>- currentCover is now set from Library.hasCover so it works with all
>pages/models
>- playing-list.js has been removed as it is not used anymore
>- Various code cleanups
>
>Requested reviews:
> Music App Developers (music-app-dev)
>Related bugs:
>Bug #1200393 in Ubuntu Music App: "Shuffling doesn't display the
>correct song"
> https:/
>Bug #1204293 in Ubuntu Music App: "PlayingList sometimes isn't fully
>populated causing Shuffle not to work correctly"
> https:/
>
>For more details, see:
>https:/
>
>Major changes to the queuing system, playingList has been removed and
>the whole queue works through the model trackQueue.
>The current query of the LibraryListModel is saved and can then be
>queried to load the trackQueue, this fixes bug 1204293.
>The updateMeta is triggered onSourceChange of the player and is
>retrieved from the trackQueue and database, hopefully resolving bug
>1200393.
>
>Please test this merge thoroughly to ensure no regressions.
>
>--
>https:/
>You are subscribed to branch lp:music-app.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.