aboutsummaryrefslogtreecommitdiff
path: root/player.go
diff options
context:
space:
mode:
Diffstat (limited to 'player.go')
-rw-r--r--player.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.go b/player.go
index 490fb0a..461677c 100644
--- a/player.go
+++ b/player.go
@@ -14,7 +14,7 @@ import (
type Player interface {
Play(*Song)
Playing() bool
- Search(string) chan []Song
+ Search(map[string]string) chan []Song
PlayUri(string)
PlayData(io.Reader)
Pause()
@@ -232,7 +232,7 @@ func (player *MpvPlayer) _stop() {
player.mpv.Store(nil)
}
-func (player *MpvPlayer) Search(pattern string) chan []Song {
+func (player *MpvPlayer) Search(pattern map[string]string) chan []Song {
var wg sync.WaitGroup
wg.Add(len(player.Backends))