about summary refs log tree commit diff
path: root/tools/mpd-stats/cmd/mpd-scrobbler/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mpd-stats/cmd/mpd-scrobbler/main.go')
-rw-r--r--tools/mpd-stats/cmd/mpd-scrobbler/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mpd-stats/cmd/mpd-scrobbler/main.go b/tools/mpd-stats/cmd/mpd-scrobbler/main.go
index 40b1348..3953123 100644
--- a/tools/mpd-stats/cmd/mpd-scrobbler/main.go
+++ b/tools/mpd-stats/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)
 	}