Compare commits

..

1 Commits

Author SHA1 Message Date
Fijxu
4daf1f0818 Add TvSimply client
Data taken from: 8cf658151f, 689fb0b90e and b15f623dab
2025-06-12 01:24:45 -04:00
2 changed files with 7 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ module Invidious::Routes::Embed
return error_template(500, ex) return error_template(500, ex)
end end
url = "/embed/#{first_playlist_video.id}?#{env.params.query}" url = "/embed/#{first_playlist_video}?#{env.params.query}"
if env.params.query.size > 0 if env.params.query.size > 0
url += "?#{env.params.query}" url += "?#{env.params.query}"

View File

@@ -42,6 +42,7 @@ module YoutubeAPI
TvHtml5 TvHtml5
TvHtml5ScreenEmbed TvHtml5ScreenEmbed
TvSimply
end end
# List of hard-coded values used by the different clients # List of hard-coded values used by the different clients
@@ -178,6 +179,11 @@ module YoutubeAPI
version: "2.0", version: "2.0",
screen: "EMBED", screen: "EMBED",
}, },
ClientType::TvSimply => {
name: "TVHTML5_SIMPLY",
name_proto: "74",
version: "1.0",
},
} }
#################################################################### ####################################################################