View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0017124||MediaMonkey 5||Reports||public||2020-11-23 15:40||2020-11-28 11:47|
|Target Version||5.0.1||Fixed in Version||5.0|
|Summary||0017124: Statistics report does not count songs played outside of MM|
|Description||As found by user here: https://www.mediamonkey.com/forum/viewtopic.php?f=30&t=97792|
"I listened to a couple of albums on my iphone and synced back adjusted the play counts correctly however when I create reports (statistics) those album I listened to on my iphone are not appearing on the report although play count is correct in MM history. Assuming the information is different from MM history vs database?"
Analyzing it and looking into the code: Technically the Statistics script takes data from the Played table in MM.DB, but MM writes to the Played table only when a file is played in MM (or via DLNA) and knows the play date, but when the file is listened on a device then only Songs.PlayCounter is increased during sync.
This has been always the case (also in MM4) and is a long-standing issue.
A) modify the Statistics script to build the reports rather based on Song.PlayCounter
B) modify the code for syncing play counts back from the devices to write also into the Played table
|Tags||No tags attached.|
|Fixed in build||2276|
Currently both solutions are problematics as
A) Statistis reports also "Tracks played per day" which can be counted only from the Played table
B) "Tracks played per day" cannot be counted accuratelly as we don't have the info of playing time for every play increase for every track, we have only "Last time played".
But I guess that it is better to use "Last time played" rather than anything.
Fixed in 2276 using solution B
i.e. plays on the device are now inserted also into the Played table during sync
Tested on Android device,