fixed arjix download m3u8 stuff again

This commit is contained in:
LagradOst 2021-12-07 19:17:34 +01:00
parent a50cb9a08d
commit 444488849e

View file

@ -1153,7 +1153,7 @@ object VideoDownloadManager {
Triple(
id,
bytesDownloaded,
(bytesDownloaded / tsProgress) * totalTs
(bytesDownloaded * (totalTs / tsProgress.toFloat())).toLong(),
)
)
} catch (e: Exception) {
@ -1165,7 +1165,7 @@ object VideoDownloadManager {
CreateNotificationMetadata(
type,
bytesDownloaded,
(bytesDownloaded / tsProgress) * totalTs
(bytesDownloaded * (totalTs / tsProgress.toFloat())).toLong(),
)
)
}
@ -1253,7 +1253,6 @@ object VideoDownloadManager {
deleteFile()
updateNotification()
closeAll()
}
for (ts in tsIterator) {