FossifyOrg / Music-Player

A clean music player with a customizable widget, stylish interface and no ads.
https://www.fossify.org
GNU General Public License v3.0
294 stars 29 forks source link

Scanning notification #90

Open BugReportI opened 1 week ago

BugReportI commented 1 week ago

Checklist

Affected app version

1.0.0

Affected Android/Custom ROM version

LineageOS 21.0

Affected device model

Sony Xperia 1 V XQ-DQ54

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Go to menu.
  2. Press rescan media.
  3. The notification keeps showing scanning even if it is finished scanning in the app.

Expected behavior

The notification should go away if scanning is finished or show scanning is finished notification.

Actual behavior

The scanning notification keeps showing scanning.

Screenshots/Screen recordings

No response

Additional information

I am rooted with Magisk 27.0.

BugReportI commented 1 week ago

I have one notification of rescan media showing scanning for 4 hours now.

I do not know if this notification will show that it is finished or not.

BugReportI commented 1 week ago

The old notification seems to resets if scan media is run again and it seems to end and replace the old notification rather than create new notification along with the old one.

naveensingh commented 1 week ago

That is expected. We don't want to create a new notification per scan because there is always only one scan in progress.

This is easily reproducible if you hit Rescan media and close the app. Adding a dedicated background service for media scanning should resolve this.

BugReportI commented 1 week ago

No I thought that it might be related to notification not going away or showing finished status because for last rescan media it would not show the bar for scanning media in app but the notification was showing scanning.