Merge pull request #656 from 1hitsong/splashscreen-screensaver-bg
Add setting: Use splashscreen as screensaver bg
This commit is contained in:
commit
28c6c8ef7b
|
@ -8,4 +8,9 @@ sub init()
|
||||||
|
|
||||||
m.BounceAnimation = m.top.findNode("BounceAnimation")
|
m.BounceAnimation = m.top.findNode("BounceAnimation")
|
||||||
m.BounceAnimation.control = "start" 'Start BounceAnimation
|
m.BounceAnimation.control = "start" 'Start BounceAnimation
|
||||||
|
|
||||||
|
if get_user_setting("ui.screensaver.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
|
end sub
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<script type="text/brightscript" uri = "Screensaver.brs"/>
|
<script type="text/brightscript" uri = "Screensaver.brs"/>
|
||||||
|
|
||||||
<children>
|
<children>
|
||||||
|
<Poster id="backdrop" loadDisplayMode="scaleToZoom" width="1920" height="1200" />
|
||||||
|
|
||||||
<!-- Makes 2 Posters on top of each other -->
|
<!-- Makes 2 Posters on top of each other -->
|
||||||
<Poster
|
<Poster
|
||||||
|
@ -140,4 +141,6 @@
|
||||||
</SequentialAnimation>
|
</SequentialAnimation>
|
||||||
|
|
||||||
</children>
|
</children>
|
||||||
|
<script type="text/brightscript" uri="pkg:/source/api/baserequest.brs" />
|
||||||
|
<script type="text/brightscript" uri="pkg:/source/utils/config.brs" />
|
||||||
</component>
|
</component>
|
||||||
|
|
|
@ -583,6 +583,24 @@
|
||||||
<translation>Use the replay button to slowly animate to the first item in the folder. (If disabled, The folder will reset to the first item immediately)</translation>
|
<translation>Use the replay button to slowly animate to the first item in the folder. (If disabled, The folder will reset to the first item immediately)</translation>
|
||||||
<extracomment>Description for option in Setting Screen</extracomment>
|
<extracomment>Description for option in Setting Screen</extracomment>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Screensaver</source>
|
||||||
|
<translation>Screensaver</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Options for Jellyfin's screensaver.</source>
|
||||||
|
<translation>Options for Jellyfin's screensaver.</translation>
|
||||||
|
<extracomment>Description for Screensaver user settings.</extracomment>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use Splashscreen as Screensaver Background</source>
|
||||||
|
<translation>Use Splashscreen as Screensaver Background</translation>
|
||||||
|
<extracomment>Option Title in user setting screen</extracomment>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Use generated splashscreen image as Jellyfin's screensaver background.</source>
|
||||||
|
<translation>Use generated splashscreen image as Jellyfin's screensaver background.</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Design Elements</source>
|
<source>Design Elements</source>
|
||||||
<translation>Design Elements</translation>
|
<translation>Design Elements</translation>
|
||||||
|
|
|
@ -16,6 +16,19 @@
|
||||||
"title": "User Interface",
|
"title": "User Interface",
|
||||||
"description": "Settings relating to how the how the application looks",
|
"description": "Settings relating to how the how the application looks",
|
||||||
"children": [
|
"children": [
|
||||||
|
{
|
||||||
|
"title": "Screensaver",
|
||||||
|
"description": "Options for Jellyfin's screensaver.",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"title": "Use Splashscreen as Screensaver Background",
|
||||||
|
"description": "Use generated splashscreen image as Jellyfin's screensaver background.",
|
||||||
|
"settingName": "ui.screensaver.splashBackground",
|
||||||
|
"type": "bool",
|
||||||
|
"default": "false"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Design Elements",
|
"title": "Design Elements",
|
||||||
"description": "Options that alter the design of Jellyfin.",
|
"description": "Options that alter the design of Jellyfin.",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user