View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011545 | MMA | General | public | 2013-12-04 21:31 | 2013-12-05 17:42 |
Reporter | rusty | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.4 | ||||
Target Version | 1.0.4 | Fixed in Version | 1.0.4 | ||
Summary | 0011545: When browsed in MMW, unplayed tracks show a last played date of 1/1/1970 | ||||
Description | As described at ticket FVK-203242 , the last-played date for many tracks in MMA displays as 1/1/1970. Ludek explained at 0011524:0038489 that this is because MMA is storing the date based on seconds from 1/1/1970 (default used in unix). | ||||
Tags | No tags attached. | ||||
Fixed in build | 191 | ||||
related to | 0011511 | closed | Ludek | MMW v4 | When browsing Android device with MMA, MMW doesn't display play history correctly |
related to | 0011524 | closed | Ludek | MMW v4 | Playlists sync from Android device (with MMA) unnecessarily (over USB) |
related to | 0011670 | closed | Ludek | MMW v4 | Right-click -> Properties on device track => LTP disappears |
|
It must be a regression, all tracks synced via USB to MMA have media.last_time_played = null in MMA's DB (mmstore.db). I veryfied that MMW writes media.last_time_played to mmstore.db.synced correctly, so it must be an issue on MMA side. Anyhow I fixed the showing on MMW side in build 1673, i.e. values like 01/01/1970, 01/01/2057 for unplayed tracks are ignored and LTP field remains empty for such a tracks |
|
Further testing shown that the problem has a random nature, I can't replicate anymore :-/ The only that I know is that it must be on MMA side, because MMW doesn't write NULL to media.last_time_played |
|
Further testing shown that the values get there via WiFi sync, I WiFi synced several tracks and the vlaues are like 1972, 1994, 1981 etc. Marek is looking into it. |
|
Yes weird values are synced over wifi. MMW sets the last time played date for tracks that were not played as 1899-12-30 0:00:00. That is why MMA contained in DB negative values. This was also fixed on MMA side (do not allow negative values) Example: <upnp:MM_LastTimePlayed>1899-12-30 00:00:00</upnp:MM_LastTimePlayed> There was also bug on MMA side: the date was converted to miliseconds instead of seconds. It was fixed in build 191. |
|
Btw I have changed all storing of LTP - null value is not used. 0 is stored for tracks that were never played. |
|
I am still not able to replicate the issue with USB sync. Please send logs when it occurs. |
|
I am also not able to replicate it anymore, but because it was broken for WiFI sync then there is a probability that it came from there, there were also some others changes on both MMA/MMW sides that should prevent this from happening. Resolved, to be tested in MMA 192 / MMW 1673 |
|
Verified 191. |