Split monorepo into separate units for future independent repositories: - media-server/: Standalone FastAPI server with own README, requirements, config example, and CLAUDE.md - haos-integration/: HACS-ready Home Assistant integration with hacs.json, own README, and CLAUDE.md Both components now have their own .gitignore files and can be easily extracted into separate repositories. Also adds custom icon support for scripts configuration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
# Media Server Configuration
|
|
# Copy this file to config.yaml and customize as needed.
|
|
# A secure token will be auto-generated on first run if not specified.
|
|
|
|
# API Token (generate a secure random token)
|
|
api_token: "your-secure-token-here"
|
|
|
|
# Server settings
|
|
host: "0.0.0.0"
|
|
port: 8765
|
|
|
|
# Custom scripts
|
|
scripts:
|
|
lock_screen:
|
|
command: "rundll32.exe user32.dll,LockWorkStation"
|
|
label: "Lock Screen"
|
|
description: "Lock the workstation"
|
|
timeout: 5
|
|
shell: true
|
|
|
|
hibernate:
|
|
command: "shutdown /h"
|
|
label: "Hibernate"
|
|
description: "Hibernate the PC"
|
|
timeout: 10
|
|
shell: true
|
|
|
|
sleep:
|
|
command: "rundll32.exe powrprof.dll,SetSuspendState 0,1,0"
|
|
label: "Sleep"
|
|
description: "Put PC to sleep"
|
|
timeout: 10
|
|
shell: true
|
|
|
|
shutdown:
|
|
command: "shutdown /s /t 0"
|
|
label: "Shutdown"
|
|
description: "Shutdown the PC immediately"
|
|
timeout: 10
|
|
shell: true
|
|
|
|
restart:
|
|
command: "shutdown /r /t 0"
|
|
label: "Restart"
|
|
description: "Restart the PC immediately"
|
|
timeout: 10
|
|
shell: true |