[GH-ISSUE #416] Analysis Menu API error #170

Closed
opened 2026-02-28 14:47:30 +03:00 by kerem · 5 comments
Owner

Originally created by @Just-Insane on GitHub (Apr 26, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/416

When trying to open the analysis menu (default key "v"), I get an API error:

Api response: convert result failed, reason: Error("invalid type: string \"1585453096\", expected u64", line: 6, column: 29); content: ...

Screen Shot 2020-04-25 at 9 52 26 PM

Notes:
MacOS 10.15.4
Using spotifyd
Installed via Brew - version: v0.18.0

Everything else seems to be working fine.

Originally created by @Just-Insane on GitHub (Apr 26, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/416 When trying to open the analysis menu (default key "v"), I get an API error: ``` Api response: convert result failed, reason: Error("invalid type: string \"1585453096\", expected u64", line: 6, column: 29); content: ... ``` ![Screen Shot 2020-04-25 at 9 52 26 PM](https://user-images.githubusercontent.com/15903884/80295229-1f894280-873f-11ea-9daf-926226d70d75.png) Notes: MacOS 10.15.4 Using spotifyd Installed via Brew - version: v0.18.0 Everything else seems to be working fine.
kerem closed this issue 2026-02-28 14:47:31 +03:00
Author
Owner

@Rigellute commented on GitHub (Apr 27, 2020):

Oh good catch. Looks like this the spotify API has recently started returning the timestamp property as a string rather than u64.

The fix for this will need to be in rspotify.

<!-- gh-comment-id:620101440 --> @Rigellute commented on GitHub (Apr 27, 2020): Oh good catch. Looks like this the spotify API has recently started returning the `timestamp` property as a string rather than `u64`. The fix for this will need to be in `rspotify`.
Author
Owner

@Just-Insane commented on GitHub (Apr 27, 2020):

Awesome, I will open an issue over there then.

For reference: https://github.com/ramsayleung/rspotify/issues/93

<!-- gh-comment-id:620104136 --> @Just-Insane commented on GitHub (Apr 27, 2020): Awesome, I will open an issue over there then. For reference: https://github.com/ramsayleung/rspotify/issues/93
Author
Owner

@Rigellute commented on GitHub (May 4, 2020):

I created a potential fix in rspotify, but the author correctly suggests the upstream spotify API needs to fix their docs/implementation first https://github.com/ramsayleung/rspotify/pull/94

Whilst we are waiting for a better fix, I can try using my fork of rspotify to fix the audio feature

<!-- gh-comment-id:623389360 --> @Rigellute commented on GitHub (May 4, 2020): I created a potential fix in rspotify, but the author correctly suggests the upstream spotify API needs to fix their docs/implementation first https://github.com/ramsayleung/rspotify/pull/94 Whilst we are waiting for a better fix, I can try using my fork of rspotify to fix the audio feature
Author
Owner

@Crowly34 commented on GitHub (May 28, 2020):

Hello, 0.19.0 still is failing me, thanks for the great tool btw, loving it!.

image

MacOS 0.15.5
Installed via Brew (and binary)- version: v0.19.0

<!-- gh-comment-id:635056196 --> @Crowly34 commented on GitHub (May 28, 2020): Hello, 0.19.0 still is failing me, thanks for the great tool btw, loving it!. ![image](https://user-images.githubusercontent.com/29908764/83091422-c58edc00-a060-11ea-9fa1-378a7d686b85.png) MacOS 0.15.5 Installed via Brew (and binary)- version: v0.19.0
Author
Owner

@Rigellute commented on GitHub (May 28, 2020):

This is now fixed in master, I will cut a new release shortly.

<!-- gh-comment-id:635246716 --> @Rigellute commented on GitHub (May 28, 2020): This is now fixed in master, I will cut a new release shortly.
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/spotify-tui#170
No description provided.