View Issue Details

IDProjectCategoryView StatusLast Update
0020056MMASynchronizationpublic2023-06-07 18:24
Reporterrusty Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.0 
Target Version2.0.0Fixed in Version2.0.0 
Summary0020056: SD Card synchronization fails / numerous crashes on removal of directories from scan list (regression)
DescriptionSynching to an SD card directly fails in a number of ways:
1) Content that previously existed in the MMA library cannot be removed (it's greyed out, and attempting to remove it from the scanned folders list --> crash)
2) When a wi-fi sync is initiated, it doesn't seem to use the profile that had been created during an earlier SD-card sync (not sure if this is a bug, but I would have expected that sync list settings would have been preserved)
3) Newly synced playlists do not appear in MMA while previously synced playlists and content appears greyed out and isn't deletable
Steps To Reproduce1 Remove old SD card from the device
2 Insert a new SD card into the device to make sure it works
--> /MediaMonkey directory is created
3 Remove the new SD card and insert it into the PC
4 Sync several Playlists to the SD card (F:)
--> Content appears to sync successfully
5 Transfer the SD card from the PC to the device
--> Playlists are greyed out as is almost all content
6 Navigate to Options > Library & Sync > Choose library folders
--> It shows
Internal storage (nothing)
SD Card
- Movies
- Music
0000-0000 (greyed out)
- Music (greyed out)
- Movies (greyed out)
- Video (greyed out)
7 Press the 'delete' icon to remove the greyed out content from the scan list
--> MMA crashes (numerous times) This debug log was submitted afterwards: SCK96EE4KE
8 Navigate to Playlists
--> Newly synced playlists don't appear in MMA. Old playlist sitll appear, but are greyed out. They aren't selectable or deletable.
9 Initiate Wi-Fi Sync
--> User is prompted to create a new profile (none of the settings from the SD card sync at step 4 are preserved)
10 Tap sync
--> 80% of the tracks are matched, 20% are resynced!
--> Library still contains Scan locations and Playlists, and track entries that are greyed out and cannot be deleted!
Additional InformationTested on S10 / Android 12
TagsNo tags attached.
Fixed in build1087

Relationships

related to 0019696 closedmartin Playlists can't be deleted from grayed storage. 
related to 0019690 resolvedrusty Artwork sometimes disappears / is missing 
related to 0020072 newmartin Media from folders in Android/data/.... are not scanned by Android Media Scanner 

Activities

martin

2023-06-01 13:47

developer   ~0072147

Last edited: 2023-06-02 12:48

7) MMA crashes fixed
8) moved to 0020072
9) Based on my testing a user is prompted to approve wifi-sync, but the existing profile is used.
But I had a refresh issue in MM5 the profile was not visible in the list "Devices & Services" for a while.
Then it showed up and everything was set correctly.
10)
a)It is due to missing files in the library.
b)Fixed - grayed location must be removed manually in "Library folders"

Fixed in build 2.0.0.1087
the remaining issue(missing tracks & playlists) moved to separate issue 0020072

rusty

2023-06-07 18:21

administrator   ~0072176

Last edited: 2023-06-07 18:24

Tested 1087. Only remaining issues are that:
1) When MM is run after a device restart, the SD card wasn't scanned for content. This is more of an fyi, since the optimization of SD card scanning is being tracked at 0018866
2) When the content from the SD card is scanned, ratings and Play history are missing (i.e. it seems that the content of the /MediaMonkey directory isn't read for newly imported tracks). This is tracked at #14521. Note that this issue can be worked around by initiating a WiFi sync subsequent to the SD Card 'sync'.

Still to verify: SD card sync without having inserted the SD card in MMA beforehand