View Issue Details

IDProjectCategoryView StatusLast Update
0009940MMASynchronizationpublic2012-12-11 15:36
ReporterLudek Assigned To 
PriorityimmediateSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.0.1Fixed in Version1.0.1 
Summary0009940: Regressions in backward WiFi synchronization
DescriptionI briefly tested backward WiFi sync and I found several problems/regressions

1. There was a regression on MMW side in 1604 that is fixed in 1605 (issue 0009939), i.e. in 1604 it doesn't work at all because of MMW

2. Pairing songs based on metadata doesn't work because

- 2a) MMA sends the device path with sorage prefix that MMW cannot know if the first communication is just via WiFi, i.e. MMA should send the device path without the storage prefix over WiFi

- 2b) MMA doesn't send Artist field in the DIDL XML (regression)

- 2c) The whole pairing songs process is executed only when Backward Sync is enabled, it should be performed any time when some new songs (with unknown WiFi ID) are added. e.g. users copy new song to the phone by using another app or via explorer, then MMA should run the pairing process for the song on the next WiFi sync so that it properly gets its WiFi ID.
Tech note: if the song doesn't exist in MMW library then MMA should mark such a song (e.g. set WiFi ID = -2) to prevent from trying to pair it on each WiFi sync.

3. MMA->MMW sync of metadata doesn't work, because MMA sends timeStamp="1970-01-16 15:31:14" for each field

4. MMA->MMW playlist sync doesn't work (regresion)
a) created new playlist in MMA from synced tracks
=> no playlists upload request to MMW server
b) reordered tracks in a MMA playlist previously synced from MMW
=> no playlists upload request to MMW server
Maybe it is also just the timestamp issue as in case of 3 ?
TagsNo tags attached.
Fixed in build60

Relationships

related to 0009939 closedLudek MMW v4 Backward WiFi sync doesn't work (regression in 1604) 

Activities

jiri

2012-11-06 12:54

administrator   ~0032961

3. Not sure if it's related, but I noticed, that everytime I start sync, Updating process goes through all of the previously synced tracks. I'd expect that this happens only for tracks that were somehow updated in the phone, e.g. modified rating or increased playcount.

marek

2012-11-07 06:53

developer   ~0032992

2. fixed in build 56

But I have a question about it. What if user copies the media from MMA device to PC or download the same track on PC ? These tracks won't be matched and synchronized because they would have this "-2" flag.

marek

2012-11-07 08:24

developer   ~0032995

3. fixed in build 56 - fixed metadata upload

UI of sync activity still has to be changed to follow the background process

marek

2012-11-07 14:48

developer   ~0033003

5. Sure. This is fix of 2). Every unsynced track is uploaded to MMW for matching. This is done only for the first time. As I wrote I will add progress bar for it to not display the Waiting for response dialog for so long time.

Ludek

2012-11-08 16:47

developer   ~0033024

6. Recently we added new folder configurations on the device config panel, namely on tab [Auto-Sync --> Library] user can configure folders from which the files should be synced/copied.

I added the folders to the DeviceConfig.xml, you will find them as
<BiDirFolder>\Music\</BiDirFolder>
<BiDirFolder>\Video\</BiDirFolder>
...

i.e. MMA should copy back only files from these folders

There is also one question related to 5. , shouldn't only tracks from these folders be paired? I guess that answer is YES?
i.e. files outside these folders like videos from DCIM folder shouldn't be uploaded to MMW for matching.

marek

2012-11-09 03:20

developer   ~0033030

4. I have one question about playlists. How to solve situations when playlists contains tracks from more storages. But playlists are synchronized for each storage separately ?

marek

2012-11-09 03:32

developer   ~0033031

7. Add checking of changed metadata during synclist analysis to skip unnecessary updates to DB.

jiri

2012-11-09 11:11

administrator   ~0033035

4. To be discussed, can probably be deferred for v1.1.

7. Not sure if related to this, but updated metadata from MMW aren't synced. E.g., if I change rating of a synced track in MMW, then Sync, there isn't anything updated in MMA.

marek

2012-11-10 07:42

developer   ~0033046

6. fixed in build 58

7. fixed in build 58

marek

2012-11-11 00:57

developer   ~0033047

7. Re. rating - there is an issue with sync of rating on MMW side. I sent details to Ludek.

marek

2012-11-14 03:30

developer   ~0033134

Fixed in build 60

peke

2012-11-23 01:29

developer   ~0033301

Verified 63 and 1607