Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download estimate decreasing #1427

Closed
5 tasks done
MustXD opened this issue Dec 15, 2024 · 3 comments
Closed
5 tasks done

Download estimate decreasing #1427

MustXD opened this issue Dec 15, 2024 · 3 comments
Labels
bug Something isn't working possible duplicate Assigned by the bot

Comments

@MustXD
Copy link

MustXD commented Dec 15, 2024

Steps to reproduce

  1. Started download
  2. The part where it show the estimated download start decreasing

Expected behavior

I think it should stay the same till the downloading end

Actual behavior

I was trying to download the first ep of arcane and i found something strage the download started without issues then the part where it shows the downloading progress for exemple

  • 00mb/1.3gb*
    The estimated 1.3Gb started decreasing while the progress was increasing until it matched at 400mb and stopped

Cloudstream version and commit hash

4.4.0

Android version

Android 14

Logcat

N/A

Other details

When i opened the downloaded ep it was incomplete so i don't it was showing how much was left to finish

Acknowledgements

  • I am sure my issue is related to the app and NOT some extension.
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have updated the app to pre-release version Latest.
  • I will fill out all of the requested information in this form.
@MustXD MustXD added the bug Something isn't working label Dec 15, 2024
@recloudstream
Copy link
Contributor

recloudstream bot commented Dec 15, 2024

Your issue looks similar to these issues:

Please close if duplicate.

  1. 67% Torrent stream  #1385

🤖 By issues-similarity-analysis

@recloudstream recloudstream bot added the possible duplicate Assigned by the bot label Dec 15, 2024
@MustXD
Copy link
Author

MustXD commented Dec 15, 2024

Screenshot_20241215_040853_CloudStream.jpg

Screenshot_20241215_040731_CloudStream.jpg

@fire-light42
Copy link
Collaborator

This is not a bug as m3u8 files simply do not contain the total amount of bytes. Instead we estimate the total amount of bytes in a m3u8 file by totalSegments * bytesDownloaded / downloadedSegments. However as you have noticed it might cause inaccurate reporting of the actual size.

https://github.com/recloudstream/cloudstream/blob/master/app/src/main/java/com/lagradost/cloudstream3/utils/VideoDownloadManager.kt#L646

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working possible duplicate Assigned by the bot
Projects
None yet
Development

No branches or pull requests

2 participants