Something went wrong. Try again.
[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
Something went wrong. Try again.
922 B · 22 lines
TypeScript
12345678910111213141516171819202122import type { Dayjs } from "dayjs";import type { EmittedMSEvent, PlayObject, SourcePlayerObj, SourceType } from "../../../core/Atomic.ts";import type { MSCoreEvents } from "../../../core/MSCoreEventMap.ts";import type { WebhookPayload } from "./config/health/webhooks.ts";
export interface MSBackendEventMap extends Omit<MSCoreEvents, 'playerUpdate'> { notify: [EmittedMSEvent<WebhookPayload>] discoveredToScrobble: [EmittedMSEvent<{ data: PlayObject | PlayObject[] options: { forceRefresh?: boolean, [key: string]: any, discoverLocation?: 'backlog' | [key: string] checkTime: Dayjs scrobbleFrom: string scrobbleTo: string[] } }>] playerUpdate: [EmittedMSEvent<SourcePlayerObj<Dayjs> & { options: { scrobbleTo: string[], wasMonitored?: boolean } },{},SourceType>] configError: [Error | string] instantiateError: [Error]}