Documentation
¶
Index ¶
- type Alarm
- type Lmsquery
- func (l *Lmsquery) GetAlarms(playerId string, enabled bool) (int, []Alarm)
- func (l *Lmsquery) GetNextAlarm(playerId string) (bool, Alarm)
- func (l *Lmsquery) GetPlayerPref(playerId string, pref string) string
- func (l *Lmsquery) GetPlayers() []playerInfo
- func (l *Lmsquery) GetServerStatus() Result
- func (l *Lmsquery) IsPowered(playerId string) bool
- func (l *Lmsquery) SetPause(playerId string, power int)
- func (l *Lmsquery) SetPauseAll(power int)
- func (l *Lmsquery) SetPower(playerId string, power int)
- func (l *Lmsquery) SetPowerAll(power int)
- func (l *Lmsquery) SetRepeat(playerId string, power int)
- func (l *Lmsquery) SetRepeatAll(power int)
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lmsquery ¶
type Lmsquery struct {
// contains filtered or unexported fields
}
func (*Lmsquery) GetPlayerPref ¶
func (*Lmsquery) GetPlayers ¶
func (l *Lmsquery) GetPlayers() []playerInfo
func (*Lmsquery) SetPauseAll ¶
func (*Lmsquery) SetPowerAll ¶
func (*Lmsquery) SetRepeatAll ¶
type Result ¶
type Result struct {
PlayerCount string `json:"player_count"`
PlayersLoop []playerInfo `json:"players_loop"`
AlarmsLoop []Alarm `json:"alarms_loop"`
InfoTotalAlbums string `json:"info_total_albums"`
InfoTotalArtists string `json:"info_total_artists"`
InfoTotalSongs string `json:"info_total_songs"`
InfoTotalGenres string `json:"info_total_genres"`
Power string `json:"_power"`
Param0 string `json:"_p0"`
Param1 string `json:"_p1"`
Param2 string `json:"_p2"`
Param3 string `json:"_p3"`
Param4 string `json:"_p4"`
Count int `json:"count"`
}
Click to show internal directories.
Click to hide internal directories.