skeleton of IPC mechanism to allow playback control with cmdline flags
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user