(key *ari.Key, op string)
| 33 | } |
| 34 | |
| 35 | func (p *playback) Control(key *ari.Key, op string) error { |
| 36 | return p.c.commandRequest(&proxy.Request{ |
| 37 | Kind: "PlaybackControl", |
| 38 | Key: key, |
| 39 | PlaybackControl: &proxy.PlaybackControl{ |
| 40 | Command: op, |
| 41 | }, |
| 42 | }) |
| 43 | } |
| 44 | |
| 45 | func (p *playback) Stop(key *ari.Key) error { |
| 46 | return p.c.commandRequest(&proxy.Request{ |