Closed insomnimus closed 2 years ago
Thanks for raising this. I'll try and take a look at this later.
I guess this fix broke the usage of URI in PlaybackOffset.
Following code returns: Illegal offset: should be position XOR uri
opts.PlaybackOffset = &spotify.PlaybackOffset{
URI: songUri,
}
Hi, I created a PR to fix this problem, can you check it? https://github.com/zmb3/spotify/pull/177
First I want to thank the maintainers of this package for their awesome work.
I've stumbled on this issue while working with my spotify shell, libman.
The snippet below does not work:
It says in the documentation that the position is 0 based, but since the field has
omitempty
, it will omit the field essentiall sending a bare PlaybackOffset.Here's what spotify returns:
error: At least one of "uri" or "position" should be specified
Edit: Fix md syntax.