Skip to main content

Module content

Module content 

Source
Expand description

Content API operations: search and browse for albums, artists, tracks, playlists.

Modules§

album_download
Album download operations with concurrent track fetching and metadata embedding.
albums
Album search and browse operations.
artist_download
Artist download operations.
artists
Artist search and browse operations.
catalog
Catalog search: searches all content types simultaneously.
download_io
Download file I/O helpers: partial file detection, stream-to-disk writing, cover art fetch.
playlist_download
Playlist download operations.
playlists
Playlist search and browse operations.
tracks
Track search, browse, and download operations.

Functions§

check_cancel
Checks the cancellation flag and returns Canceled if the download was cancelled.
fetch_with_cancel
Checks cancellation before and after an async fetch, discarding the fetch result on cancel.
get_by_id
Sends a get-by-ID request with an optional extra parameter.
paginated
Sends a paginated request by ID with limit and offset parameters.
push_pagination_params
Appends optional limit and offset pagination parameters to a params vector.
search
Sends a search request with query, limit, and offset parameters.