[Scopes] Playlist playback should also work with card previews
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Michał Sawicz | ||
Ubuntu UX |
Fix Committed
|
Undecided
|
Paty Davila | ||
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Albert Astals Cid |
Bug Description
Currently, users can only play one song at a time from a music album card preview and they cannot skip next/previous song from sound indicator panel because these songs are not part of a playlist.
The desired behaviour is described below:
When user starts playing a song from an album in scopes card preview, this will automatically create a playlist of that album enabling the user to continue listening to the list of songs in the background. Also, user can control this playlist from the media integration with indicators (pause, skip next/previous song). If the user leaves the card preview screen and navigate to other parts of the scope UI, we will continue to play that 'playlist' in the background, even if the new card results in the main view do not match the contents of that playlist.
Songs in a playlist will be played in the original album order. For example, if user starts playing song number 4, the playlist will continue to play in sequential order until the end of the album.
This behaviour applies to locally stored media (my music) as well as online content coming from our partners (i.e: 7Digital albums).
Also, 'Repeat' and 'shuffle' are desirable features for controlling a playlist and we might want to include them in the near future.
Related branches
- Michał Sawicz: Approve (code)
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Unity8 CI Bot: Needs Fixing (continuous-integration)
- Andrea Cimitan (community): Approve
-
Diff: 52 lines (+18/-5)2 files modifiedqml/Dash/Previews/PreviewAudioPlayback.qml (+5/-1)
tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml (+13/-4)
Changed in ubuntu-ux: | |
assignee: | nobody → Paty Davila (dizzypaty) |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Albert Astals Cid (aacid) |
status: | New → In Progress |
Changed in ubuntu-ux: | |
status: | New → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
milestone: | none → ww08-2016 |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Michał Sawicz (saviq) |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
> For example, if the user starts by playing song number 4
> and there’re 10 songs in this album, the playback order
> will be: 4, 5, 6, 7, 8, 9, 10, 1, 2, 3.
Why like that? It feels really weird to be unable to go back to the first song using the |< button in the sound indicator. If we want the whole album to play, maybe we just need to make it repeat instead of wrapping the playlist like that?