Added GetArtistPlayCount(mbid) — fetches ArtistPopularity from LB for a single MBID and returns the total listen count. Fire-and-forget call on the artist page, displays below the meta line as '1.3M plays on ListenBrainz' (uses existing formatListenCount).
57 lines
2.1 KiB
TypeScript
Executable File
57 lines
2.1 KiB
TypeScript
Executable File
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
import {explore} from '../models';
|
|
import {context} from '../models';
|
|
|
|
export function BrowseReleaseGroups(arg1:string):Promise<Array<explore.MBReleaseGroup>>;
|
|
|
|
export function BrowseReleases(arg1:string):Promise<Array<explore.MBRelease>>;
|
|
|
|
export function CheckLibraryMBIDs(arg1:Array<string>):Promise<Record<string, string>>;
|
|
|
|
export function CoverArtGroupURL(arg1:string):Promise<string>;
|
|
|
|
export function CoverArtURL(arg1:string):Promise<string>;
|
|
|
|
export function GetArtistImageURL(arg1:string):Promise<string>;
|
|
|
|
export function GetArtistImages(arg1:Array<string>):Promise<Record<string, string>>;
|
|
|
|
export function GetArtistMBID(arg1:string):Promise<string>;
|
|
|
|
export function GetArtistPlayCount(arg1:string):Promise<number>;
|
|
|
|
export function GetThumbnail(arg1:string,arg2:string,arg3:string):Promise<string>;
|
|
|
|
export function GetThumbnails(arg1:Array<explore.ThumbnailRequest>):Promise<Record<string, string>>;
|
|
|
|
export function IndexNewArtists():Promise<void>;
|
|
|
|
export function InvalidateIndexDiscographies():Promise<void>;
|
|
|
|
export function LookupArtist(arg1:string):Promise<explore.MBArtist>;
|
|
|
|
export function LookupReleaseGroup(arg1:string):Promise<explore.MBReleaseGroup>;
|
|
|
|
export function Search(arg1:string):Promise<explore.MBSearchResult>;
|
|
|
|
export function SearchArtists(arg1:string):Promise<Array<explore.MBArtist>>;
|
|
|
|
export function SearchLocal(arg1:string):Promise<explore.MBSearchResult>;
|
|
|
|
export function SearchRecordings(arg1:string):Promise<Array<explore.MBRecording>>;
|
|
|
|
export function SearchReleaseGroups(arg1:string):Promise<Array<explore.MBReleaseGroup>>;
|
|
|
|
export function SetContext(arg1:context.Context):Promise<void>;
|
|
|
|
export function SimilarArtists(arg1:string):Promise<Array<explore.LBSimilarArtist>>;
|
|
|
|
export function StartIndexBuild():Promise<void>;
|
|
|
|
export function StopIndexBuild():Promise<void>;
|
|
|
|
export function TopRecordingsForArtist(arg1:string):Promise<Array<explore.LBTopRecording>>;
|
|
|
|
export function TopReleaseGroupsForArtist(arg1:string):Promise<Array<explore.LBTopReleaseGroup>>;
|