Skip to main content

Crate koan_core

Crate koan_core 

Source

Modules§

artist_info
An artist’s biography and photograph.
audio
auth
Authentication primitives: Ed25519 JWT signing, Argon2id password hashing.
config
db
format
graphql_client
GraphQL client for connecting to a koan serve instance.
helpers
Helpers shared by every front end: koan-tui, koan-server, koan-ffi and koan-cli.
index
invite
Invite links: an account’s server and username, and a token the app trades for an API key of its own.
lyrics
Lyrics for a track: the database cache, then LRCLIB, cached back to the database. Embedded tags and sidecar .lrc files are not read.
organize
player
playlists
Playlists beyond the database: keeping them in step with the server, and writing them out as files.
quiet
What koan may do that nobody asked it to.
remote
scrobbling
Forwarding plays to ListenBrainz.
shelves
The library’s shelves: favourites, recently played, what is downloaded and a search. Each is one narrowing, applied alike to the album, artist and track listings, so a shelf is not a list of its own but the library’s own listings with a filter on. A shelf page shows the first few of each (summary), and its “See all” opens the same listing with the same filter: the two read one query, so they cannot disagree about what is on the shelf or in what order.
signal
Saying that something changed, rather than being asked.
smart
Smart playlists: a playlist whose contents are a rule over the library rather than a list someone made.
upnp
Playing to UPnP AV MediaRenderers: network amplifiers and streamers that fetch a URL they are given and decode it themselves.