Skip to content

Commit

Permalink
Bump librespot further
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <marcus@utf9k.net>
  • Loading branch information
marcus-crane committed Sep 12, 2024
1 parent 69d0cce commit d2f4f8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/cespare/xxhash/v2 v2.3.0
github.com/chromedp/cdproto v0.0.0-20240202021202-6d0b6a386732
github.com/chromedp/chromedp v0.9.5
github.com/devgianlu/go-librespot v0.0.18-0.20240819135856-888787f94e6c
github.com/devgianlu/go-librespot v0.0.18-0.20240903131419-b98dad6c894b
github.com/go-co-op/gocron v1.36.1
github.com/golobby/config/v3 v3.4.2
github.com/google/go-cmp v0.6.0
Expand Down
8 changes: 2 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/devgianlu/go-librespot v0.0.18-0.20240809003521-803de1bd05cb h1:uwzNYPdNzyxLuGq8bMl95St+BaHZr9LwlLQMtL3SqPI=
github.com/devgianlu/go-librespot v0.0.18-0.20240809003521-803de1bd05cb/go.mod h1:1fH+S0c6CV/yZoIH6I8Z4OV9jmpi12LwG5ymnN9X2GE=
github.com/devgianlu/go-librespot v0.0.18-0.20240817112107-84b3c3febd5d h1:Uislx3AjeqWOdXxG3h/NFgNrnhNa8QZV224n10qv5Es=
github.com/devgianlu/go-librespot v0.0.18-0.20240817112107-84b3c3febd5d/go.mod h1:1fH+S0c6CV/yZoIH6I8Z4OV9jmpi12LwG5ymnN9X2GE=
github.com/devgianlu/go-librespot v0.0.18-0.20240819135856-888787f94e6c h1:QRchNUF4p0l+lfCCsMD6OAh4CZoH+YmJITLV9O42fLQ=
github.com/devgianlu/go-librespot v0.0.18-0.20240819135856-888787f94e6c/go.mod h1:1fH+S0c6CV/yZoIH6I8Z4OV9jmpi12LwG5ymnN9X2GE=
github.com/devgianlu/go-librespot v0.0.18-0.20240903131419-b98dad6c894b h1:VchvluF6A2toUPkKdfC+GOH1M2skpJtW/iW9j33Hn8M=
github.com/devgianlu/go-librespot v0.0.18-0.20240903131419-b98dad6c894b/go.mod h1:4ybcSiGtQS2WPVQTyY7lfLVSanasoJkhIYC4VxKn4+I=
github.com/devgianlu/shannon v0.0.0-20230613115856-82ec90b7fa7e h1:OoETp+L//8ZDtd5BWKaogHQjgA104yF4a2yqjfaG3mE=
github.com/devgianlu/shannon v0.0.0-20230613115856-82ec90b7fa7e/go.mod h1:m5DMFz6BcaKJwxxPaSh9MxwPzK2GPSt1KRFC8Imf0ik=
github.com/docker/cli v24.0.7+incompatible h1:wa/nIwYFW7BVTGa7SWPVyyXU9lgORqUb1xfI36MSkFg=
Expand Down
3 changes: 3 additions & 0 deletions spotify/spotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ func (c *Client) reauthenticate() error {
}

func (c *Client) Run(ps *playback.PlaybackSystem) {
if err := c.sess.Dealer().Connect(); err != nil {
slog.With(slog.String("error", err.Error())).Error("Failed to connect to dealer")
}
apRecv := c.sess.Accesspoint().Receive(ap.PacketTypeProductInfo, ap.PacketTypeCountryCode)
msgChan := c.dealer.ReceiveMessage("hm://pusher/v1/connections/", "hm://connect-state/v1/")

Expand Down

0 comments on commit d2f4f8a

Please sign in to comment.