Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman authored Mar 22, 2023
1 parent 6e62f1d commit b3897ef
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ Releases have several builds, and you'll need the right one for your machine:

## JSON Config File Example

This json file would say "stereo starting" when the Airplay device named "Stereo" starts playing, and say "stereo stopping" when it stops.
This example json file would say "stereo starting" when the Airplay device named "Stereo" starts playing, and say "stereo stopping" when it stops.

Fields:

- Device name: the name of the Airplay device, as you have setup in the Apple Home app. Case sensitive.
- Action: either "start_playing" or "end_playing"
- Command: a command line app that will be run when the event triggets (examples: "echo", "curl")
- Command args: the string of args that will be passed to that command

```
{
Expand Down

0 comments on commit b3897ef

Please sign in to comment.