Initial commit: HACS-ready Home Assistant integration
Remote Media Player integration for controlling PC media playback from Home Assistant via the Media Server API. Features: - Full media player controls (play, pause, stop, next, previous) - Volume control and mute - Seek support with smooth timeline updates - Real-time updates via WebSocket - Script buttons for PC control (shutdown, restart, lock, etc.) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
18
custom_components/remote_media_player/services.yaml
Normal file
18
custom_components/remote_media_player/services.yaml
Normal 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:
|
||||
Reference in New Issue
Block a user