[PR #384] [MERGED] Update DeviceType to fix json parse error: unknown variant STB #427

Closed
opened 2026-02-27 20:24:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/384
Author: @dzubybb
Created: 1/17/2023
Status: Merged
Merged: 1/22/2023
Merged by: @ramsayleung

Base: masterHead: master


📝 Commits (2)

  • 568ecc8 Update DeviceType to fix json parse error: unknown variant STB
  • 2b22a3b Added #384 to changelog.

📊 Changes

2 files changed (+3 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 rspotify-model/src/enums/types.rs (+2 -0)

📄 Description

Description

Fix json parse error: unknown variant STB when calling device() method.

Motivation and Context

Fixes #383

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How has this been tested?

I have device with Stb type, calling device() method from spotifyd returns error above. Adding lines from this pull request fixes the error.

Is this change properly documented?

No changes in documentation were made.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/384 **Author:** [@dzubybb](https://github.com/dzubybb) **Created:** 1/17/2023 **Status:** ✅ Merged **Merged:** 1/22/2023 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`568ecc8`](https://github.com/ramsayleung/rspotify/commit/568ecc801d7943ed197f1da8d01a6e9834c09096) Update DeviceType to fix json parse error: unknown variant `STB` - [`2b22a3b`](https://github.com/ramsayleung/rspotify/commit/2b22a3b6072b5e0470d1f8727a29c469c27ad2c0) Added #384 to changelog. ### 📊 Changes **2 files changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `rspotify-model/src/enums/types.rs` (+2 -0) </details> ### 📄 Description ## Description Fix json parse error: unknown variant `STB` when calling device() method. ## Motivation and Context Fixes #383 ## Type of change Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update ## How has this been tested? I have device with Stb type, calling device() method from spotifyd returns error above. Adding lines from this pull request fixes the error. ## Is this change properly documented? No changes in documentation were made. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#427
No description provided.