gplaycli icon indicating copy to clipboard operation
gplaycli copied to clipboard

fix an infinite loop when the token dispenser is having issues

Open dilinger opened this issue 5 years ago • 2 comments

When searching or downloading apks, gplaycli will happily keeping to get a token over and over from the token dispenser. If the token dispenser spits out tokens but google doesn't like them, it will create an infinite loop.

This breaks out of that loop after 5 attempts, and also suggest to the user that they try using their own credentials. I'd like to point them to a manpage or README with instructions, but we're not there yet.

dilinger avatar Apr 03 '20 06:04 dilinger

As a user, this would be great to have! Maybe it should be enabled using a option flag? Make the default be the current behavior, then it would be something like --token-retries=5

eighthave avatar Sep 11 '20 12:09 eighthave

Worked for me !

fontanon avatar Jun 14 '21 08:06 fontanon