Skip to content

Commit

Permalink
revert mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
gechoto authored Dec 29, 2024
1 parent a352e50 commit 9d94925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion innertube/src/main/java/com/zionhuang/innertube/YouTube.kt
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ object YouTube {
}
val safePlayerResponse = innerTube.player(TVHTML5, videoId, playlistId).body<PlayerResponse>()
if (safePlayerResponse.playabilityStatus.status != "OK") {
return@runCatching safePlayerResponse
return@runCatching playerResponse
}
val audioStreams = innerTube.pipedStreams(videoId).body<PipedResponse>().audioStreams
safePlayerResponse.copy(
Expand Down

0 comments on commit 9d94925

Please # to comment.