Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json parse error: unknown variant STB #383

Closed
dzubybb opened this issue Jan 17, 2023 · 1 comment · Fixed by #384
Closed

json parse error: unknown variant STB #383

dzubybb opened this issue Jan 17, 2023 · 1 comment · Fixed by #384
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@dzubybb
Copy link
Contributor

dzubybb commented Jan 17, 2023

Describe the bug
When calling device() method returns error:

json parse error: unknown variant `STB`, expected one of `Computer`, `Tablet`, `Smartphone`, `Speaker`, `Tv`, `Avr`, `Stb`, `AudioDongle`, `GameConsole`, `CastVideo`, `CastAudio`, `Automobile`, `Unknown` at line 16 column 18

To Reproduce
Have registered device of type Stb and call device() method.

Expected behavior
Device should be returned with type Stb.

Additional context
Library is called from spotifyd, version 0.11.5

@dzubybb
Copy link
Contributor Author

dzubybb commented Jan 17, 2023

Relevant pull request in spotifyd: Spotifyd/spotifyd#1162

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant