View Issue Details

IDProjectCategoryView StatusLast Update
0013247MediaMonkey (current)Synchronizationpublic2017-04-19 10:52
Reportermarek 
PriorityurgentSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.12 
Target Version4.1.12Fixed in Version4.1.12 
Summary0013247: Change the way how MMW process path in MMA DB
DescriptionThe way how the path in MMA DB will be changed is described in 0013246

The storage UID will be stored in storageInfo.xml as <prefix> element on same level as <path> element.

The storage UID is separated from relative path with ':' char:
12AB-CD34:Music/Artist - Album/Track.mp3

You can distinguish the old path and new path. The new one doesn't start with '/' char.

The UID delimiter is always ':'. UID can contain only chars, digits and '-' char. UID can have any length.
Additional Information
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<storages version="1.3" storageGuid="LGH81556d33365.0.b4b606e3-6305-4f90-9b5a-28c7d64965b8">
  <storage>
    <title>Internal storage</title>
    <path>/storage/emulated/0</path>
    <prefix>primary:</prefix>
    <info>MediaMonkey/files/storageInfo.xml</info>
    <type>read-write</type>
    <current>1</current>
  </storage>
  <storage>
    <title>SD card SanDisk</title>
    <path>/storage/3033-3965</path>
    <prefix>3033-3965:</prefix>
    <info>Android/data/com.ventismedia.android.mediamonkey/files/files/storageInfo.xml</info>
    <type>read-write limited</type>
    <current>0</current>
    <appFolder>Android/data/com.ventismedia.android.mediamonkey/files</appFolder>
    <folder>Android/data/com.ventismedia.android.mediamonkey/files</folder>
    <folder></folder>
  </storage>
  <storage>
    <title>USB Kingston</title>
    <path>/storage/30XY-1234</path>
    <prefix>30XY-1234:</prefix>
    <info>Android/data/com.ventismedia.android.mediamonkey/files/files/storageInfo.xml</info>
    <type>read-write limited</type>
    <current>0</current>
    <appFolder>Android/data/com.ventismedia.android.mediamonkey/files</appFolder>
    <folder>Android/data/com.ventismedia.android.mediamonkey/files/Music</folder>
    <folder>Music</folder>
    <folder>Video</folder>
  </storage>
</storages>
TagsNo tags attached.
Fixed in build1790

Relationships

related to 0013246 closedmarek MediaMonkey for Android Rework the way how the path to file is stored to DB and preferences 
related to 0014150 closedLudek MediaMonkey (current) MMW syncs with deprecated paths over USB 

Activities

marek

2016-04-27 11:54

developer  

mmstore.db (134,144 bytes)

Ludek

2016-04-27 16:46

developer   ~0044518

Last edited: 2016-04-27 16:47

View 3 revisions

Fixed in 4.1.12.1790

Test note: It is just preparation for future storageInfo.xml format (version="1.3") -- so current behaviour is not affected (low risk change for current build).
Can be tested against MMA 1.2.1 once 0013246 is implemented.