owenthereal / spotctl

A command-line interface to Spotify, written in Go
MIT License
243 stars 16 forks source link

Error: Player command failed: Restriction violated #21

Open madAndroid opened 4 years ago

madAndroid commented 4 years ago

Hi, currrently getting the following when running the pause operation:

~ ⏎  ❯❯❯❯ spotctl pause -d BedroomBeats
Error: Player command failed: Restriction violated
Usage:
  spotctl pause [flags]

Flags:
  -d, --device string   the name of device
  -h, --help            help for pause

2020/06/28 08:06:31 Player command failed: Restriction violated
madAndroid commented 4 years ago

I have re-logged in, and still experiencing this error

Login successfully. Please return to your terminal.

~ ⏎ ❯❯❯❯ spotctl pause -d BedroomBeats Error: Player command failed: Restriction violated Usage: spotctl pause [flags]

Flags: -d, --device string the name of device -h, --help help for pause

2020/06/28 08:09:14 Player command failed: Restriction violated

madAndroid commented 4 years ago

Nevermind, I see the token expired :|

"expiry":"2020-06-27T22:10:02.238049335+02:00"
madAndroid commented 4 years ago

This is still happening, even after I've refreshed the token by logging out and in again .. any advice/suggestions would be highly appreciated