Infographic increases by two for every track played.

Bug #1626440 reported by Gregory Opera on 2016-09-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
High
Unassigned

Bug Description

When playing music using "Music", the infographic (on the Welcome Screen) increases the number of "tracks played today" by two for every one track played.

--

Reproduce:
- Copy some music to your Ubuntu mobile device, and start playback using Music.
- Check the number of "tracks played today" on the infographic at the start of each new song - If you cannot see "tracks played today", double-tap the infographic to change the data displayed and/or check your privacy settings (System Settings-->System-->Security & Privacy-->Stats on welcome screen).

Result:
- The infographic increases the number of "tracks played today" by two for every one track played.

Expectation:
- That the infographic increases by one for every one track played using Music.

--

Music: 2.4.1003

bq Aquaris E5 HD Ubuntu Edition:
* OS build number: OTA-13
* Ubuntu Image part: 20160913
* Ubuntu build description: Ubuntu 15.04 - armhf (20160913-023544)
* Device Image part: 20160606-540a47f
* Device build description: VEGETA01A-S23A_BQ_L100EN_2015_160913
* Customization Image part: 20160831-991-38-18

Victor Thompson (vthompson) wrote :

Hi Gregory, thanks for filing this bug! Could you describe your methodology for reproducing this? The count of tracks played is incremented once a song has been playing for 10 seconds, so if you checks the first song immediately and then waited 10 seconds into the next song--you'd see it increment by 2.

Changed in music-app:
status: New → Incomplete
Gregory Opera (gregoryopera) wrote :

I was referring to full songs... Play a song in full and watch the infographic change; play another song in full and watch the infographic change; etc.

All of the songs I am using are longer than ten seconds (usually 3 minutes or more).

In this scenario, the infographic is increasing by two for every one track played...

Andrew Hayzen (ahayzen) wrote :

I can confirm the behaviour.

So the steps performed were the following:
1) New day - "no songs played" in usermetrics
2) Started music app
3) Played one song (file:///home/phablet/Music/Drones/02 [Drill Sergeant].flac) longer than 10seconds
4) Let a second song (file:///home/phablet/Music/Drones/03 Psycho.flac) start and stopped within 1 second
5) Noticed that usermetrics became "3 songs played"

This is an app log of what happened: http://pastebin.ubuntu.com/23988850/

As you can see at #3 (line 224) there is a "increment usermetrics" which is correct. However then you can see at #4 (lines 248 and 252) it increments the metrics as soon as the second track starts playing and then again when it is paused. I wonder if position takes a while to update when a new track appears, we should either fix that or be more intelligent.

Changed in music-app:
status: Incomplete → Triaged
importance: Undecided → High
tags: added: bitsize
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers