diff --git a/spotify_remote.py b/spotify_remote.py index 0164ad2..374a6f6 100755 --- a/spotify_remote.py +++ b/spotify_remote.py @@ -73,7 +73,7 @@ def __init__(self, port_start=4370, port_end=4400): def _url(self, path): return URL_FORMAT.format(self.port, path) - def _call(self, path, headers=None, authed=False, raise_error=True, + def _call(self, path, headers=dict(Origin="https://open.spotify.com"), authed=False, raise_error=True, **params): if authed: params["oauth"] = self.oauth_token