skeleton of IPC mechanism to allow playback control with cmdline flags

This commit is contained in:
Drew Weymouth
2024-06-09 09:33:50 -07:00
parent e3dc2e3079
commit a851e0f600
6 changed files with 128 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package ipc
const (
PlayPath = "/transport/play"
PlayPausePath = "/transport/playpause"
PausePath = "/transport/pause"
StopPath = "/transport/stop"
PreviousPath = "/transport/previous"
NextPath = "/transport/next"
TimePosPath = "/transport/timepos"
PlayTrackPath = "/queue/playtrack"
VolumePath = "/volume"
)
type Response struct {
Error string `json:"error"`
}