OpenSubsonic: playlists and listens #14

Merged
squid merged 1 commit from feat/opensubsonic-playlists into main 2026-11-16 09:22:35 +00:00
Owner

Closes #10

Apps can use my playlists and report what I listen to.

  • getPlaylists, getPlaylist, createPlaylist (new, or in place of an existing one), updatePlaylist (name, comment, songs to add, places to remove) and deletePlaylist: the same playlists as the web app.
  • scrobble records a listen once however many times an app tries again (the key is made from the device, the song and the time), and shares it on Mastodon if I connected it. A "now playing" message records nothing. getNowPlaying answers with nothing.
  • README: a section on connecting other apps, with the list of calls.
  • Checked: Go tests with -race on SQLite, storage/api/opensubsonic on PostgreSQL, an end-to-end test that a playlist made in an app is in the web app and the other way round and that a listen from an app is in the history once, and an independent Subsonic client library against a running server.
Closes #10 Apps can use my playlists and report what I listen to. - `getPlaylists`, `getPlaylist`, `createPlaylist` (new, or in place of an existing one), `updatePlaylist` (name, comment, songs to add, places to remove) and `deletePlaylist`: the same playlists as the web app. - `scrobble` records a listen once however many times an app tries again (the key is made from the device, the song and the time), and shares it on Mastodon if I connected it. A "now playing" message records nothing. `getNowPlaying` answers with nothing. - README: a section on connecting other apps, with the list of calls. - Checked: Go tests with -race on SQLite, storage/api/opensubsonic on PostgreSQL, an end-to-end test that a playlist made in an app is in the web app and the other way round and that a listen from an app is in the history once, and an independent Subsonic client library against a running server.
Apps can use the playlists of a person and report what they listened to.

- getPlaylists, getPlaylist, createPlaylist (with songs, or in place of an
  existing one), updatePlaylist (name, comment, songs to add, places to remove),
  deletePlaylist: the same playlists as the web app
- scrobble records a complete listen once however many times an app tries
  again, and shares it on Mastodon when the person connected it; a now playing
  message records nothing; getNowPlaying answers with nothing
- README section on connecting other apps
squid merged commit 17c134ef8b into main 2026-11-16 09:22:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
squid/sonda!14
No description provided.