playlist

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

playlist download 命令:整单批量下载,worker 池并发 + 跳过已存在 + 失败汇总(PRD-0013)。

流程:AllTracks(拿全量) → 确认闸门(写盘量级) → worker 池(songdl.DownloadOne per song,并发 = --workers,风控自动降并发)→ 汇总(渲染层:成功/跳过/失败计数 + 失败列表走 stderr)。

进度:kit.Progress 总 bar(X-of-Y + ETA,IsTotal=true)+ 每首一个子 bar(完成 ✓/失败 ✗)。 风控:歌间随机 jitter sleep;连续 3 次失败降并发到 1(serialMu 串行化); 降并发后再连续失败 → cancel 全部 + 限流提示。

Package playlist 提供歌单相关命令。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(k *kit.Kit) *cobra.Command

NewCommand 创建 playlist 命令组。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL