mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 18:15:01 +02:00
Fix:Android internal storage downloads audio files multiple times #791
This commit is contained in:
parent
852702112a
commit
5810a83c66
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ class DownloadItemManager(var downloadManager:DownloadManager, private var folde
|
|||
|
||||
Log.d(tag, "Start internal download to destination path ${it.finalDestinationPath} from ${it.serverUrl}")
|
||||
InternalDownloadManager(fileOutputStream, internalProgressCallback).download(it.serverUrl)
|
||||
it.downloadId = 1
|
||||
currentDownloadItemParts.add(it)
|
||||
} else {
|
||||
val dlRequest = it.getDownloadRequest()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue