Support Pulseaudio sink-inputs
This commit is contained in:
parent
a9c6cdcd0f
commit
bbde2299fe
8 changed files with 145 additions and 10 deletions
|
|
@ -180,7 +180,7 @@ func (s *MPVSource) CurrentlyPlaying() string {
|
|||
return "-"
|
||||
}
|
||||
|
||||
func (s *MPVSource) TogglePause() error {
|
||||
func (s *MPVSource) TogglePause(id string) error {
|
||||
if s.ipcSocket == "" {
|
||||
return fmt.Errorf("Not supported")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue