Skip to content

Commit 2d88c29

Browse files
taraskondratiukTaras Kondratiuk
andauthored
fix: avoid infinite recursion in case playabilityStatus NON_EMBEDDABLE (#54)
Co-authored-by: Taras Kondratiuk <[email protected]>
1 parent f64f795 commit 2d88c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/dev/lavalink/youtube/clients/skeleton/NonMusicClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ protected JsonBrowser loadTrackInfoFromInnertube(@NotNull YoutubeAudioSourceMana
117117
new RuntimeException("Non-embeddable video cannot be loaded by embedded client"));
118118
}
119119

120-
json = loadTrackInfoFromInnertube(source, httpInterface, videoId, status);
120+
json = loadTrackInfoFromInnertube(source, httpInterface, videoId, playabilityStatus);
121121
getPlayabilityStatus(json.get("playabilityStatus"), true);
122122
}
123123

0 commit comments

Comments
 (0)