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"
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.
I can confirm the behaviour.
So the steps performed were the following: //home/ phablet/ Music/Drones/ 02 [Drill Sergeant].flac) longer than 10seconds //home/ phablet/ Music/Drones/ 03 Psycho.flac) start and stopped within 1 second
1) New day - "no songs played" in usermetrics
2) Started music app
3) Played one song (file:/
4) Let a second song (file:/
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.