Added artist url to XML output.
This commit is contained in:
parent
d8c217a986
commit
39f7dd7435
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ switch($format) {
|
|||
$artist = $elem->appendChild($document->createElement('Artist'));
|
||||
$artist->appendChild($document->createElement('Name', htmlspecialchars($recentTrack->artist?->{"#text"} ?? '')));
|
||||
$artist->appendChild($document->createElement('Mbid', $recentTrack->artist?->mbid ?? ''));
|
||||
$artist->appendChild($document->createElement('Url', htmlspecialchars(explode('/_/', $recentTrack->url, 2)[0])));
|
||||
|
||||
$album = $elem->appendChild($document->createElement('Album'));
|
||||
$album->appendChild($document->createElement('Name', htmlspecialchars($recentTrack->album?->{"#text"} ?? '')));
|
||||
|
|
Loading…
Reference in a new issue