View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012983 | MMA | Synchronization | public | 2015-11-29 12:04 | 2016-07-22 13:09 |
Reporter | Ludek | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.3 | ||||
Target Version | 1.1.3 | Fixed in Version | 1.1.3 | ||
Summary | 0012983: Playlists synced prior to MMA install result in duplicates after WiFi sync | ||||
Description | 1) Be sure that MMA was never been installed on the tested storage (i.e. /MediaMonkey/files/ directory is empty) 2) USB sync playlist called 'playlist' from MMW to the storage 3) Install MMA 4) Perform WiFi sync => playlists are duplicated: one with filename /playlists/playlist.m3u the other one with filename /playlists/playlist_1.m3u Looking at the mmstore.db the playlists have different GUID. Solution: MMA should probably assign GUID to an unknown playlist only once the playlist is created (or edited?) in MMA, otherwise suppose that it is the same playlist as the one from MMW (once the file path is the same) | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Fixed in build | 517 | ||||
|
Rusty also indicated that he observes duplicate playlists also in case of USB sync runned after another USB sync prior to MMA install. I guess this is probably related only to KitKat devices where MMW copies playlists to the standard locations at first (/Playlists/ dir) and after MMA install it copies them to the MMA's read-write dir (/Android/Data/...) I guess that performing USB sync with enabled [x] Enforce use of sync mask for files already on the device solves this problem. Is this the case? Probably yes, and is related to item 1i here: http://www.ventismedia.com/mantis/view.php?id=12967#c43352 i.e. whether [x] Enforce use of sync mask for files already on the device should be auto-enabled which we previously concluded that shouldn't. But maybe it should to prevent from duplicate content being synced. |
|
Note that I _was_ testing on a kitkat device. But, enabling 'Enforce use of sync mask' after a USB sync doesn't necessarily clean up the playlists. For example, if the USB sync yields a clean list of playlists, enabling this option and performing a USB sync --> Sync Test case 9) Enabling enforce sync mask and then synchronizing via USB --> hierarchical playlists appear in duplicate (one of them correct, and the duplicate 'empty'). Debug log: 7VLYUY05V8 OR On a second occasion, this test resulted in: Test Hierarchy (3 playlists) Test list (empty) Test list 2 (empty) Test Playlists (2 playlists) Debug log: 2iJ03DJ7Q8 EDIT: I performed this test again, but this time generated a debug log in MMW of the sync operation (attached). If this is a different bug, we can create a separate bug. Debug log: FY4BG9SBRL |
|
From the MMW log I see them duplicated already in the mmstore.db, there are: \Android\data\com.ventismedia.android.mediamonkey\files\Playlists\Test list.m3u \Android\data\com.ventismedia.android.mediamonkey\files\Playlists\Test list_1.m3u \Android\data\com.ventismedia.android.mediamonkey\files\Playlists\Test list 2.m3u So so far it looks that the cause is the same as for the duplication after WiFi sync, I will try if I can replicate with the special MMA build emulating write limited storage that Marek is creating for me. |
|
BTW I found a glitch during fixing the 0012101 that could cause playlist duplication after USB sync, so this should be tested with MMW build 1771 or higher. |
|
Tested with last EXE from Ludek (1771+) with MMA 514 and there is still issues in USB sync when: 1.Clean Android 2. USB sync following hierarchic playlists -aaa HierarchicX Empty - SubplaylistX A - SubplaylistX C 3. Install MMA - MMA contains SubplaylistX A and SubplaylistX C because the parent is empty and m3u doesn't exist 4. USB sync - I tried to sync simple hierarchic playlists and only one was updated. The second one wasn't. - SubplaylistX C - aaa HierarchicX Empty - SubplaylistX A Duplicates after wifi sync are fixed |
|
Fixed in MMW 4.1.10.1772 MMA 514+ should be tested with MMW 1772+ so that playlists with empty GUIDs (those added prior to MMA 514 installation) are updated correctly over USB. |
|
Other issues were found on Write-limited storages Fixed in build 517 |
|
Verified 525 |