andrade-soulseek-downloader
Version:
Simple, safe Soulseek download library with built-in rate limiting to prevent bans
26 lines • 894 B
TypeScript
/**
* Request DTO for track download use case.
*/
export interface DownloadTrackRequest {
/** Artist name to search */
artist: string;
/** Track title to search */
title: string;
/** Minimum acceptable bitrate in kbps */
minBitrate?: number;
/** Maximum acceptable bitrate in kbps (optional, no limit if not specified) */
maxBitrate?: number;
/** Search timeout in milliseconds */
searchTimeout?: number;
/** Maximum download attempts */
maxAttempts?: number;
/** Directory to save downloaded file */
destinationDir: string;
/** Enable download racing strategy (default: true) */
enableDownloadRacing?: boolean;
/** Number of concurrent downloads to race (default: 3) */
concurrentDownloads?: number;
/** Optional label for YouTube search */
label?: string;
}
//# sourceMappingURL=download-track-request.d.ts.map