This commit is contained in:
github-action linter committed 2024-10-04 19:54:31 +00:00
1 parent dc00c1e14b
commit c337c43845
1 file changed
+5 -14
@@ -42,19 +42,12 @@ function GetDeviceFriendlyName() as string
end function end function
function ShowAnnouncement() function ShowAnnouncement()
title = "Announcement #2 - web app hot fix" title = "Announcement #3 - Playlet innertube backend"
message = [ message = [
"Invidious servers continue being blocked by YouTube. https://github.com/iBicha/playlet/issues/400" "Most public Invidious instances don't currently work."
"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." "A new backend to play video data has been added to the settings, and it is enabled by default."
"How to use:" "If you would like to use your Invidious instance for playback, you can change the backend in the settings."
] "Thank you."
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."
] ]
buttons = [ buttons = [
Tr("OK") Tr("OK")
@@ -62,8 +55,6 @@ function ShowAnnouncement()
dialog = CreateObject("roSGNode", "SimpleDialog") dialog = CreateObject("roSGNode", "SimpleDialog")
dialog.title = title dialog.title = title
dialog.message = message dialog.message = message
dialog.bulletText = bulletText
dialog.bottomMessage = bottomMessage
dialog.buttons = buttons dialog.buttons = buttons
deviceInfo = CreateObject("roDeviceInfo") deviceInfo = CreateObject("roDeviceInfo")
displaySize = deviceInfo.GetDisplaySize() displaySize = deviceInfo.GetDisplaySize()