Initial commit: Media server and Home Assistant integration

- FastAPI server for Windows media control via WinRT/SMTC
- Home Assistant custom integration with media player entity
- Script button entities for system commands
- Position tracking with grace period for track skip handling
- Server availability detection in HA entity

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 13:08:40 +03:00
commit 67a89e8349
37 changed files with 5058 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
execute_script:
name: Execute Script
description: Execute a pre-defined script on the media server
fields:
script_name:
name: Script Name
description: Name of the script to execute (as defined in server config)
required: true
example: "launch_spotify"
selector:
text:
args:
name: Arguments
description: Optional list of arguments to pass to the script
required: false
example: '["arg1", "arg2"]'
selector:
object: