View Issue Details

IDProjectCategoryView StatusLast Update
0012686MMAGeneralpublic2015-06-12 10:25
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.1.1 
Target Version1.1.3Fixed in Version1.1.3 
Summary0012686: Files don't appear in the library when added externally
DescriptionThere are reports that mma isn't seeing music files that have been added by Amazon music:
http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=80358

I'm able to replicate a similar issue by using BitTorrent Sync to sync videos to:
/SDCard/Android/Data/com.bittorrent.sync/files/download/MovieDir/MovieTitle

Then when I 'Choose library folders' in MMA and enable /External Storage/Android/Data/com.bittorrent.sync/ or /External Storage/Android/Data/com.bittorrent.sync/files/ , the video files that were added don't appear in MMA (even if I subsequently 'Check for new/changed media' in MMA.

On the other hand, video files that have been added to primary storage by bittorrent sync _do_ get detected by MMA.

It possible that the bug is:
- In MMA and that it fails to detect the files for some reason
- Due to a limitation in the Android MediaStore, in which case the bug in MMA is that MMA leads the user to believe that by selecting files in the external storage that MMA will detect them.
TagsNo tags attached.
Fixed in build450

Activities

marek

2015-05-26 09:39

developer   ~0042567

Last edited: 2015-05-26 09:44

Yes, b) is right. I am not sure that MediaStore doesn't scan these folders in all API versions. But I think that it depends on version. I have to research it.

But I would like to change the implementation in following way:

- only one folder in /Android/ folder is accessible. It is MMA specific folder /Android/data/....mediamonkey/files. Btw. this folder is not scanned by MediaStore too. So when user deletes DB, these files are not scanned. But these files are deleted on uninstall too so it is not a big deal. When user do the USB sync the metadata is gained from MMW.

- /Android/data/....mediamonkey/files folder is not easily accessible now. So I will remove the

---------------------------------------------------------
 Android
                                               2 folders
---------------------------------------------------------


folder row from root and replace it with something like

---------------------------------------------------------
 MEDIAMONKEY STORAGE
 /Android/data/com.ventismedia.android.mediamonkey/files
---------------------------------------------------------


It will be as first row in the root folder list and it will lead directly to MMA app specific folder.

rusty

2015-05-26 13:46

administrator   ~0042569

Seems reasonable.

Note: it might make sense for _all_ folders to appear in this manner (rather than using two different mechanisms to choose them). e.g.

MediaMonkey Library Folders
/Android/data/....
/Music

[Add Folder]

marek

2015-06-12 10:25

developer   ~0042617

Fixed in build 1.1.3.450

- /Android/ folder is not shown in storage root
- "MediaMonkey Storage" folder was added to root
  - only to storages where it makes sense - external storages with limited access