Files
frid/crates/furumi-library
sanapachandClaude Opus 5.5 35115ecc98 Add TrackItem.podcast for podcast queue items
TrackItem gains `podcast: Option<PodcastEpisodeRef>` with
`TrackItem::podcast_episode`, `is_podcast` and `podcast_episode_ref`.
Library queries keep returning music only (`podcast: None`); the library
database is unchanged. Music-only code paths must check `is_podcast`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:42:52 +02:00
..

furumi-library

Client-independent persistence foundation for Furumi music players.

The crate owns the shared library.db contract: SQLite schema and migrations, catalog models and queries, local import and metadata extraction, artwork resolution, playlists, likes, listening history, and similarity index storage. It contains no UI, playback engine, or application runtime.

During local development clients use a path dependency:

furumi-library = { path = "../frid/crates/furumi-library" }

Adjust the relative path to match the position of the client repository. After publication, clients can depend on the released crate version instead.

Library::open(default_db_path()?) opens the same platform-native Furumi library used by every client. Connections use WAL, foreign keys, and a busy timeout so independently running clients can safely share the database.

Version 0.3 follows music-dht 0.6, whose device-sync and podcast contract types it re-exposes. Podcast persistence is not part of this release; it will implement the rules of the workspace PODCASTS.md.