New `furumi_library::podcasts::PodcastStore` in its own podcasts.sqlite3: - user_version migrations in immediate transactions; version 1 is the prototype schema of the original podcast PR, version 2 renames its tables to legacy_* and imports feeds, episodes and fetch state with contract ids; unimportable rows go to legacy_quarantine; newer or foreign files are refused before anything is written; - catalog (podcasts, feed aliases, seasons, episodes), subscription, share and progress registers, listening sessions and local-only fetch state; - local actions that apply and return podcast sync operations, remote operation and snapshot application through the music-dht materializers and merge functions, bounded snapshot export; - RSS refresh ingestion with stable episode ids and alias learning that never touches personal state, and queries for the UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.