diff --git a/innertube/src/main/java/com/malopieds/innertube/YouTube.kt b/innertube/src/main/java/com/malopieds/innertube/YouTube.kt index e7c18f328..881992186 100644 --- a/innertube/src/main/java/com/malopieds/innertube/YouTube.kt +++ b/innertube/src/main/java/com/malopieds/innertube/YouTube.kt @@ -888,23 +888,23 @@ object YouTube { ): Result = runCatching { var playerResponse: PlayerResponse - if (this.cookie != null) { // if logged in: try ANDROID_MUSIC client first because IOS client does not play age restricted songs + if (this.cookie != null && false) { // if logged in: try ANDROID_MUSIC client first because IOS client does not play age restricted songs playerResponse = innerTube.player(ANDROID_MUSIC, videoId, playlistId).body() if (playerResponse.playabilityStatus.status == "OK") { println("there") return@runCatching playerResponse } } - try { - val safePlayerResponse = innerTube.player(WEB_REMIX, videoId, playlistId).body() - if (safePlayerResponse.isValid) { - return@runCatching safePlayerResponse - } - } catch (e: Exception) { - error(e) - } - playerResponse = - innerTube.player(IOS, videoId, playlistId).body() +// try { +// val safePlayerResponse = innerTube.player(WEB_REMIX, videoId, playlistId).body() +// if (safePlayerResponse.isValid) { +// return@runCatching safePlayerResponse +// } +// } catch (e: Exception) { +// error(e) +// } + + playerResponse = innerTube.player(IOS, videoId, playlistId).body() if (playerResponse.playabilityStatus.status == "OK") { return@runCatching playerResponse }