Skip to content

Commit

Permalink
player: error fixer upd
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Nov 22, 2024
1 parent 386087f commit 6b1028b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -507,14 +507,14 @@ private boolean applyGenericErrorAction(int type, int rendererIndex, Throwable e
} else {
restartEngine = false;
}
} else if (Helpers.startsWithAny(message, "Response code: 403", "Response code: 404", "Response code: 503", "Response code: 400")) {
} else if (Helpers.startsWithAny(message, "Response code: 403", "Response code: 404", "Response code: 503")) {
// "Response code: 403" (url deciphered incorrectly)
// "Response code: 404" (not sure whether below helps)
// "Response code: 503" (not sure whether below helps)
// "Response code: 400" (not sure whether below helps)
YouTubeServiceManager.instance().applyNoPlaybackFix();
restartEngine = false;
} else if (Helpers.startsWithAny(message, "Response code: 429")) {
} else if (Helpers.startsWithAny(message, "Response code: 429", "Response code: 400")) {
YouTubeServiceManager.instance().applyAntiBotFix();
restartEngine = false;
} else if (type == PlayerEventListener.ERROR_TYPE_SOURCE && rendererIndex == PlayerEventListener.RENDERER_INDEX_UNKNOWN) {
Expand Down
4 changes: 2 additions & 2 deletions smarttubetv/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ android {
applicationId "com.liskovsoft.smarttubetv"
minSdkVersion project.properties.minSdkVersion
targetSdkVersion project.properties.targetSdkVersion
versionCode 1666
versionName "24.76"
versionCode 1667
versionName "24.77"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"

Expand Down

0 comments on commit 6b1028b

Please sign in to comment.