Skip to content

Commit

Permalink
rename TVHTML5 client to its full name
Browse files Browse the repository at this point in the history
  • Loading branch information
gechoto authored Jan 17, 2025
1 parent 930cc4c commit a4a597e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class InnerTube {
setBody(
PlayerBody(
context = client.toContext(locale, visitorData).let {
if (client == YouTubeClient.TVHTML5) {
if (client == YouTubeClient.TVHTML5_SIMPLY_EMBEDDED_PLAYER) {
it.copy(
thirdParty = Context.ThirdParty(
embedUrl = "https://www.youtube.com/watch?v=${videoId}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ data class YouTubeClient(
useSignatureTimestamp = true,
)

val TVHTML5 = YouTubeClient(
val TVHTML5_SIMPLY_EMBEDDED_PLAYER = YouTubeClient(
clientName = "TVHTML5_SIMPLY_EMBEDDED_PLAYER",
clientVersion = "2.0",
clientId = "85",
Expand Down

0 comments on commit a4a597e

Please sign in to comment.