View Issue Details

IDProjectCategoryView StatusLast Update
0012974MMAAction barpublic2015-12-13 21:53
Reporterpeke Assigned To 
PriorityurgentSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version1.1.3 
Target Version1.1.3Fixed in Version1.1.3 
Summary0012974: Ratings are out of sync after track Pairing
DescriptionWhen Device containing tracks is synched for first time (Or track pair happen) with MMW tracks there is no way to determine what rating values are correct one MMA or MMW?

Only way to Get same Rating on Both MMA and MMW is to edit rating of tracks in either MMA or MMW which will then update ratings on next sync and both will be in Sync.
Steps To Reproduce1. Rate one track with 2 stars and than copy it to device outside MMW.
2. Than rate same Track 4 Stars in MMW
3. Initiate first sync so that track gets paired
4. MMA track will still show 2 Stars and MMW 4 stars
5. Untill any of tracks are changed in either MMA or MMW they will stay unsynched

NOTE: This exclude any metadata that is used to pair tracks as if it is different then tracks would not pair

Additional InformationPooint two of http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=83054
TagsNo tags attached.
Attached Files
bug_12974.log.zip (186,255 bytes)
Fixed in build520

Relationships

duplicate of 0013006 closedLudek MMW v4 Rating/playcount not updated in MMA for tracks synced prior to MMA install (in case of USB sync) 
related to 0013008 closedLudek MMW v4 Failure to sync content to SD card using SAF on Lollipop 
related to 0012999 closedmarek MMA MediaMonkey/files/ directory is presented as file over MTP (regression?) 

Activities

rusty

2015-11-25 15:52

administrator   ~0043405

I don't think that this is really a bug.

If any two versions of the same track have different tags (e.g. different rating or different producer or different bpm, etc.) it's impossible for MM to know whether they're the same track or different versions of the same track.

Resolving as not fixable.

peke

2015-11-25 22:00

developer   ~0043409

I agree, as noted in forum it would be nice to be able to Force Metadata Sync while doing device Synchronization.

Currently only way to do that is to either edit/change something in tags (rating is usually easiest) or resync whole file.

Maybe by adding something like Force metadata sync in Device -> MMW otions and in case that Device -> MMW is not enabled add push MMW Metadata to Device on Sync/Pair?

Ludek

2015-12-08 15:17

developer   ~0043549

Assigned to me for review, I accidentally entered 0013006 which is actually duplicate of this

rusty

2015-12-08 17:24

administrator   ~0043558

In my comment at 0012974:0043405 when I wrote that I didn't think it was a bug, that was in a case where content synced outside of the MM workflow didn't match content from MM.

In the case of the tests that I performed for 0013006, the tracks were identical, and MMW 'knows' that they're identical, so afaik there's no reason why the ratings metadata should be missing.

Ludek

2015-12-09 13:01

developer   ~0043567

Yes, as confirmed with Marek MMA stores the metadata changes to the modifications table also for the unpaired tracks so on the first WiFi sync it is able to pair the tracks and decide which metadata change is newer (based on timestamp)

So for WiFi sync all scenarios should work OK currently, but the same needs to me implemented for USB too.

Ludek

2015-12-09 15:21

developer   ~0043571

Last edited: 2015-12-09 15:30

Fixed in build 1775

Now it works also for scenario when song is rated to 2 stars in MMA before first USB sync is properly propagated to MMW on first USB sync (comparing timestamps of both rating changes to decide which is newer)

rusty

2015-12-11 03:46

administrator   ~0043596

Last edited: 2015-12-11 11:42

Verified the usecase that was reported at 0013006 in MMW 1776 / MMA 519 on an Samsung Tab 8 running Android 4.4.2.

However, when the exact same test is performed on an Asus Zenfone 2 running Android 5.01, it fails. i.e.
1 USB sync a playlist1 a clean Android device (no traces of MMA)
2 Install MMA and grant access to the SD card
3 Perform another USB sync operation (e.g. add another playlist2)
=> track's rating are not updated in MMA for track in Playlist1 or Playlist2 !

Debugview: lines ~ 6500-12000
MMA log: HJIAFMBQ75


The following scenario also fails:
1 Install and run MMA (lollipop) and configure SAF
2 USB sync a playlist
3 Run MMA
--> Ratings are missing!! Given that this data is stored to the db file, shouldn't they be present?
Debug log: 4BKNXNG5N7

Ludek

2015-12-11 11:45

developer   ~0043606

Last edited: 2015-12-11 12:05

Based on the log ( bug_12974.log.zip ) for the Lollipop device the reason for the failure of rating update was that \MediaMonkey\files\mmstore.db was not found on the internal memory, so I suspect that it could be either MTP refresh issue or MMA copied the db too late for MMW, lets discuss offline...

marek

2015-12-11 15:07

developer   ~0043609

Fixed in MMA build 520

rusty

2015-12-11 16:35

administrator   ~0043615

Tested 520 Scenario 2:
0 Reboot the device
1 Install and run MMA (lollipop) and configure SAF then exit MMA
--> mmstore.db is in /MediaMonkey as it should be
2 USB sync a playlist
3 Run MMA (usb cable happened to be connected this time)
--> Tracks and Playlists appear in MMA, but ratings are missing!
Debug log: 7C7X17QI61

Ludek

2015-12-11 17:50

developer   ~0043617

Last edited: 2015-12-11 17:56

As discussed offline, it was caused by re-occurence of 0012999

Resolving and re-opening 0012999

peke

2015-12-12 15:58

developer   ~0043625

Last edited: 2015-12-13 21:35

Verified 1776/520

Confirming after 0012999 workaround all sync correctly

The workraround was included that using ES File Explorer Folder files is renamed to files1 and after MTP refreshed (Can take up to 5 minutes and/or device restart)

rusty

2015-12-13 21:39

administrator   ~0043631

Re-resolving per ludek's note 0012974:0043617.

peke

2015-12-13 21:53

developer   ~0043632

Closing see 0012974:0043625