fix: include playlist when processing soundcloud items (#2997)

This commit is contained in:
Dag 2022-09-04 03:50:40 +02:00 committed by GitHub
parent f40ed566be
commit b8f73618c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class SoundCloudBridge extends BridgeAbstract
foreach ($apiItems->collection as $index => $apiItem) {
if (in_array($this->getInput('t'), $hasTrackObject) === true) {
$apiItem = $apiItem->track;
$apiItem = $apiItem->playlist ?? $apiItem->track;
}
$item = [];