Skip to content

Commit 99b9cdb

Browse files
committed
1 parent 1b3a3f3 commit 99b9cdb

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,9 @@ public static String getInfoItemsFromApi(final MultiInfoItemsCollector collector
402402
// `Likes` feed, so they should be handled by the correct extractor.
403403
final JsonObject likedPlaylist =
404404
searchResult.getObject("playlist", null);
405-
collector.commit(
406-
null == likedPlaylist
407-
? new SoundcloudLikesInfoItemExtractor(searchResult)
408-
: new SoundcloudPlaylistInfoItemExtractor(likedPlaylist)
405+
collector.commit(likedPlaylist == null
406+
? new SoundcloudLikesInfoItemExtractor(searchResult)
407+
: new SoundcloudPlaylistInfoItemExtractor(likedPlaylist)
409408
);
410409
break;
411410
}

0 commit comments

Comments
 (0)