diff --git a/services/spotify/service.go b/services/spotify/service.go index 1db4411..17af26a 100644 --- a/services/spotify/service.go +++ b/services/spotify/service.go @@ -139,6 +139,8 @@ func (s *Service) readLoop() { state, err := s.Spotify.PlayerStateOpt(opt) if err != nil { s.Log("err/internal", err.Error()) + time.Sleep(5 * time.Minute) + return } dur := s.AdvanceState(*state)