*/ protected function defaultQuery(): array { $term = $this->trackName; if ($this->album->name !== Album::UNKNOWN_NAME) { $term .= ' ' . $this->album->name; } if ( $this->album->artist->name !== Artist::UNKNOWN_NAME && $this->album->artist->name !== Artist::VARIOUS_NAME ) { $term .= ' ' . $this->album->artist->name; } return [ 'term' => $term, 'media' => 'music', 'entity' => 'song', 'limit' => 1, ]; } public function resolveEndpoint(): string { return '/'; } }