Commit Graph
161 Commits
Author SHA1 Message Date
sanapachandClaude Opus 5.5 7f07cb206a Add a PostgreSQL podcast store with relay import
PodcastStore implements the music_dht::podcast contract per account:
catalog, feed aliases, episodes with a derived season view, the
subscription, share and progress registers, listening sessions and the
local-only fetch state. Received operations, snapshot records and local
actions share one apply path (materializers plus merge functions) under
a per-account advisory lock. Local actions append their operation to the
device-sync log with the next stamp of the web device and apply exactly
that operation in the same transaction.

Migration m_0056 creates the tables; m_0057 imports the registers that
0.13 kept in furumusic__fed_podcast_relay and the catalog rows of the
episode references in the operation log. The relay table is kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:12:38 +02:00
sanapachandClaude Opus 5.5 cc1705457e Enable the shared podcast feed parser
The podcast store resolves episode ids from parsed feeds with the
identity hints of music_dht::podcast::feed, which are part of the id
contract.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:12:37 +02:00
sanapachandClaude Opus 5.5 4f17feef71 Point frid deps at the fork branch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:12:29 +02:00
sanapachandClaude Opus 5.5 c1cd689ea0 Test episode resume positions and rollback cleanup on PostgreSQL
The ignored device-sync PostgreSQL test now also covers a handoff and a
remote Next onto an episode with an unknown position (the relayed
progress register supplies 1200 s and its generation), and checks that
0.12's operation types fail on a relayed podcast operation and read the
log again after the documented cleanup statement, which the m_0055
backwards operation now shares.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:26:40 +02:00
sanapachandClaude Opus 5.5 a04a7460e6 Note the review fixes in the changelog and docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:22:26 +02:00
sanapachandClaude Opus 5.5 3af0e8ccc9 Keep a rollback to 0.12 safe for sync and the typed queue
Release 0.12 fails a whole sync batch on a podcast operation kind, so
rolling back is only safe after the relayed podcast operations are
removed: document the step in docs/administration.md and run it in the
m_0055 backwards operation.

The typed queue now records the current track id and queue position
written with it, next to the legacy ids. A 0.12 release that only moved
to another track in the same queue no longer leaves a stale typed
position that the next upgrade would restore. Jam placeholders are never
stored in a user's own typed queue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:22:19 +02:00
sanapachandClaude Opus 5.5 6f3ed4b7ee Check Jam participant commands against the host queue
The server checked a participant's queue_remove/queue_clear against the
host state of the last report, but the host browser runs its pending
commands in one batch: after a move, a checked index can name a private
item. Participant commands are now stamped `jam_participant`, and the
host browser refuses to remove, clear, add or bring back its private
items for them, judged on the queue it is about to change.

A guest that stops controlling a Jam drops the host's private
placeholders from its own queue, so they are not saved or relayed as
the guest's queue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:21:51 +02:00
sanapachandClaude Opus 5.5 d1be583d1e Resume unknown episode positions from progress, not 0
The web player only knows a podcast episode's position from a handoff or
a seek. When Next, auto-advance, a click or a play command makes an
episode current, it now reports `position_unknown` instead of 0, and the
server takes the resume position (and the register generation) from the
relayed progress register before it hands the state to another device.
Remote Next/Prev/play commands to a device do the same.

Next with repeat all or shuffle wraps past a trailing unplayable item
instead of stopping on it. Prev leaves an unplayable item instead of
"restarting" it, and seeking such an item moves its kept position.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:21:25 +02:00
sanapachandClaude Opus 5.5 ab7202fc73 Note the podcast queue fixes in the changelog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:35:49 +02:00
sanapachandClaude Opus 5.5 19139ea830 Undo metadata deletions archived before the typed queue column
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:35:49 +02:00
sanapachandClaude Opus 5.5 a9736e5914 Keep Jam guests from removing or timing the host's private items
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:35:49 +02:00
sanapachandClaude Opus 5.5 4d0b352258 Keep the episode position and skip unplayable items safely in the player
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:35:49 +02:00
sanapachandClaude Opus 5.5 c14ab8dfea Document podcast queue support and release 0.13.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:58:32 +02:00
sanapachandClaude Opus 5.5 b558cf381e Relay device-sync v4 and keep podcast queue items
Use the shared music_dht::device_sync types instead of private copies
(byte-identical for v3 content, checked against the 0.12.x types and a
golden fixture) and announce protocol 4, because every v4 element is
kept:

- podcast operations stay in the operation log and are relayed only to
  peers that reported v4; their registers and the podcast snapshot
  sections are merged with the shared rules into an opaque relay table
  and returned in this server's snapshots (m_0055);
- the browser bridge carries PlaybackTrack.source: items that are not
  library tracks keep the verbatim wire item, so podcast episodes and
  Jam placeholders survive the round trip; the player labels and skips
  them instead of dropping them;
- the typed queue is persisted in queue_items_json next to queue_json,
  which is still written for rollback (m_0054).

Peer versions come from self-reports (profile_protocol_version); relayed
profiles only raise them and DeviceProfileSet no longer stores this
server's constant. Invites carry the inviter's version and a
DeviceProfileSet announces v4 once. Handoffs of a podcast queue to a
device below v4 are refused with an update message, and its playback
commands are ignored while the queue has podcast items. Jam guests see
podcast items as private placeholders, which are mapped back on their
commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:58:29 +02:00
sanapachandClaude Opus 5.5 75c67026ac Update music-dht to 0.6.0
The podcast contract and device-sync protocol v4 live in music-dht 0.6.
Cargo.lock currently resolves it from a local patch of the frid branch
podcasts/contract and must be regenerated against the published crate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:58:21 +02:00
Aleksandr Bogomiakov 9b923851ae Fixed build. Reworked mobile admin UI v0.12.4 2026-11-18 15:17:50 +00:00
Aleksandr Bogomiakov 939fc00e4c Reworked new users login, improved share feature, enabled track downloads 2026-11-18 14:40:16 +00:00
Aleksandr Bogomiakov 2b7117a4f6 Fixed metadata AI assistant v0.12.3 2026-11-16 01:10:59 +00:00
Aleksandr Bogomiakov 3d886d1acd Improved metadata AI Assistant. 2026-11-16 00:32:33 +00:00
Aleksandr Bogomiakov 4141562e33 Added stat page v0.12.2 2026-11-12 11:52:38 +00:00
Aleksandr Bogomiakov bcb5d378c8 Add bulk approval for selected admin reviews v0.12.1 2026-10-23 01:12:54 +01:00
Ultradesu 59345a8d22 Added AI chat with metadata v0.12.0 2026-10-19 13:35:05 +01:00
Ultradesu 0975f3851a Added AI chat with metadata 2026-10-19 13:13:10 +01:00
Ultradesu bded5a79cc Accept partial agent metadata plans 2026-10-19 12:28:20 +01:00
Ultradesu 2aede192fe Added AI chat with metadata 2026-10-19 12:13:14 +01:00
Ultradesu 2199fda240 Avoid stripped proc macros in release builds 2026-10-19 12:10:24 +01:00
Ultradesu 8f7c0d231f Add guided metadata repair tool to admin 2026-10-19 12:05:56 +01:00
Aleksandr Bogomiakov 9ab27c921c Fixed last.fm popularity index v0.11.1 2026-10-16 02:31:36 +01:00
Aleksandr Bogomiakov bd1d3a4ebc Optimize Last.fm popularity lookups with light and full modes 2026-10-16 00:59:09 +01:00
Aleksandr Bogomiakov 2b3b50f7af Improved AI metadata processing v0.11.0 2026-10-15 00:29:37 +01:00
Aleksandr Bogomiakov 8c0ea444f0 Fixed SQL insert shtorm and connected devices migration v0.10.8 2026-10-06 18:09:47 +01:00
ab 5069123541 Fix cookie uploader v0.10.7 2026-09-22 00:51:28 +03:00
ab a8bbb4b603 Fix connected devices 2026-09-10 18:15:55 +03:00
ab ba1c565bdc Integrate shared playback coordination and release 0.10.7 2026-09-10 17:08:34 +03:00
Ultradesu 3641b073e5 Fix lock v0.10.6 2026-09-02 15:53:19 +01:00
Ultradesu c9266bad22 fix federation recovery after sleep 2026-09-02 15:10:30 +01:00
Ultradesu 7098f80e9d Added yt-dlp cookies v0.10.5 2026-09-01 13:52:04 +01:00
Ultradesu a0964b651b Added yt-dlp cookies 2026-09-01 13:16:38 +01:00
Ultradesu b1ce504db6 Added yt-dlp cookies 2026-09-01 12:47:09 +01:00
Ultradesu 39d75b07f6 Added yt-dlp cookies 2026-09-01 12:47:01 +01:00
Ultradesu 34e90b33f6 Fixed merge feature v0.10.4 2026-08-14 18:15:03 +01:00
Ultradesu 1ab53e3898 Fixed ytdl retries 2026-08-14 12:56:03 +01:00
Ultradesu 0b32d7e813 Fixed ytdl retries 2026-08-14 12:18:42 +01:00
Ultradesu 5402d9595d Added socks proxy, reworked download manager configuration 2026-08-14 10:54:56 +01:00
Aleksandr Bogomiakov 9d9edcfec8 Fix Docker build v0.10.3 2026-08-14 01:59:16 +01:00
Aleksandr Bogomiakov 943191a0ff Added youtube import. Reworked Download Manager 2026-08-14 01:21:51 +01:00
Ultradesu 2b254f417f Updated readme 2026-08-12 01:41:00 +01:00
Ultradesu 69883af8bd Reworked settings page v0.10.2 2026-08-11 12:26:16 +01:00
Aleksandr Bogomiakov 6f337ee626 Add DHT routing for similarity search v0.10.1 2026-08-10 19:54:40 +01:00
Aleksandr Bogomiakov 77cbb62d84 Added similarity search v0.10.0 2026-08-10 01:44:40 +01:00