Skip to content

Commit

Permalink
add idle slideshow setting
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWindisch committed Feb 12, 2024
1 parent 05af143 commit fd169ea
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ dist/*
# ignore drawing of statemachine
diagram_ProcessingPicture.png

/node_modules
125 changes: 125 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"@vueuse/core": "^10.7.2"
}
}
5 changes: 5 additions & 0 deletions photobooth/services/config/groups/uisettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ class GroupUiSettings(BaseModel):
description="Show button to admin center, usually only during setup.",
)

TIMEOUT_TO_SLIDESHOW: int = Field(
default="300",
description="Timeout in seconds after which an automatic slideshow starts if there's no user interaction. Set to 0 to disable automatic start.",
)

livestream_mirror_effect: bool = Field(
default=True,
description="Flip livestream horizontally to create a mirror effect feeling more natural to users.",
Expand Down

0 comments on commit fd169ea

Please sign in to comment.