mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore(octoprint): misc changes
This commit is contained in:
parent
093c4b58df
commit
6b3980c23c
3 changed files with 16 additions and 4 deletions
|
|
@ -49,6 +49,7 @@ in {
|
|||
_disabled = [
|
||||
"softwareupdate"
|
||||
];
|
||||
PrintTimeGenius.showStars = false;
|
||||
};
|
||||
temperature = {
|
||||
profiles = [
|
||||
|
|
@ -94,6 +95,9 @@ in {
|
|||
printing_cancelled = {
|
||||
message = "Print cancelled after {time_formatted}";
|
||||
};
|
||||
printing_done = {
|
||||
message = "Print complete after {time_formatted}";
|
||||
};
|
||||
printing_paused = {
|
||||
message = "Print paused";
|
||||
media = media.none;
|
||||
|
|
@ -140,7 +144,7 @@ in {
|
|||
ffmpegThreads = 2;
|
||||
timelapse = {
|
||||
fps = 25;
|
||||
options.interval = 3;
|
||||
options.interval = 4;
|
||||
postRoll = 0;
|
||||
type = "timed";
|
||||
};
|
||||
|
|
@ -153,7 +157,7 @@ in {
|
|||
_config_version = 1;
|
||||
snapshot = "https://kitchen.local.${domain}/${toString camera_id}/current";
|
||||
stream = "https://kitchen.local.${domain}/${toString camera_id}/stream";
|
||||
streamRatio = "4:3";
|
||||
streamRatio = "16:9";
|
||||
};
|
||||
};
|
||||
})
|
||||
|
|
@ -186,4 +190,8 @@ in {
|
|||
cfg.port
|
||||
];
|
||||
};
|
||||
|
||||
systemd.services.octoprint = mkIf cfg.enable {
|
||||
restartIfChanged = false;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue