With bgplaylists if an alert sounds, the playback stops and the queue is lost
Bug #1534172 reported by
Andrew Hayzen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Committed
|
High
|
Unassigned | ||
Ubuntu Music App |
Fix Released
|
High
|
Andrew Hayzen | ||
media-hub (Ubuntu) |
Invalid
|
Critical
|
Jim Hodapp | ||
media-hub (Ubuntu RTM) |
Invalid
|
Critical
|
Jim Hodapp |
Bug Description
With bgplaylists if an alert sounds, the playback stops and the queue is lost
What happened:
1) Start playing a queue of music
2) Take a screenshot/take a photo in the camera app with audio enabled
3) Notice that the music sometimes ducks, but ends up stopping and after a few seconds the queue is cleared!
What was expected to happen:
At step 3 for the the music audio to be 'ducked', but continue playing and the queue to remain intact.
$ system-image-cli -i
current build number: 210
device name: mako
channel: ubuntu-
last update: 2016-01-14 12:05:49
version version: 210
version ubuntu: 20160114
version device: 20160112
version custom: mako-1.1
Related branches
lp://staging/~music-app-dev/music-app/media-hub-bg-playlists-rework
- Jenkins Bot: Approve (continuous-integration)
- Victor Thompson: Approve
-
Diff: 2709 lines (+461/-752)30 files modifiedapp/components/BlurredBackground.qml (+2/-2)
app/components/Flickables/MultiSelectListView.qml (+9/-2)
app/components/HeadState/MultiSelectHeadState.qml (+4/-4)
app/components/Helpers/ContentHubHelper.qml (+11/-8)
app/components/Helpers/UriHandlerHelper.qml (+17/-32)
app/components/Helpers/UserMetricsHelper.qml (+10/-7)
app/components/ListItemActions/AddToPlaylist.qml (+6/-2)
app/components/ListItemActions/AddToQueue.qml (+2/-2)
app/components/MusicToolbar.qml (+37/-23)
app/components/NowPlayingFullView.qml (+57/-17)
app/components/NowPlayingToolbar.qml (+18/-30)
app/components/Player.qml (+0/-240)
app/components/Queue.qml (+18/-20)
app/components/ViewButton/PlayAllButton.qml (+6/-2)
app/components/ViewButton/QueueAllButton.qml (+6/-2)
app/components/ViewButton/ShuffleButton.qml (+6/-2)
app/logic/meta-database.js (+14/-4)
app/logic/playlists.js (+9/-2)
app/music-app.qml (+93/-220)
app/ui/AddToPlaylist.qml (+0/-1)
app/ui/ContentHubExport.qml (+8/-17)
app/ui/NowPlaying.qml (+29/-16)
app/ui/Playlists.qml (+0/-1)
app/ui/Recent.qml (+0/-1)
app/ui/Songs.qml (+2/-3)
debian/changelog (+4/-1)
debian/control (+1/-0)
manifest.json.in (+1/-1)
tests/autopilot/music_app/__init__.py (+30/-11)
tests/autopilot/music_app/tests/test_music.py (+61/-79)
tags: | added: bgplaylist |
Changed in media-hub (Ubuntu): | |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Jim Hodapp (jhodapp) |
importance: | Undecided → High |
milestone: | none → ww08-2016 |
status: | New → Confirmed |
Changed in media-hub (Ubuntu): | |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in media-hub (Ubuntu RTM): | |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in media-hub (Ubuntu): | |
importance: | Undecided → Critical |
Changed in media-hub (Ubuntu RTM): | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in media-hub (Ubuntu): | |
status: | Confirmed → Triaged |
status: | Triaged → Confirmed |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in media-hub (Ubuntu RTM): | |
status: | Confirmed → Invalid |
Changed in music-app: | |
status: | New → Confirmed |
Changed in music-app: | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
assignee: | nobody → Andrew Hayzen (ahayzen) |
Changed in music-app: | |
milestone: | none → ota9 |
Changed in music-app: | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
assignee: | Jim Hodapp (jhodapp) → nobody |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Released → Fix Committed |
milestone: | ww08-2016 → ww04-2016 |
To post a comment you must log in.
For this test case:
1) start music app, play a song
2) switch to camera
3) take a photo
4) at that point the music/queue stops/empties in the second
5) switch back to music
6) close both apps
The media-hub.log pastebins for the old and new app: pastebin. ubuntu. com/14496280/ pastebin. ubuntu. com/14496300/
old app - http://
new app - http://
In the case of the new app, after file:// /system/ media/audio/ ui/camera_ click.ogg is played from the camera-app, the music is stopped and the queue is cleared.