Skip to content

Create a new player

POST
/api/players
object
name
string
type
string
inputDeviceId
string format: uuid
nullable
channelIndex
integer format: int32
nullable
processName
string
includeProcessTree
boolean
processPidHint
integer format: int32
nullable

Created

object
id
string format: uuid
name
string
type
string
state
string
lastStopReason
string
volume
number format: double
isMuted
boolean
crossfadeDuration
number format: float
currentTrack
string
currentTrackPath
string
stationName
string
position
number format: double
nullable
duration
number format: double
nullable
playlistId
string format: uuid
nullable
inputDeviceId
string format: uuid
nullable
channelIndex
integer format: int32
nullable
isPflEnabled
boolean
isFavorite
boolean
isStreamUrlHidden
boolean
processName
string
includeProcessTree
boolean
processPidHint
integer format: int32
nullable
processAttachmentState
string

Bad Request