[mako] Music stutters and metadata is incorrect

Bug #1449077 reported by Andrew Hayzen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Media Hub
Fix Released
Undecided
Unassigned

Bug Description

1) Ensure that the device is unplugged from power
2) Open the music app and start playing a set of tracks
3) Turn off the display
4) Wait until the first track ends and the second starts
5) Notice that the second track stops/stutters (like the wakelock isn't keeping the device awake)
6) Turn the display on, notice the audio starts playing as usual
7) Notice that the metadata is incorrect (it is the first track and not the second), only the source and position are correct. Turning the display off here again will stop the audio

I have also seen if you let the track EOS with the display on that the audio stops, doesn't go onto the next track, and the music-app still thinks it is playing - the app is then left in a broken state. This usually happens on the second EOS of the app.

When the track correctly EOS's with the display on, I have observed it play the same track over and over again (due to the background playlists work?)

$ system-image-cli -i
current build number: 181
device name: mako
channel: ubuntu-touch/devel-proposed-customized-here
alias: ubuntu-touch/vivid-proposed-customized-here
last update: 2015-04-26 17:27:16
version version: 181
version ubuntu: 20150424.1
version device: 20150210
version custom: mako-1.1

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

This is the media-hub log [0] when the following occurred

1) Started playing 06 - Ain’t It Fun
2) Turned off display waiting until track ended
3) It played the track again?!
4) Wait until the song ends
5) It played 07 - Part II
6) Wait until the song ends
7) It stopped playing anything and now the music app thinks it is playing but nothing being output, skipping/start/stopping does nothing - the app must be restarted

0 - http://pastebin.ubuntu.com/10912264/

Michał Sawicz (saviq)
Changed in media-hub:
status: New → Confirmed
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

So I updated to the latest image this morning, and this appears to have been fixed with the changes to media-hub [1], I assume this is due to the EOS work Jim was doing? As I didn't have a single incorrect track or break in the audio to/from lectures on the bus :)

1 - http://people.canonical.com/~ogra/touch-image-stats/186.changes

$ system-image-cli -i
current build number: 182
device name: mako
channel: ubuntu-touch/devel-proposed-customized-here
alias: ubuntu-touch/vivid-proposed-customized-here
last update: 2015-04-28 11:00:20
version version: 182
version ubuntu: 20150428
version device: 20150210
version custom: mako-1.1

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

I have just updated my arale and I can't reproduce now.

Changed in media-hub:
status: Confirmed → Incomplete
Revision history for this message
Michał Sawicz (saviq) wrote :

Yup, fixeded!

Changed in media-hub:
status: Incomplete → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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