View Issue Details

IDProjectCategoryView StatusLast Update
0014366MMAPlaylistspublic2017-09-06 06:55
Reporterrusty Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.1 
Target Version1.3.1Fixed in Version1.3.1 
Summary0014366: Adding tracks to a playlist can cause the playlist to be deleted
DescriptionAlso, I was again able to replicate a variant of the the problem of an edit triggering content deletion. Let's call this (Bug 3). Here's how:
1 Sync New Downloads and New Downloads2 (New downloads 2 is just a subset of New Downloads)
2 In MMA, open 'New Downloads', select the last track, and add it to 'New Downloads 2'
3 Open the 'Playlists' node
--> The destination playlist 'New downloads 2' is deleted!!
Additional InformationTested on a Samsung S6 / Android 6. Possibly related to other sync bugs on that device that occur due to failed writes ?
TagsNo tags attached.
Fixed in build726

Relationships

related to 0014354 closedmarek Wi-Fi Sync: Editing tracks causes them to be deleted from Playlists / Playlists updated even when not changed 
related to 0014355 closedmarek "Enforce use of sync mask for files already on the device" fails 

Activities

martin

2017-09-01 13:47

developer   ~0048644

I was able to replicate it on my Samsung s5 mini.
SAF is buggy on Samsung devices with encrypted sd card.
SAF returns encoded instead decoded stream for reading. This was the reason why we use old FileInputStream for reading in this case. Unfortunately, FileInputStream returns old content when we modify a file by SAF. Luckily, until sd-card is not encoded, SAF reading works.
So this situation is fixed in next build 1.3.1.726.

Unfortunately, other apps have similar issues (Text editors, music players)
and users must be careful with Google Music Player.
I mean when I switch to Google Play Music before sd-card is encrypted,
then I guess GPM check playlist file content, but get old content and modify MediaStore back to the old content. The following sync with media store updates playlist in MMA to old content too.

It's not 100% reproducible, it happens sometimes only, but it can't be fixed on MMA side. This is the reason why encrypted sd-cards on Samsung devices can't be fully supported by MMA.

rusty

2017-09-06 06:55

administrator   ~0048667

Verified 726.