mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-27 00:25:53 +03:00
[GH-ISSUE #883] API response: convert result failed, progress_ms is negative instead of u32 #375
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#375
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Jojeee-xyz on GitHub (Sep 8, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/883
spotify-tui 0.25.0-1
spotifyd 0.3.2-1
When I launch `spt' and try to advance a track or change to a new song I'm getting this error. After pressing 'q' the problem goes away for a few songs and then starts happening again. If '^C' is used instead of 'q' the problem starts again straight after launching spotify-tui again. Not sure if this is something I've done or an issue with spt/spotifyd, etc.
@sofianedjerbi commented on GitHub (Oct 3, 2021):
Same here. It seems that
progress_msisn't always an unsigned integer.Maybe this part of the code
@greenbigfrog commented on GitHub (Oct 3, 2021):
Can confirm this.
Although I noticed my system time was 10s in the future (checked with time.is). I did not enable ntp syncing on this relatively new system yet.
Now that I have, I'll probably not run into this anymore. (I've only just now synced, so can't say quite yet.)
I guess to replicate, one could try setting system clock (way) in the future.
Kind of weird that spotify is working with clock time though somewhere, and not relative time.
@jkmingwen commented on GitHub (Dec 2, 2021):
As @greenbigfrog stated, synchronizing my system clock seems to fix the problem for me too! I checked the status of my system clock with
timedatectl statusand noted that "System clock synchronized: no" and "NTP service: inactive". Enabled NTP service by runningtimedatectl set-ntp trueand it fixed the issue for me.@nim65s commented on GitHub (Mar 31, 2022):
I also got this issue, but spotifyd and spotify-tui are on the same computer, so in my case there is no time synchronization issue between the two. NTP is enabled anyway.
@iAmThunderLIVE commented on GitHub (Jul 29, 2023):
Having the same issue but on windows terminal. Not sure what the equivalent timedatctl would be or if that is even the fix. Although it looks like it's been a few years since an update so maybe Spotify updated the api and that's causing the error now?
Edit: actually not getting the same exact error. Mine says Api response: convert result failed, reason: Error("unknown variant 'collection', expected artist, etc etc... line: 19, column: 25)
@sewnie commented on GitHub (Jul 29, 2023):
☝️ exactly.
https://github.com/aome510/spotify-player