Discord Player

MetadataRequest

Direct HTTP metadata request, also suitable for future generic forwarding.

You are reading the v8 docsDev
Type AliasTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/protocol.ts:88
type MetadataRequest = {
  providerId: string;
  operation: "search.query.match" | "search.query.resolve";
  input: PortableSourceQuery;
} | {
  providerId: string;
  operation: "lyrics.search";
  input: PortableLyricsRequest;
} | {
  providerId: string;
  operation: "track.related";
  input: {
    track: PortableSourceTrack;
  };
}

Direct HTTP metadata request, also suitable for future generic forwarding.