-
Notifications
You must be signed in to change notification settings - Fork 13
gpymusic-get-dev-id no valid MAC traceback #34
Comments
That's odd, I haven't seen that before. Try this: >>> import gmusicapi
>>> mc = gmusicapi.Mobileclient()
>>> mc.login(USERNAME, PASSWORD, '')
>>> [dev['id'] for dev in mc.get_registered_devices()]
['id1', 'id2', 'etc'] # These should all work. Hopefully that'll work. Also please show me the output from this: >>> mc.FROM_MAC_ADDRESS Does the same error occur? |
Gave it a go and:
However, I used one of the device ID's from the bottom of the python REPL and used it in gpymusic's config.json file with success. The gpymusic client can log in and play music now. |
Yeah it's a bit weird that you can sometimes log in without a device id and sometimes you can't. I'm glad the exception here was helpful though, it's a good thing I added that to Could you also try manually logging in with the third argument being |
|
Hm, yeah I guess there's no way for me to know ahead of time if a MAC address is going to work or not then. Thanks! Closing as this turns out to be a |
On x86_64 Debian Stretch, Python 3.5.3. Ran setup.py install on master branch, as instructed in README.
When I run gpymusic-get-dev-id it fails with the following traceback error:
The text was updated successfully, but these errors were encountered: