View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012168 | MMW v4 | Synchronization | public | 2014-09-05 06:49 | 2014-10-18 10:49 |
Reporter | marek | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | random |
Status | closed | Resolution | fixed | ||
Product Version | 4.1.5 | ||||
Target Version | 4.1.5 | Fixed in Version | 4.1.5 | ||
Summary | 0012168: Sync to MMA read-only external SD cards: MMW doesn't append storage path during USB sync | ||||
Description | There are three users that have reported this issue. When I analyzed their logs and DB I saw that paths of files are incorrect: storage prefix was missing. But all files were stored correctly. After that, tracks are not playable from MMA or duplicates are created (with correct and incorrect paths). | ||||
Steps To Reproduce | I am not able to replicate it | ||||
Additional Information | These tickets are related: AWP-250-84028, UYG-546-54414, UZV-158238 | ||||
Tags | No tags attached. | ||||
Fixed in build | 1713 | ||||
|
All three users were asked for MMW logs |
|
There is one log already. USB sync is done before MMA is installed but I think that it doesn't matter. http://www.mediamonkey.com/support/staff/index.php?/Tickets/Ticket/GetAttachment/25308/6981 |
|
The log does not include any MM debug messages, the user probably has not installed the debug version of MMW. Nevertheless the storage prefix is accessible only by MMA, so if USB sync is done prior to MMA installation then MMW cannot know the prefix. Similarly if a storage is read-only for MMA, then the prefix is not written and thus unknown for MMW. Furthermore I remember that the prefix could change on upgrade of Android version, so it should be handled rather by MMA only. The solution is that MMW should write rather the storageGuid (included within storageInfo.xml) and MMA would replace the storageGuid by current storage prefix when processing the data. The same GUID is also used as storage identifier in case of WiFi sync so it will be unified and will preserve the issues noted above. |
|
As discussed further over IM, the root of the original issue is that it is read-only storage, thus MMA can write data only to: /Android/data/com.ventismedia.android.mediamonkey/ , but MMW reads/writes data to /MediaMonkey/files/ therefore the storage prefixes are missing. This needs to be tweaked on MMW side. Waiting for device on which I can test and fix it... |
|
Fixed in build 1713. Tested on S4 + KitKat (where SD card is read-only for MMA) |
|
Substituing storage GUID with storage prefix was implemented in build 1.0.7.301 |
|
Verified 1718 and 310 |