Skip to content

Instantly share code, notes, and snippets.

@mayhem
Created August 13, 2020 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mayhem/0821af9db09b4ded4012755b780d2db9 to your computer and use it in GitHub Desktop.
Save mayhem/0821af9db09b4ded4012755b780d2db9 to your computer and use it in GitHub Desktop.
listenbrainz=> begin;
BEGIN
listenbrainz=> update spotify_auth
listenbrainz-> set record_listens = 't', error_message = NULL
listenbrainz-> where record_listens = 'f'
listenbrainz-> and permission in ('streaming user-read-currently-playing user-read-birthdate user-read-email user-read-recently-played user-read-private', 'user-read-currently-playing user-read-recently-played', 'user-read-recently-played');
UPDATE 459
listenbrainz=> commit;
COMMIT
listenbrainz=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment