crackededed / Xtra

Xtra is a Twitch player and browser for Android.
GNU Affero General Public License v3.0
1.25k stars 48 forks source link

Request: check file completeness while downloading #481

Closed QmZh closed 2 months ago

QmZh commented 6 months ago

Some of the ts files are incomplete, some are even empty when I encounter a network problem and the app won't check file completeness. Currently, I use ffmpeg to check that the ts files are no shorter than 10, 12, or 12.5 seconds and redownload them in the app. Could you add this function in your app?

crackededed commented 6 months ago

turn on Use WorkManager for downloads in settings and see if it still happens

QmZh commented 6 months ago

turn on Use WorkManager for downloads in settings and see if it still happens

Actually it's happening when this option is on. I had this option on and found that it can download multiple VODs at the same time and when I redownload a VOD (since some files are incomplete and I move them to another folder), already downloaded files won't be downloaded again, which is desirable. If I don't use the WorkManager, the download is only sequential (and slower) and will stuck when a VOD download stuck.

crackededed commented 2 months ago

this shouldn't be a problem anymore because incomplete segments are redownloaded now