Remove OBS shutdown error check

By removing the .sentinel file, OBS loses the last crash data, which allows OBS to start without prompts
This commit is contained in:
2026-01-18 23:27:01 +00:00
parent 7e8e5c0594
commit 4365dd89b2
2 changed files with 5 additions and 1 deletions

View File

@@ -107,7 +107,6 @@ def remove_marker(name: str) -> None:
print(f"Removed marker: {name}")
def marker_exists(name: str) -> bool:
markers_file = os.path.join(os.path.dirname(__file__), "markers.json")
if not os.path.exists(markers_file):

View File

@@ -16,6 +16,11 @@ INTERVAL = 10
running = True
def open_obs():
# remove .sentinel dir if exists
if os.path.exists(os.path.expanduser("~/.config/obs-studio/.sentinel")):
print("Removing existing .sentinel directory")
subprocess.Popen(["rm", "-rf", os.path.expanduser("~/.config/obs-studio/.sentinel")])
subprocess.Popen(["obs", "--minimize-to-tray"])
def open_obs_connection(host: str, port: int, password: str) -> obs.ReqClient | None: