[BUG] There is no trigger on media rescan after .nomedia hide/unhide method
FinecoFinit opened this issue · comments
Describe the bug / 问题描述
Media is still visible after adding .nomedia file
Expected behavior / 预期行为
.nomedia file should be created and media rescan called
Basic Information (please complete the following information) / 请填写以下信息:
- OS (ROM) / 系统: Oxygen OS 11
- Android Version / 安卓版本: 11
- Amarok Version / Amarok版本: v0.8.6b1
Apologize for the late response. Made a fix.
Please try out this version.
@deltazefiro Works! But media store might be slow on rescan, I switch the app and pictures still there for a few seconds, I think better add progress bar until media store rescan finishes its job
Works!
Great to hear! Thanks for the timely feedback.
I think better add progress bar until media store rescan finishes its job
I prefer to keep it quiet in the background. The media store scanning process is carried out by the system, not Amarok. Amarok only sends a message to the system to trigger the rescan. Adding a progress bar in Amarok that shows the system's progress could be misleading and nonintuitive.
Well then, lgtm