MantisBT

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013247MediaMonkey (current)Synchronizationpublic2016-04-25 18:072017-04-19 06:52
Reportermarek 
PriorityurgentSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
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
Attached Files? file icon mmstore.db [^] (134,144 bytes) 2016-04-27 07:54

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

-  Notes
(0044518)
Ludek (developer)
2016-04-27 12:46
edited on: 2016-04-27 12:47

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.



Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker