2016-11-13, 14:40
(2016-11-13, 13:21)ksooo Wrote:(2016-11-13, 13:04)mrpg Wrote: Anyone done the change in linux to modify all the files? I searched online and tried a few sed variants to change the files, but could not get it to work.
Sent from my iPhone (typie typie)
Do a case insensitive (!) search for x-spotify-token. It's three occurrences in two files. One occurrence is just a code comment, so two strings to actually change.
Thanks , i modified these files :
rgrep X-Spotify
Binary file resources/libs/spotifyproxy/httpproxy.pyo matches
resources/libs/spotifyproxy/httpproxy.py: if 'User-Agent' not in headers or 'X-Spotify-Token' not in headers:
resources/libs/spotifyproxy/httpproxy.py: user_token = headers['X-Spotify-Token']
Binary file resources/playback.pyo matches
resources/playback.py: 'X-Spotify-Token': str_token
resources/playbackservice.py: 'X-Spotify-Token': playtoken
Binary file resources/playbackservice.pyo matches
But still wont work for me
i changed them all to lower case x-csrf-token , should i instead change it to "X-Csrf-Token" ?
Br
Patric