Playlet innertube backend (#463)

* Playlet innertube backend

* Video queue view

* changelog

* Tweaks

* Lint fix

* no message

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2024-10-04 15:57:16 -04:00
1 parent 8cb9d7187c
commit d0d45bc1c4
11 files changed
+232 -35

No files matched your search

@@ -42,19 +42,12 @@ function GetDeviceFriendlyName() as string
end function
function ShowAnnouncement()
title = "Announcement #2 - web app hot fix"
title = "Announcement #3 - Playlet innertube backend"
message = [
"Invidious servers continue being blocked by YouTube. https://github.com/iBicha/playlet/issues/400"
"A temporary workaround has been implemented which relies on your Roku device instead of Invidious for streaming data. This workaround is limited, doesn't always work, and doesn't have captions."
"How to use:"
]
bulletText = [
"Go to the " + chr(34) + "Remote" + chr(34) + " screen, and open Playlet Web App in your browser"
"In the web app, tap the video you want to play"
("Choose " + chr(34) + "Play on " + bslib_toString(GetDeviceFriendlyName()) + " (HOT FIX)" + chr(34))
]
bottomMessage = [
"We apologize for the inconvenience."
"Currently, most public Invidious instances don't currently work."
"Because of that, a new backend to play videos has been added to the settings, and it is enabled by default."
"If you would like to use your Invidious instance for playback, you can change the backend in the settings."
"Thank you."
]
buttons = [
Tr("OK")
@@ -62,8 +55,6 @@ function ShowAnnouncement()
dialog = CreateObject("roSGNode", "SimpleDialog")
dialog.title = title
dialog.message = message
dialog.bulletText = bulletText
dialog.bottomMessage = bottomMessage
dialog.buttons = buttons
deviceInfo = CreateObject("roDeviceInfo")
displaySize = deviceInfo.GetDisplaySize()