Skip to content

Commit

Permalink
Update m3u8-downloader.go
Browse files Browse the repository at this point in the history
  • Loading branch information
llychao authored Dec 2, 2024
1 parent 95009c4 commit f52ce10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions m3u8-downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ func getFromFile() string {
// 下载ts文件
// @modify: 2020-08-13 修复ts格式SyncByte合并不能播放问题
func downloadTsFile(ts TsInfo, download_dir, key string, retries int) {
if retries <= 0 {
return
}
defer func() {
if r := recover(); r != nil {
//fmt.Println("网络不稳定,正在进行断点持续下载")
Expand Down

0 comments on commit f52ce10

Please sign in to comment.