fix: various small fixes (#3580)

This commit is contained in:
Dag 2023-07-31 20:43:18 +02:00 committed by GitHub
parent 8b6eecea25
commit 7e4807530e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 35 additions and 14 deletions

View file

@ -40,6 +40,8 @@ class AppleMusicBridge extends BridgeAbstract
foreach ($json->results as $obj) {
if ($obj->wrapperType === 'collection') {
$copyright = $obj->copyright ?? '';
$this->items[] = [
'title' => $obj->artistName . ' - ' . $obj->collectionName,
'uri' => $obj->collectionViewUrl,
@ -49,7 +51,7 @@ class AppleMusicBridge extends BridgeAbstract
. '><img src="' . $obj->artworkUrl100 . '" /></a><br><br>'
. $obj->artistName . ' - ' . $obj->collectionName
. '<br>'
. $obj->copyright,
. $copyright,
];
}
}