Open lee-tts opened 6 years ago
It occurs to me that the 'Device ID' may have nothing at all to do with my phone. Device refers to my computer?
Thanks for report!
Definitely a bug - I can reproduce this too.
A quick work around while this bug exists is to start a python prompt and write the following commands:
import gmusicapi
api = gmusicapi.Mobileclient()
api.login("your@email.com", "your-password", "invalid")
This will give you an exception with your device ID.
Also, sidenote, it seems prudent that Clay does this automatically for you instead of showing it in the notification area. However, this should be done at a future point in time.
In addition, as far as I know, you cannot copy from the notification area, so even when Clay does show the possible ids as a notification, it doesn't do any good unless you want to type the whole thing out.
Thanks for the updates and workaround.
When I try to use the api login, it returns False
. Makes me think the issue might lie with gmusicapi or my own account (which as I mention is a submember of a family plan).
lee@lee:~$ python
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help
Type help() for interactive help, or help(object) for help about object.
>>> import gmusicapi
>>> api = gmusicapi.Mobileclient()
>>> api.login("lee_______@gmail.com", "*************", "invalid")
False
Edit: Tried looking at gmusicapi docs, all seems ok. Not using 2FA. https://unofficial-google-music-api.readthedocs.io/en/latest/reference/mobileclient.html
Quick update. I tried logging in with another account, one which does not have any GMP subscription of any kind, and that also has 2FA. Used app password.
Logs in just fine, offered device ids, and once it's entered it seems to work. Search works, but cannot play anything (obviously—not a GMP member with this account).
So it seems to be an account problem rather than a problem generally with Clay.
Quick tip for copying IDs from notification area: open Clay in a tmux window. Tmux will let you copy anything :D
The readme suggests the following:
Where will they display? Debug and Settings tab show no signs, besides 'Is authenticated: False'. Is there a log somewhere? I've entered a 'wrong' id twice, once using one found randomly online, and once using the string reported by
adb devices
.Running Ubuntu 18.04, installed via
pip
.Of possible note: I am on gpm family plan as a family member, not the main account. Not sure if this matters.
Thank you!
Lee