JoshLmao / Spotify4Unity

🎮🎵 Add the SpotifyAPI.NET library into Unity, enabling access to the Spotify Web API, allowing for control of Spotify and accessing the world of music
https://assetstore.unity.com/packages/tools/integration/spotify4unity-ui-tools-spotify-authorization-129028
MIT License
94 stars 8 forks source link

Repeat track isn't possible? #25

Closed AskeDK closed 3 years ago

AskeDK commented 4 years ago

Describe the bug When I try to to set Spotify to repeat on track, it repeats on playlist instead.

To Reproduce: SpotifyService.SetRepeat(Spotify4Unity.Enums.Repeat.Track);

Expected behavior A clear and concise description of what you expected to happen. I expected Spotify to be set to repeat on a single track.

Platform:

Unity Version:

JoshLmao commented 3 years ago

Hi,

Sorry for the delay. At the time, SpotifyAPI-NET didn't include setting repeat for all three modes, only the two. However, after adding support for v6.1.0 of SpotifyAPI-NET, you are able to set it to all three modes. Try the new v2.0 of Spotify4Unity which will allow you to do this