spotify-tui
spotify-tui copied to clipboard
API response: convert result failed, progress_ms is negative instead of u32
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.
Same here. It seems that progress_ms
isn't always an unsigned integer.
Maybe this part of the code
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.
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 status
and noted that "System clock synchronized: no" and "NTP service: inactive". Enabled NTP service by running timedatectl set-ntp true
and it fixed the issue for me.
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.
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)
Although it looks like it's been a few years since an update
:point_up: exactly.
https://github.com/aome510/spotify-player