cfangmeier / tuijam

A fancy TUI client for Google Play Music
MIT License
129 stars 9 forks source link

Fix crash on credentials retrieval failure #41

Closed t1meshift closed 4 years ago

t1meshift commented 5 years ago

Nothing special, just a fix for #39

Also I must say that a launch of TUIJam with an empty file named google_oauth.cred works exactly like with a file with real token.

cfangmeier commented 5 years ago

Thanks for the PR. Currently on vacation, but I'll try it out when I get back.

cfangmeier commented 4 years ago

Just merged. I just had to change how failing to get google credentials is recorded. The PR was using self.video which is actually meant to keep track of if you want mpv to pop up a video player window during youtube playback. I changed it to just set self.youtube to None if getting the google credentials fails.