View Issue Details

IDProjectCategoryView StatusLast Update
0013119MMW v4Synchronizationpublic2022-09-02 15:09
Reportermarek Assigned To 
Status closedResolutionfixed 
Product Version4.1.11 
Target Version4.1.12Fixed in Version4.1.12 
Summary0013119: Duplicate profiles can occur due to deletion of storageInfo.xml
DescriptionThere is one issue that can cause duplicates of profiles:

- clean install of MMA (all folders deleted), device with SAF storage or write-limited storage - i.e. all non-rooted Android 4.4+ devices with SD card
- do NOT allow access to whole SD card..especially do not allow access to /MediaMonkey folder
- MMA generates GUID to storageInfo.xml in app specific folder
- sync with MMW (wifi or usb) - MMW gets the GUID
- uninstall MMA - this will delete storageInfo.xml in app specific folder
- disconnect USB cable
- reinstall MMA - new storageInfo.xml with new GUID is generated and this causes creation of new profile

It can be partly safely fixed on MMW side. I know that we previously discussed that MMW should write duplicate storageInfo.xml to /MediaMonkey/ folder - so it won't be lost after uninstall. MMW doesn't create it now.

I know that it will solve the issue only for USB sync. Wifi sync (where MMW does not write to storage) will still cause duplicates. But it cannot be fixed on MMA side becuase there is no persisted location to store storageInfo.xml on SD card.
TagsNo tags attached.
Fixed in build1784


related to 0013115 closedrusty MMA First-time USB sync to various devices fails (xml file not seen over MTP) 
related to 0013028 closedLudek MMW v4 Sync: Multiple USB Thumb Drives of same type get same profile 
related to 0013005 closedLudek MMW v4 MWM Create double Profile each MMW Start (when info file cannot be written) 
related to 0012205 resolvedLudek MMW v4 Two distinct SD cards are recognized as same device profile 
related to 0013063 resolvedmarek MMA LG L-65: Storage prefixes for SD card don't match 
related to 0013130 resolvedmarek MMA Duplicate profiles can occur due to deletion of storageInfo.xml [MMA] 
related to 0012997 closedLudek MMW v4 USB Sync do not get correct Storage names 
related to 0019122 resolvedmartin MMW 5 Required changes on MM5 side (USB synchronization with Android 11) 



2016-02-10 11:30

developer   ~0044110

Last edited: 2016-02-10 11:41

As discussed offline:

- for USB sync: MMW should copy storageInfo.xml from MMA app specific folder to /MediaMonkey/ folder as storageInfo.xml.mmw (so that it is persistent after MMA uninstall)

- for WiFi sync: Not solvable in general, even if MMA would keep the info on internal storage while it is uninstalled, SD card could be swapped (similar to 0012205)


2016-02-10 14:30

developer   ~0044112

Fixed in


2016-04-26 15:45

developer   ~0044497

verified 1789