Commit Graph
36 Commits
Author SHA1 Message Date
sanapachandClaude Opus 5.5 629857dbfe Make podcast episode identity order-independent and linear
Run the no-GUID matching stages across the whole document so a weak
date+title match of an earlier item cannot take a known episode that a
later item matches by enclosure. Keep feed links verbatim (trimmed only)
because they are identity material, and stop html_to_text from scanning
to the end of the text at every '<' when no '>' follows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:10:33 +02:00
sanapachandClaude Opus 5.5 4f7e999280 Document podcast contract and bump crate versions
Add PODCASTS.md as the normative podcast contract: identity and URL
canonicalization, the no-GUID rule, synced versus local versus public
data, operation kinds and merge rules with examples, snapshot recovery,
version gating for peers below v4, Jam privacy and the reserved
playback_rate. Update PLAYBACK_PROTOCOL.md, ARCHITECTURE.md, the crate
READMEs and CHANGELOG.md.

Bump music-dht to 0.6.0 and furumi-library to 0.3.0: new public enum
variants and struct fields are breaking changes for 0.x, and
furumi-library re-exposes music-dht types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:40:55 +02:00
sanapachandClaude Opus 5.5 2d4782819d Add podcasts to device-sync protocol v4
Bump DEVICE_SYNC_PROTOCOL_VERSION to 4 (ALPN unchanged) and carry the
podcast contract between trusted devices:

- podcast_subscription_set, podcast_share_set, podcast_progress_set and
  podcast_listen_recorded operations with record materializers and
  validation; unsubscribe is LWW state, share=false is a tombstone;
- bounded podcast sections in SyncSnapshot, the recovery path for peers
  that upgrade after operations were hidden from them;
- PlaybackTrack.source with PlaybackSource::{Music, PodcastEpisode,
  Private}, reserved PlaybackStateWire.playback_rate and an optional
  self-reported protocol_version in DeviceProfileSet;
- gating helpers for peers below v4 (op_allowed_for_peer,
  playback_allowed_for_peer, playback_command_allowed_from_peer,
  SyncSnapshot::for_peer) and Jam privacy (redact_for_jam,
  redact_jam_snapshot, jam_command_allowed, restore_jam_private_items).

Tests show that a v3-shaped enum rejects a whole batch containing a new
kind, which is why gating is mandatory, and that legacy JSON still
parses and music-only messages keep their v3 shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:40:43 +02:00
sanapachandClaude Opus 5.5 31d132bb3f Add podcast-feed RSS and Atom parser
Port the tolerant RSS 2.0 / RSS 1.0 / Atom parser of the original
furumi-tui podcast work into music_dht::podcast::feed behind the
optional podcast-feed feature (quick-xml, encoding_rs, url). Episode
identity depends on what the parser extracts, so it must be shared by
all clients.

The port keeps its robustness (BOM and declared encodings, entities,
mismatched tags, depth and size limits, lenient dates, http(s)-only
media) and adds itunes:season, itunes:episode, itunes:episodeType,
guid isPermaLink and itunes:new-feed-url. Missing GUIDs stay absent
instead of falling back to the enclosure URL, and parsed items produce
identity hints and contract metadata.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:40:19 +02:00
sanapachandClaude Opus 5.5 38e49c4926 Add shared podcast contract to music-dht
Introduce music_dht::podcast, a pure module (no SQLite, HTTP or clock)
that every Furumi client uses for podcast identity and personal state:

- FeedUrl canonicalization that keeps the path and every query
  parameter byte-for-byte, PodcastId/EpisodeId derivation with
  domain-separated BLAKE3, feed aliases and the documented no-GUID
  episode identity rule;
- bounded PodcastMeta, EpisodeMeta and the self-contained
  PodcastEpisodeRef queue item;
- convergent merge rules for subscriptions (LWW, unsubscribe is state),
  share decisions (false is a tombstone), progress registers ordered by
  a Lamport generation, and listening sessions (G-set, one completion
  per session).

Tests cover every delivery permutation of small operation sets, late
checkpoints of old sessions, concurrent offline sessions and RSS
metadata updates that must not touch progress.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:39:50 +02:00
ab b191c10ba4 Added 'connected devices' to external lib
CI / check (push) Successful in 1m59s
2026-09-10 17:03:53 +03:00
Ultradesu 95bcc9bac4 fix federation recovery after network suspension
CI / check (push) Successful in 1m13s
v0.4.1
2026-09-02 15:09:16 +01:00
Ultradesu 02ef0095f5 Added furumi_library with furumi database primitives
CI / check (push) Successful in 1m25s
2026-08-11 18:07:19 +01:00
Aleksandr Bogomiakov f9a5096aea Add decentralized similarity routing
CI / check (push) Successful in 1m13s
2026-08-10 19:35:35 +01:00
Aleksandr Bogomiakov 6ceb52c5d2 Add shared music similarity protocol
CI / check (push) Successful in 1m55s
2026-08-10 00:21:39 +01:00
Ultradesu 10fa97a915 Added stat version
CI / check (push) Successful in 2m41s
2026-07-28 22:00:11 +01:00
Ultradesu 8de7d12927 Add shared listening history protocol
CI / check (push) Successful in 1m27s
2026-07-27 23:15:53 +01:00
Ultradesu 34f120036f prepared release
CI / check (push) Successful in 2m16s
2026-07-26 03:51:15 +03:00
Ultradesu c6b2a066b4 prepared release
CI / check (push) Successful in 5m17s
2026-07-26 03:48:30 +03:00
Ultradesu a9012351dc Added catalog slices 2026-07-25 22:33:39 +03:00
Ultradesu 085a4752da Added IROH stats expose 2026-07-24 22:28:12 +03:00
Ultradesu e5353fa9b9 Connected Devices logic 2026-07-24 16:12:14 +03:00
Ultradesu 512a818a6a Improved DHT publication. Adjust batching, added validation per key 2026-07-23 16:43:10 +03:00
Ultradesu aaaad780f2 Improved content id search mechanics 2026-07-23 15:43:25 +03:00
Ultradesu a69e651250 Improved content id search mechanics 2026-07-23 15:28:03 +03:00
Ultradesu daea24042c Added DHT status 2026-07-21 20:19:10 +03:00
Ultradesu 8ee1db9cf8 Extend DHT scheme with content_id 2026-07-20 18:04:54 +03:00
Ultradesu a897737978 Extend DHT scheme 2026-07-20 16:28:45 +03:00
Ultradesu fdbc0e2ad0 Fixed DHT republish after TTL 2026-07-20 14:22:15 +03:00
Ultradesu 3f15e9aebd added psql support 2026-07-20 02:00:40 +03:00
Ultradesu 06158b78a4 Pin sqlite 2026-07-17 13:20:07 +03:00
Ultradesu 9504ac23bf dht search fixes 2026-07-17 00:00:05 +03:00
Ultradesu 555222d6d7 Added bytestream ALPN 2026-07-16 18:35:21 +03:00
Ultradesu b9c61e2249 Added music-dht 2026-07-16 17:24:43 +03:00
Ultradesu 5db2efbd2e fixed search 2026-07-16 16:40:48 +03:00
Ultradesu 747ed7a3e9 Added randezvous 2026-07-16 16:04:05 +03:00
Ultradesu 52865470b6 fix 2026-07-10 17:28:15 +03:00
Ultradesu d1ac00462d added example 2026-07-10 15:33:16 +03:00
Ultradesu 3b4c98ba08 added example 2026-07-10 15:13:02 +03:00
Ultradesu a97f0a04b3 added example 2026-07-10 15:10:03 +03:00
Ultradesu 057436adb6 init 2026-07-10 12:45:47 +03:00