rate-current CLI option (#847)

This commit is contained in:
Drew Weymouth
2026-02-07 10:18:51 -08:00
committed by GitHub
parent 3c46889014
commit b52aa5b36f
5 changed files with 54 additions and 3 deletions
+5
View File
@@ -118,6 +118,11 @@ func (c *Client) AdjustVolumePct(pct float64) error {
return err
}
func (c *Client) RateCurrentTrack(rating int) error {
_, err := c.sendRequest(BuildRateCurrentTrackPath(rating))
return err
}
func (c *Client) Show() error {
_, err := c.sendRequest(ShowPath)
return err