Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
version: v1-draft
exports:
nd_scrobbler_is_authorized:
description: IsAuthorized checks if a user is authorized to scrobble to this service.
input:
$ref: '#/components/schemas/IsAuthorizedRequest'
contentType: application/json
output:
type: boolean
nd_scrobbler_now_playing:
description: NowPlaying sends a now playing notification to the scrobbling service.
$ref: '#/components/schemas/NowPlayingRequest'
nd_scrobbler_scrobble:
description: Scrobble submits a completed scrobble to the scrobbling service.
$ref: '#/components/schemas/ScrobbleRequest'
components:
schemas:
ArtistRef:
description: ArtistRef is a reference to an artist with name and optional MBID.
properties:
id:
type: string
description: ID is the internal Navidrome artist ID (if known).
name:
description: Name is the artist name.
mbid:
description: MBID is the MusicBrainz ID for the artist.
required:
- name
IsAuthorizedRequest:
description: IsAuthorizedRequest is the request for authorization check.
username:
description: Username is the username of the user.
- username
NowPlayingRequest:
description: NowPlayingRequest is the request for now playing notification.
track:
$ref: '#/components/schemas/TrackInfo'
description: Track is the track currently playing.
position:
type: integer
format: int32
description: Position is the current playback position in seconds.
- track
- position
ScrobbleRequest:
description: ScrobbleRequest is the request for submitting a scrobble.
description: Track is the track that was played.
timestamp:
format: int64
description: Timestamp is the Unix timestamp when the track started playing.
- timestamp
TrackInfo:
description: TrackInfo contains track metadata.
description: ID is the internal Navidrome track ID.
title:
description: Title is the track title.
album:
description: Album is the album name.
artist:
description: Artist is the formatted artist name for display (e.g., "Artist1 • Artist2").
albumArtist:
description: AlbumArtist is the formatted album artist name for display.
artists:
type: array
description: Artists is the list of track artists.
items:
$ref: '#/components/schemas/ArtistRef'
albumArtists:
description: AlbumArtists is the list of album artists.
duration:
type: number
format: float
description: Duration is the track duration in seconds.
trackNumber:
description: TrackNumber is the track number on the album.
discNumber:
description: DiscNumber is the disc number.
mbzRecordingId:
description: MBZRecordingID is the MusicBrainz recording ID.
mbzAlbumId:
description: MBZAlbumID is the MusicBrainz album/release ID.
mbzReleaseGroupId:
description: MBZReleaseGroupID is the MusicBrainz release group ID.
mbzReleaseTrackId:
description: MBZReleaseTrackID is the MusicBrainz release track ID.
path:
description: |-
Path is the full path to the track file, relative to the library root.
Only included if the plugin has library permission with filesystem access for the track's library.
- id
- title
- album
- artist
- albumArtist
- artists
- albumArtists
- duration
- trackNumber
- discNumber