Add a comment

This commit is contained in:
TobiGr 2022-10-10 22:22:12 +02:00
parent bf70d32eb4
commit 02810a7db7
1 changed files with 2 additions and 1 deletions

View File

@ -171,7 +171,8 @@ public class SoundcloudPlaylistExtractor extends PlaylistExtractor {
try {
final JsonArray tracks = JsonParser.array().from(response);
// Response may not contain tracks in the same order as currentIds
// Response may not contain tracks in the same order as currentIds.
// The streams are displayed in the order which is used in currentIds on SoundCloud.
final HashMap<Integer, JsonObject> idToTrack = new HashMap<>();
for (final Object track : tracks) {
if (track instanceof JsonObject) {