File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ import (
1313 "sync"
1414 "time"
1515
16+ "github.com/coder/websocket"
17+ "github.com/coder/websocket/wsjson"
1618 librespot "github.com/devgianlu/go-librespot"
1719 metadatapb "github.com/devgianlu/go-librespot/proto/spotify/metadata"
1820 "github.com/rs/cors"
19- "nhooyr.io/websocket"
20- "nhooyr.io/websocket/wsjson"
2121)
2222
2323const timeout = 10 * time .Second
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import (
1010 "time"
1111
1212 "github.com/cenkalti/backoff/v4"
13+ "github.com/coder/websocket"
1314 librespot "github.com/devgianlu/go-librespot"
14- "nhooyr.io/websocket"
1515)
1616
1717const (
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ toolchain go1.25.5
66
77require (
88 github.com/cenkalti/backoff/v4 v4.3.0
9+ github.com/coder/websocket v1.8.14
910 github.com/devgianlu/shannon v0.0.0-20230613115856-82ec90b7fa7e
1011 github.com/godbus/dbus/v5 v5.2.0
1112 github.com/gofrs/flock v0.13.0
@@ -28,7 +29,6 @@ require (
2829 golang.org/x/oauth2 v0.34.0
2930 golang.org/x/sys v0.39.0
3031 google.golang.org/protobuf v1.36.11
31- nhooyr.io/websocket v1.8.17
3232)
3333
3434require (
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEe
22github.com/cenkalti/backoff v2.2.1+incompatible /go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM =
33github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8 =
44github.com/cenkalti/backoff/v4 v4.3.0 /go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE =
5+ github.com/coder/websocket v1.8.14 h1:9L0p0iKiNOibykf283eHkKUHHrpG7f65OE3BhhO7v9g =
6+ github.com/coder/websocket v1.8.14 /go.mod h1:NX3SzP+inril6yawo5CQXx8+fk145lPDC6pumgx0mVg =
57github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
68github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
79github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
@@ -107,5 +109,3 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EV
107109gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
108110gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
109111gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
110- nhooyr.io/websocket v1.8.17 h1:KEVeLJkUywCKVsnLIDlD/5gtayKp8VoCkksHCGGfT9Y =
111- nhooyr.io/websocket v1.8.17 /go.mod h1:rN9OFWIUwuxg4fR5tELlYC04bXYowCP9GX47ivo2l+c =
You can’t perform that action at this time.
0 commit comments