View Issue Details

IDProjectCategoryView StatusLast Update
0011781MMW v4Synchronizationpublic2014-05-09 20:51
Reporterpeke Assigned To 
PriorityurgentSeverityfeatureReproducibilityN/A
Status feedbackResolutionopen 
Product Version4.1 
Target Version4.1.1 
Summary0011781: Sync Plugins: Device profile and Sync Optimization
DescriptionWith introduction of large memory cards (32GB+) Speed of USB/WiFi sync is getting too slow and some users again starts to pull out memory cards and sync to the directly on PC Card Readers where speeds can be up to 20x faster which implies number of issues in MMW

If SDCard contain mmstore.db.synced than MMW could easily pair all library files and do a sync.

Same goes for second issue where Sony Z1 do not show Internal Storage in MSC Mode (I can confirm this on Sony Tipo ICS 4.0.4 which have MSC mode)
Additional InformationJDY-874201
IVC-275100
TagsNo tags attached.
Fixed in build

Relationships

related to 0011542 closedmarek MMA External SD Card inaccessible after upgrade to Kitkat 

Activities

peke

2014-03-26 00:36

developer   ~0039995

Last edited: 2014-03-26 00:54

In the past we removed mmstore.db.synced to be contained on SD cards but it looks like some Phones (Sony for example) allow MSC connect which makes only External Storage listed (SDCard) which doesn't contain mmstore.db.synced so best would be figure out if we can make that we create backup copy of mmstore.db.synced (like mmstore.db.synced.external) in order to let MMW locate it and read it for faster sync, pair, resync?

As it is not main DB I would rather do a sync and write updates to mmstore.db.synced.MSC that will MMA then import either after file gets unlocked (After sync) or when card is reinserted back to phone.

Additionally, as paths may differ from those that phone see it could be useful to indicate original path to storage root as seen from MMA as that would allow MMW to correctly format mmstore.db.synced.MSC

Ludek

2014-03-26 10:23

developer   ~0039997

Last edited: 2014-03-26 11:25

Yes, I know that in order to speed things up some users unmounts SD cards and copies the files there via PC card slots. As you indicated it fails to sync advanced metadata (like playcounts/rating) to MMA, because mmstore.db is stored only on internal phone memory card.

As for the workarounds:

WORKAROUND 1: Perform WiFi sync after mounting the SD card back, this way all the tracks will be paired and the metadata will be there.

WORKAROUND 2: Close MMA, manually copy mmstore.db to the SD card, sync, move mmstore.db.synced and mmstore.db back to internal memory, run MMA

As for the fix: MMA would need to distribute mmstore.db to all storages (all SD cards) and then also pick up mmstore.db.synced from all storages. Unfortunatelly there are some problems in situations like 0011542 where the SD card is read-only for MMA, therefore we would need to move MMA files to /Android/data/com.ventismedia.mediamonkey/ where MMA would have write access. The write access is needed so that MMA could remove mmstore.db.synced once processed. I will discuss the possibilities with Marek.

peke

2014-03-27 01:23

developer   ~0040007

Just wondering how Camera apps handle SDCard access in these cases where captured pictures are saved on SDCard only.

There must be a way/folder to gain write access to SDCard.

Maybe hidden folder with ".MediaMonkey" in DCIM for example?