Originally created by @lukeIam on GitHub (Jan 6, 2023).
Is your feature request related to a problem? Please describe.
When I download a single audiobook with >150 parts to my android device a get a lot of annoying notification.
Even better: my android system groups them in groups of 20 -> I have so slide them away more then seven times.
Describe the solution you'd like
No (system) notifications for downloading all the single files.
I have the progress in app (would be enough for me) but some single notification from audiobookshelf showing the progress (xx from yy) would be nice.
Originally created by @lukeIam on GitHub (Jan 6, 2023).
### Is your feature request related to a problem? Please describe.
When I download a single audiobook with >150 parts to my android device a get a lot of annoying notification.
Even better: my android system groups them in groups of 20 -> I have so slide them away more then seven times.
### Describe the solution you'd like
No (system) notifications for downloading all the single files.
I have the progress in app (would be enough for me) but some single notification from audiobookshelf showing the progress (xx from yy) would be nice.
### Additional context
Disabling the "system downloader notification" should be easy. I just had a short look into your code - should be this line:
https://github.com/advplyr/audiobookshelf-app/blob/master/android/app/src/main/java/com/audiobookshelf/app/plugins/AbsDownloader.kt#L98
changed to `DownloadManager.Request.VISIBILITY_HIDDEN`
If there is already an options the disable the download notifications then I'm sorry (pretty new to audiobookshelf and currently testing if it can replace my current audiobook app)
VISBILITY_HIDDEN requires extra permission. I changed to VISIBILITY_VISIBLE and this works well because the notification is there while downloading but disappears after completion. When it shows during download these will be collapsed together.
@advplyr commented on GitHub (Jan 20, 2023):
`VISBILITY_HIDDEN` requires extra permission. I changed to `VISIBILITY_VISIBLE` and this works well because the notification is there while downloading but disappears after completion. When it shows during download these will be collapsed together.
Source: https://developer.android.com/reference/android/app/DownloadManager.Request#setNotificationVisibility(int)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @lukeIam on GitHub (Jan 6, 2023).
Is your feature request related to a problem? Please describe.
When I download a single audiobook with >150 parts to my android device a get a lot of annoying notification.
Even better: my android system groups them in groups of 20 -> I have so slide them away more then seven times.
Describe the solution you'd like
No (system) notifications for downloading all the single files.
I have the progress in app (would be enough for me) but some single notification from audiobookshelf showing the progress (xx from yy) would be nice.
Additional context
Disabling the "system downloader notification" should be easy. I just had a short look into your code - should be this line:
https://github.com/advplyr/audiobookshelf-app/blob/master/android/app/src/main/java/com/audiobookshelf/app/plugins/AbsDownloader.kt#L98
changed to
DownloadManager.Request.VISIBILITY_HIDDENIf there is already an options the disable the download notifications then I'm sorry (pretty new to audiobookshelf and currently testing if it can replace my current audiobook app)
@advplyr commented on GitHub (Jan 20, 2023):
VISBILITY_HIDDENrequires extra permission. I changed toVISIBILITY_VISIBLEand this works well because the notification is there while downloading but disappears after completion. When it shows during download these will be collapsed together.Source: https://developer.android.com/reference/android/app/DownloadManager.Request#setNotificationVisibility(int)
@advplyr commented on GitHub (Jan 31, 2023):
Updated in v0.9.61-beta