Commit Graph
91 Commits
Author SHA1 Message Date
sanapachandClaude Opus 5.5 2c0c3d21aa Proxy podcast audio from publishers on request
Browsers stream episode audio from the publisher by default. For
publishers they cannot play directly (CORS, mixed content), the
administrator can enable podcast_audio_proxy_enabled (admin Settings,
FURU_PODCAST_AUDIO_PROXY_ENABLED). The endpoints live in a new app at
/api/podcasts:

- GET /episodes/{episode_id}/audio streams an episode of the signed-in
  account. The URL comes from the account's catalog, never from the
  request. Requests go through SafeHttp with one sanitized byte Range and
  no client headers; 200/206/416 pass through, only audio content types
  are served, with nosniff and a sandbox CSP, and responses stop at 1 GiB
  or 4 hours.
- GET /episodes/{episode_id}/source returns the publisher URL and, when
  enabled, the proxy URL.
- POST /{podcast_id}/refresh refreshes one subscribed feed now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:12:38 +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 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 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
Aleksandr Bogomiakov 9b923851ae Fixed build. Reworked mobile admin UI 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 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 2026-11-12 11:52:38 +00:00
Aleksandr Bogomiakov bcb5d378c8 Add bulk approval for selected admin reviews 2026-10-23 01:12:54 +01:00
Ultradesu 59345a8d22 Added AI chat with metadata 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 8f7c0d231f Add guided metadata repair tool to admin 2026-10-19 12:05:56 +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 2026-10-15 00:29:37 +01: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 7098f80e9d Added yt-dlp cookies 2026-09-01 13:52:04 +01:00
Ultradesu 39d75b07f6 Added yt-dlp cookies 2026-09-01 12:47:01 +01:00
Ultradesu 34e90b33f6 Fixed merge feature 2026-08-14 18:15:03 +01:00
Ultradesu 5402d9595d Added socks proxy, reworked download manager configuration 2026-08-14 10:54:56 +01:00
Aleksandr Bogomiakov 943191a0ff Added youtube import. Reworked Download Manager 2026-08-14 01:21:51 +01:00
Ultradesu 69883af8bd Reworked settings page 2026-08-11 12:26:16 +01:00
Aleksandr Bogomiakov 6f337ee626 Add DHT routing for similarity search 2026-08-10 19:54:40 +01:00
Aleksandr Bogomiakov 77cbb62d84 Added similarity search 2026-08-10 01:44:40 +01:00
Ultradesu 4efcfdc539 Bump protocols. Added proto status 2026-07-28 22:46:43 +01:00
Ultradesu cad8b2280f Added favicon 2026-07-28 21:27:48 +01:00
Ultradesu 3a75c7d848 Fixed history DTO view 2026-07-28 08:34:29 +01:00
Ultradesu 122214a896 Fixed playback history window 2026-07-27 23:41:29 +01:00
Ultradesu 232c171aac Add synced listening history 2026-07-27 23:16:03 +01:00
Ultradesu 845df4e031 Fixed autoplay after fed download 2026-07-27 17:33:48 +01:00
Ultradesu b0d8929b4c Fixed liked track sorting 2026-07-27 17:09:59 +01:00
Ultradesu 624e75839d Reworked federation. Added settings page. Fixed connected devices. 2026-07-27 16:44:16 +01:00
Ultradesu ee4990e2f1 Fixed control mode tracks art 2026-07-25 00:47:00 +03:00
Ultradesu c2bdd62a51 Added FED devices 2026-07-24 16:45:11 +03:00
Ultradesu d1370c6a28 Improved UI. Added playlist manager 2026-07-23 17:24:28 +03:00
Ultradesu 0615356785 Added federation 2026-07-17 13:30:55 +03:00
Ultradesu 716da908c9 Fixed inbox_process task 2026-07-08 15:22:21 +03:00
Ultradesu 71d6556ba8 Improved artist page 2026-06-09 17:18:55 +01:00
Ultradesu 0ac59eb0ca Improved release editor 2026-06-09 15:06:01 +01:00
Ultradesu 1c54782dd7 Fix queue display 2026-06-08 17:59:46 +01:00
Ultradesu 3a9240b82c Add music sharing and mobile player polish
Add track, release, and queue sharing with post-login redirects; support shared playlist links and highlighted shared tracks.

Add local synchronized playback for jams, constrain HTTP metrics to known routes, and refine mobile player controls/layout.
2026-06-03 17:48:30 +03:00
Ultradesu d31dce3ece Improved player 2026-06-03 03:45:23 +03:00
Ultradesu 1e1453e465 Update metadata jobs and player library 2026-06-03 03:39:16 +03:00
Ultradesu 0a4f78acfa Improve player library and admin user stats 2026-06-03 02:02:23 +03:00
Ultradesu f716c22f86 Added user page. fixed player. 2026-06-02 20:45:00 +03:00
Ultradesu c244b3d4d8 PLAYER: fixe i8n 2026-06-01 18:33:39 +03:00
ab 88b5c7f7d1 UI: fixed some ui issues 2026-06-01 14:53:51 +03:00