Discover Packages
github.com/ahimgit/navidrome-alexa
pkg
server
api
model
package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Feb 24, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type DevicesResponse struct {
Devices []PlayerDevice `json:"devices"`
}
type PlayerDevice struct {
Name string `json:"name,omitempty"`
DeviceOwnerCustomerId string `json:"deviceOwnerCustomerId"`
DeviceType string `json:"deviceType"`
SerialNumber string `json:"serialNumber"`
}
type Queue struct {
State string `json:"state"`
QueuePosition int `json:"queuePosition"`
TrackPosition int `json:"trackPosition"`
Songs []Song `json:"queue"`
Shuffle bool `json:"shuffle"`
Repeat bool `json:"repeat"`
}
type Song struct {
Id string `json:"id"`
Name string `json:"name"`
Album string `json:"album"`
Artist string `json:"artist"`
Duration int `json:"duration"`
Cover string `json:"cover"`
Stream string `json:"stream"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.