View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015831 | MMA | DB | public | 2019-07-18 22:04 | 2020-12-02 16:31 |
Reporter | peke | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | unable to reproduce |
Status | closed | Resolution | reopened | ||
Target Version | 1.3.5 | Fixed in Version | 1.3.5 | ||
Summary | 0015831: Scanning: "preparing" notification after each reboot can last more than hour (library scan) | ||||
Description | After reboot of phone some users report that "preparing" notification after each reboot an last more than hour (library scan) and MMA forces Hight CPU/Mem Use that results in ut to 10% of battery use. Detailed MMA log files are sent over the that time from a user in order to confirm behavior. My tests showed normal behavior even on non MMA apps, but wonder if we can do something to improve this? Delayed changes scan after reboot and use library only for some limited time time? | ||||
Additional Information | https://www.mediamonkey.com/forum/viewtopic.php?f=21&t=94146 Tests are done as of this post and report https://www.mediamonkey.com/forum/viewtopic.php?p=458322#p458322 | ||||
Tags | No tags attached. | ||||
Fixed in build | 863 | ||||
|
The issue is when the phone is rebooted the system initializes storages and a sd-card is mounted. Always when the sd-card is mounted (not only after reboot) and prepared an onMediaMounted action is received by MMA. MMA wants to scan media on storage because media could be changed/deleted/added. Scanning of all changes can take some time when library contains many thousands of tracks and can be annoying and unnecessary. So I have added notification instead with two options: "New storage mounted" "Do you want to check for new/changed media?" [Check][Postpone] Fixed in build 1.3.5.861 |
|
Verified 861 Please confirm the wording. |
|
Small tweak. 1. Internal Storage Mounting should be ignored, as that mounting only happen on reboot. 2. If system Up time is Less than 1-2 Minutes MM should not prompt for scan but rather just ignore 3. Storage Name should be in Notification 4. There should be an option to skip on mount Scan globally per user preference, with warning that if user disable that feature MMA can't detect mew SDCards insert. |
|
When I rebooted my Pixel 2 (no SD card), the message appeared, but it's confusing because: 5) 'New storage...' There's nothing new on my system about the storage. The device was just rebooted. Also, '...check for...media'. Media in the context of MM usually refers to the storage media rather than the files. With that in mind, perhaps change the entire message to: "Scan for updated media files?" 6) Most confusing: There's no text in the notification to initiate/cancel the scan. And, if the user clicks the notification, nothing happens--i.e. there's no popup asking the user to initiate/cancel the scan! |
|
1. Internal Storage Mounting - ignored 2. Added - 2minutes limit 3. Storage Name should be in Notification - added root path instead storage name (to avoid ANR) 4. I will postpone it to 2.0, I would like to have more options similar to it(e.g from deleting dialog instead countdown), but a user should have the possibility to restore it back in Options. 5) Text updated 6) If you expand the notification, you should have available two buttons "Check" "Postpone", I have added also dialog with same buttons when you click on notification content. |
|
Fixed in build 1.3.5.862 |
|
Verified 1) that no notification appears for devices that don't contain external storage. |
|
Verified 1,2,3, 5,6 in 862 Much clear now and not intrusive, but works without problems even if SDcard is Hot Plugged. Can you please open new bug for 4. and then close this? |
|
I would suggest that there isn't even a need for 4. i.e. if the notification appears and the user ignores it for x minutes, then it can just disappear. If you agree, just close this. |
|
Re notification dismissed after 2 minutes Fixed in build 1.3.5.863 |
|
I just tested 863 on an S7/Android 8 that has an SD card, and no notification appeared. I'm not sure if this is a bug or if the notification is only supposed to appear on certain devices, so I'm leaving this for Peke to verify. |
|
Verified 863 Notification goes away after around 2 minutes @Rusty Notifications appear on all devices that uses battery saver and power optimization to unmount SDCard before turning power off for port and if you hot plug SDcard eg. Eject SDcard turn the phone on and after 10 minutes phone use plugin the SDcard while power is ON and you should see notification. All devices support SDcard HotPlug and they only can get corrupted if you eject SDcard during writing to it. |