16 lines
599 B
Rust
16 lines
599 B
Rust
//! Music downloading for Shanty.
|
|
//!
|
|
//! Downloads music files using pluggable backends. The default backend uses
|
|
//! yt-dlp with YouTube Music search, rate limiting, and configurable output format.
|
|
|
|
pub mod backend;
|
|
pub mod error;
|
|
pub mod queue;
|
|
pub mod rate_limit;
|
|
pub mod ytdlp;
|
|
|
|
pub use backend::{AudioFormat, BackendConfig, DownloadBackend, DownloadResult, DownloadTarget, SearchResult};
|
|
pub use error::{DlError, DlResult};
|
|
pub use queue::{DlStats, ProgressFn, SyncStats, download_single, run_queue, run_queue_with_progress, sync_wanted_to_queue};
|
|
pub use ytdlp::{SearchSource, YtDlpBackend};
|