[READ-ONLY] Mirror of https://github.com/FoxxMD/multi-scrobbler. Scrobble plays from multiple sources to multiple clients docs.multi-scrobbler.app
deezer docker jellyfin koito lastfm listenbrainz maloja mopidy mpris music music-assistant plex scrobble self-hosted spotify subsonic tautulli youtube-music
0

Configure Feed

Select the types of activity you want to include in your feed.

feat(ui): Define initial API contract

FoxxMD (Jun 10, 2026, 1:54 AM UTC) c65504ee 373fdb0d

+37
+37
src/core/Api.ts
··· 1 + import { ErrorLike, JsonPlayObject, PlayState } from "./Atomic.js" 2 + 3 + export type PlayApiCommon = { 4 + uid: string 5 + componentId: number 6 + state: PlayState 7 + play: JsonPlayObject 8 + compacted: boolean 9 + playedAt: string 10 + seentAt: string 11 + updatedAt: string 12 + parentUid?: string 13 + // TODO add parent source type/name? 14 + } 15 + 16 + export type PlayInputApi = { 17 + id: number 18 + data: object 19 + play: JsonPlayObject 20 + createdAt: string 21 + } 22 + 23 + export type QueueStateApi = { 24 + id: number 25 + queueName: string 26 + queueState: string 27 + retries: number 28 + error?: ErrorLike 29 + createdAt: string 30 + updatedAt: string 31 + } 32 + 33 + export type PlayApiCommonDetailed = PlayApiCommon & { 34 + error: ErrorLike 35 + input: PlayInputApi 36 + queueStates: QueueStateApi[] 37 + }