pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.63k stars 533 forks source link

refactor: hls Decreasing the number will make download slower but stable. #1160

Closed candrapersada closed 1 year ago

candrapersada commented 1 year ago

NOTE :- Increasing the number will make the download faster but less stable and Decreasing the number will make download slower but stable. and how auto clean ${HOME}/.cache/hls-temp after the download is complete

Pull Request Template

Type of change

Description

ramble here

Checklist

Additional Testcases

CoolnsX commented 1 year ago

No don't, if you have aria2c don't decrease download, as aria handles parallel download perfectly, but if you don't have aria then you can go with or with this formula * 3

CoolnsX commented 1 year ago

I think you didn't understand the concept of my script

candrapersada commented 1 year ago

but if use always many parallel download HLS video download will be broken.

CoolnsX commented 1 year ago

You don't have aria2c installed?? Or are u testing it on ISH?

candrapersada commented 1 year ago

aria2c installed

candrapersada commented 1 year ago

and why cleanup not working in ani-cli ${HOME}/.cache/hls-temp/file.ts after the download is complete to download the next episode?