Create warning popup for Rokus running OS versions older than 15.1

This commit is contained in:
1hitsong 2026-08-29 09:43:35 -04:00
parent e3752c8a13
commit f45772cef2
4 changed files with 34 additions and 0 deletions

View file

@ -2647,5 +2647,9 @@
<source>Starts With</source>
<translation>Starts With</translation>
</message>
<message>
<source>This Roku will stop receiving Jellyfin for Roku updates on October 1 due to Roku's new OS 15.1 minimum requirement. You can continue using the installed app, but it will never update unless you update your Roku OS. All releases will be blocked unless we make this change. We're forced to do this, so if you're affected, contact Roku. Don't yell at us. You can hide this popup by disabling the 'User Interface / General / Show Roku OS Version Popup' setting.</source>
<translation>This Roku will stop receiving Jellyfin for Roku updates on October 1 due to Roku's new OS 15.1 minimum requirement. You can continue using the installed app, but it will never update unless you update your Roku OS. All releases will be blocked unless we make this change. We're forced to do this, so if you're affected, contact Roku. Don't yell at us. You can hide this popup by disabling the 'User Interface / General / Show Roku OS Version Popup' setting.</translation>
</message>
</context>
</TS>

View file

@ -801,6 +801,13 @@
"type": "bool",
"default": "false"
},
{
"title": "Show Roku OS Version Popup",
"description": "Show Roku OS Version popup when app starts.",
"settingName": "load.rokuospopup",
"type": "bool",
"default": "true"
},
{
"title": "Show What's New Popup",
"description": "Show What's New popup when Jellyfin is updated to a new version.",

View file

@ -2,6 +2,7 @@ import "pkg:/source/enums/ImageType.bs"
import "pkg:/source/utils/misc.bs"
const minimumServerVersion = [10, 9, 0]
const minimumRokuOSVersion = [15, 1, 0]
function LoginFlow()
'Collect Jellyfin server and user information
@ -197,6 +198,11 @@ function LoginFlow()
goto start_login
end if
if isChainValid(m.global, "device.osversion")
OS = m.global.device.osversion
DeviceOSVersionCheck(OS)
end if
LoadUserAbilities()
m.global.sceneManager.callFunc("clearScenes")
@ -220,6 +226,19 @@ sub ServerVersionCheck(systemVersion as string)
end if
end sub
sub DeviceOSVersionCheck(OS as object)
if not chainLookupReturn(m.global.session, "user.settings.`load.rokuospopup`", false) then return
if serverVersionMeetsMinimumRequirements(`${OS.major}.${OS.minor}.${OS.revision}`, minimumRokuOSVersion) then return
m.scene.isLoading = false
stopLoadingSpinner()
show_dialog(`${tr("This Roku will stop receiving Jellyfin for Roku updates on October 1 due to Roku's new OS 15.1 minimum requirement. You can continue using the installed app, but it will never update unless you update your Roku OS. All releases will be blocked unless we make this change. We're forced to do this, so if you're affected, contact Roku. Don't yell at us. You can hide this popup by disabling the 'User Interface / General / Show Roku OS Version Popup' setting.")}`, [tr("OK")], 0)
m.scene.isLoading = true
startLoadingSpinner()
end sub
sub SaveServerList()
'Save off this server to our list of saved servers for easier navigation between servers
server = m.global.session.server.url

View file

@ -22,5 +22,9 @@
{
"description": "Add item count and filter chips to library screens",
"author": "1hitsong"
},
{
"description": "Create warning popup for Rokus running OS versions older than 15.1",
"author": "1hitsong"
}
]