aboutsummaryrefslogtreecommitdiff
path: root/cmd/mpd-scrobbler
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-10 11:32:10 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-10 11:32:10 -0700
commit14e16c0b3818a68cf3a1f26f9cd7461481d00e4d (patch)
tree096819753f651e8ebb205989d4e3e09b194f4e7b /cmd/mpd-scrobbler
parentscrobbler: create a record on new song (diff)
downloadx-14e16c0b3818a68cf3a1f26f9cd7461481d00e4d.tar.gz
mpd: rename function to create the player
Diffstat (limited to 'cmd/mpd-scrobbler')
-rw-r--r--cmd/mpd-scrobbler/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mpd-scrobbler/main.go b/cmd/mpd-scrobbler/main.go
index 40b1348..3953123 100644
--- a/cmd/mpd-scrobbler/main.go
+++ b/cmd/mpd-scrobbler/main.go
@@ -11,7 +11,7 @@ func main() {
net := "tcp"
addr := "localhost:6600"
- c, err := mpd.NewMPD(net, addr)
+ c, err := mpd.NewPlayer(net, addr)
if err != nil {
log.Fatalf("failed to create a client: %v", err)
}