Interface Artist

Represents an artist entity in the system

interface Artist {
    artist_coverPath?: string;
    artist_extra_info?: {
        extensions?: Record<string, Record<string, string>>;
        spotify?: { artist_id?: string };
        youtube?: { channel_id?: string };
    };
    artist_id: string;
    artist_mbid?: string;
    artist_name?: string;
    artist_song_count?: number;
}

Properties

artist_coverPath?: string

Path to the artist's cover image

artist_extra_info?: {
    extensions?: Record<string, Record<string, string>>;
    spotify?: { artist_id?: string };
    youtube?: { channel_id?: string };
}

Additional information about the artist from various services

Type declaration

  • Optionalextensions?: Record<string, Record<string, string>>

    Extension-specific data

  • Optionalspotify?: { artist_id?: string }
    • Optionalartist_id?: string

      Spotify artist ID

  • Optionalyoutube?: { channel_id?: string }
    • Optionalchannel_id?: string

      YouTube channel ID

artist_id: string

Unique identifier for the artist

artist_mbid?: string

MusicBrainz identifier for the artist

artist_name?: string

Name of the artist

artist_song_count?: number

Number of songs by this artist