2020-09-04 01:01:13 +00:00
|
|
|
package ui
|
|
|
|
|
|
|
|
const (
|
|
|
|
CLI_FLAG_CONFIG_ONLY = "config-ui-only"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
CONFIG_FILE_PATH = "/etc/default/pf.toml"
|
2020-09-05 00:28:32 +00:00
|
|
|
CONFIG_FILE_PATH_TMP = "/etc/default/pf.toml.new"
|
2020-09-04 01:01:13 +00:00
|
|
|
CONFIG_KEY_SLIDESHOW_INTERVAL = "slideshow.slideinterval"
|
|
|
|
CONFIG_KEY_SLIDESHOW_RESTART_INTERVAL = "slideshow.restartinterval"
|
|
|
|
CONFIG_KEY_HDMI_OFF = "hdmi.off"
|
|
|
|
CONFIG_KEY_HDMI_ON = "hdmi.on"
|
|
|
|
CONFIG_KEY_ALBUMS_ROOT = "albums.root"
|
|
|
|
CONFIG_KEY_ALBUMS_SELECTED = "albums.selected"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
DEFAULT_SLIDESHOW_INTERVAL = "300s"
|
|
|
|
DEFAULT_SLIDESHOW_RESTART_INTERVAL = "7d"
|
|
|
|
DEFAULT_HDMI_OFF = "*-*-* 00:00:00"
|
|
|
|
DEFAULT_HDMI_ON = "*-*-* 06:00:00"
|
|
|
|
DEFAULT_ALBUMS_ROOT = "/tank/pictures"
|
|
|
|
DEFAULT_ALBUM_SELECTED = "/"
|
|
|
|
)
|