View Issue Details

IDProjectCategoryView StatusLast Update
0020072MMAGeneralpublic2023-06-02 08:12
Reportermartin Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.0.0 
Target Version2.0.1 
Summary0020072: Media from folders in Android/data/.... are not scanned by Android Media Scanner
DescriptionFolder 'Android/data/' contains .nomedia and also subfolders are not scanned to MediaStore.
Such media does not reflect changes (deletion ) from external apps (e.g. file manager).

MMA uses folders like Storage/Android/data/com.ventismedia.android.mediamonkey/files/Music during a sync when access permission is not granted to a related folder in the root of storage like Storage/Music.

If such media are synced via e.g. Wifi sync, then MMA has these media in its library, but deletion from the file manager is still not reflected.
 
Playlists are not scanned too.

This is an issue only when media are copied from MM5 on sd-card in card reader, but previously was inserted in the phone. Media are copied to
'Android/data..'. (Note: on completely empty sd card folders like MediaMonkey, Music are created in root)
USB sync does not work in this case, because MMA database is unavailable.

Solutions:
1) implement 0009941 - read metadata from db, which contains all info about copied media.
2) Use Storage/Android/media/... for media and playlists instead of Storage/Android/data... MMA has full access, and media are visible for AMS and other apps.
advantages: reflects later changes like deletion from external apps
disadvantages: MMA must support both locations for backward compatibility. It must be treated carefully to avoid regression. Support must be on MM5 side too.

Ideally, both solutions should be implemented.
TagsNo tags attached.
Fixed in build

Relationships

related to 0009941 assignedmartin Sync with multiple MediaMonkey libraries (databases) 
related to 0020056 resolvedmartin SD Card synchronization fails / numerous crashes on removal of directories from scan list (regression) 

Activities

There are no notes attached to this issue.