View Issue Details

IDProjectCategoryView StatusLast Update
0012014MMW v4Burning / Disc Handlingpublic2014-05-23 20:15
Reportermarek Assigned To 
PriorityurgentSeveritymajorReproducibilityunable to reproduce
Status closedResolutionfixed 
Product Version4.1.1 
Target Version4.1.2Fixed in Version4.1.2 
Summary0012014: Update of playlists fails during USB sync to Android
DescriptionSometimes there is weired update of playlists, i.e. name of playlist doesn't correspond with path. This can cause an exception due to duplicates in data column.

I have found out that one cause is that uploaded DB contains some records in sync_operations table without GUID, i.e. there was an update of playlist without GUID. MMA doesn't check GUID for null or empty value and found playlist without GUID.

This playlist was strange:
 - Seian-/storage/emulated/0/Playlists/Now Playing.m3u (id:5,parent:null,ms:29548, guid:, tracks: 1, subplaylists:0)

List of already inserted playlists:
 - Pirates of Penzance-/storage/emulated/0/Playlists/Pirates of Penzance.m3u (id:2,parent:null,ms:27725, guid:0d6be8d8-d98d-3f87-b78e-8e4009251f4c, tracks: 31, subplaylists:0)
 - Spin-/storage/emulated/0/Playlists/Spin.m3u (id:3,parent:null,ms:26963, guid:7908a91e-8fbe-3ad2-bdd0-dad7cdea22a0, tracks: 3, subplaylists:0)
 - Kurobuto-/storage/emulated/0/Playlists/Kurobuto.m3u (id:4,parent:null,ms:29343, guid:f3c0867c-c65c-34f7-bc4c-83e24c78984f, tracks: 173, subplaylists:0)
 - Seian-/storage/emulated/0/Playlists/Enzo.m3u (id:5,parent:null,ms:29548, guid:, tracks: 1, subplaylists:0)
 - Now Playing-/storage/emulated/0/Playlists/Now Playing.m3u (id:6,parent:null,ms:29937, guid:ca240805-d045-3992-8d5b-231cc1dc02d9, tracks: 1, subplaylists:0)

Please note that this playlist was already incorrectly updated before. I can see in the log that in two previous syncs, this playlist was updated to Shaka.m3u and then to Enzo.m3u. Both without GUID. But there were no duplicates so it continued.

MMA should be robust to solve this situation but bug is probably on MMW side.

I can implement sending us this USB sync DB in this case to next beta build of 1.0.5. Is it necessary or are you able to fix it without it ?
Steps To ReproduceI am not able to replicate it.
TagsNo tags attached.
Fixed in build1704

Activities

Ludek

2014-04-28 07:47

developer   ~0040118

Playlists like 'Now Playing.m3u' are playlists generated when using context menu on Now Playing node -> Send to -> <Device>.
Such a playlists doesn't exist in MMW and are created on-the-fly just for sync purposes, nevertheless you seem to be true that MMW should generate a GUID for them (even if they don't exist in MMW)

Ludek

2014-04-28 08:06

developer   ~0040119

Fixed in 4.1.2.1704

peke

2014-05-23 20:15

developer   ~0040239

verified 1705