Add setting: Use splashscreen as home background
This commit is contained in:
parent
30f294e012
commit
d6ff84b2ff
|
@ -1,6 +1,11 @@
|
|||
sub init()
|
||||
m.top.overhangTitle = "Home"
|
||||
m.top.optionsAvailable = true
|
||||
|
||||
if get_user_setting("ui.home.splashBackground") = "true"
|
||||
m.backdrop = m.top.findNode("backdrop")
|
||||
m.backdrop.uri = buildURL("/Branding/Splashscreen?format=jpg&foregroundLayer=0.15&fillWidth=1280&width=1280&fillHeight=720&height=720&tag=splash")
|
||||
end if
|
||||
end sub
|
||||
|
||||
sub refresh()
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<component name="Home" extends="JFGroup">
|
||||
<children>
|
||||
<Poster id="backdrop" loadDisplayMode="scaleToZoom" width="1920" height="1200" />
|
||||
<HomeRows id="homeRows" />
|
||||
<OptionsSlider id="options" />
|
||||
</children>
|
||||
|
@ -13,4 +14,6 @@
|
|||
<function name="loadLibraries" />
|
||||
</interface>
|
||||
<script type="text/brightscript" uri="Home.brs" />
|
||||
<script type="text/brightscript" uri="pkg:/source/api/baserequest.brs" />
|
||||
<script type="text/brightscript" uri="pkg:/source/utils/config.brs" />
|
||||
</component>
|
||||
|
|
|
@ -16,6 +16,19 @@
|
|||
"title": "User Interface",
|
||||
"description": "Settings relating to how the how the applications looks",
|
||||
"children": [
|
||||
{
|
||||
"title": "Design Elements",
|
||||
"description": "Options that alter the design of Jellyfin.",
|
||||
"children": [
|
||||
{
|
||||
"title": "Use Splashscreen as Home Background",
|
||||
"description": "Use generated splashscreen image as Jellyfin home background. Jellyfin will need to be closed and reopened for change to take affect.",
|
||||
"settingName": "ui.home.splashBackground",
|
||||
"type": "bool",
|
||||
"default": "false"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Media Grid",
|
||||
"description": "Media Grid Options",
|
||||
|
|
Loading…
Reference in New Issue
Block a user