This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ## (c) Bernhard Tittelbach, 2026 | |
| ## MIT License | |
| ## | |
| ## This script fixes broken Insta360 Studio Projects (even automatic projects where you just edit a single file) | |
| ## Specifically those, where parts of an exported flat video are black. | |
| ## | |
| ## This happens when keyframes in Insta360 Studio have a negative pan or tilt. | |
| ## This can happen after a DeepTrack or if you move your mouse outside the window when dragging the image. I am not sure about this happens, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| HOST=homeassistant.lan | |
| snapname=$(date +%Y-%m-%d_%T_homeassistant_autosnap) | |
| slugname=$(ssh $HOST "source /etc/profile; ha backups new --name \"${snapname}\" " | tail -n 1 ) || exit 1 | |
| [[ -z $slugname ]] && exit 2 | |
| echo $slugname | grep -q "slug: " || exit 3 | |
| slugname=$(echo $slugname | cut -c 7-) | |
| snapfilename=backup/${slugname}.tar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| HOST=homeassistant.lan | |
| snapname=$(date +%Y-%m-%d_%T_homeassistant_autosnap) | |
| slugname=$(ssh $HOST "source /etc/profile; ha backups new --name \"${snapname}\" " | tail -n 1 ) || exit 1 | |
| [[ -z $slugname ]] && exit 2 | |
| echo $slugname | grep -q "slug: " || exit 3 | |
| slugname=$(echo $slugname | cut -c 7-) | |
| snapfilename=backup/${slugname}.tar |