Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Free Google Play Music account only allows playlist functionality. #263

Open
xstech opened this issue Oct 26, 2018 · 12 comments
Open

Free Google Play Music account only allows playlist functionality. #263

xstech opened this issue Oct 26, 2018 · 12 comments

Comments

@xstech
Copy link

xstech commented Oct 26, 2018

I'm currently using Heroku to run the app and after setting it up and the Alexa skill everything links ok Alexa sends the commands to Heroku but then returns that it can't find whatever music or album I've asked for. I'm not getting any errors that I can tell with the link between google and Heroku I did the app password and added the Android ID. I'm not exactly the best with coding more a hardware and network person so i'm hoping someone might see what i'm missing and be able to help. Thank you in advance for any help.
[music-logs-1540537308339.txt]
(https://github.com/stevenleeg/geemusic/files/2518102/music-logs-1540537308339.txt)

@fergyfresh
Copy link
Collaborator

Hmmm. It seems as if everything's working on the heroku side. Maybe you don't have the alexa skill setup right in the skills console? Re-read the README and let me know if you have any questions. It appears to be working all the way up to the playback portion.

@xstech
Copy link
Author

xstech commented Oct 27, 2018

I just went and rebuilt the Alexa skill following everything to the letter but get the same result. Alexa is able to accept the request and send it to Heroku but then gets a response from Heroku that it can't find the song. On Heroku I have my Android_ID, have the App_URL as the Heroku address minus the slash at the end, have the Debug set to false, and then have the password as an app password as I have two factor. I haven't changed any settings other then those so everything should be setup as the deploy set them. Here's the Heroku readout for the song request both times I asked Alexa just to ask gee music got a response then asked for the song. Thank you for any help.

2018-10-27T00:52:19.037501+00:00 app[web.1]: Fetching library...
2018-10-27T00:52:19.037579+00:00 app[web.1]: --------------------------------------------------------------------------------
2018-10-27T00:52:33.834471+00:00 heroku[router]: at=info method=POST path="/alexa" host=xscorpmusic.herokuapp.com request_id=f8437e97-7f61-4ebb-b93c-d8e3e73051d0 fwd="72.21.217.80" dyno=web.1 connect=0ms service=105ms status=200 bytes=602 protocol=https
2018-10-27T00:52:33.832973+00:00 app[web.1]: 10.147.20.4 - - [27/Oct/2018 00:52:33] "POST /alexa HTTP/1.1" 200 -
2018-10-27T00:52:44.445434+00:00 app[web.1]: --------------------------------------------------------------------------------
2018-10-27T00:52:44.445461+00:00 app[web.1]: DEBUG in selection [/app/geemusic/intents/selection.py:101]:
2018-10-27T00:52:44.445463+00:00 app[web.1]: Fetching song when can I see you again by owl city
2018-10-27T00:52:44.445750+00:00 app[web.1]: --------------------------------------------------------------------------------
2018-10-27T00:52:44.929902+00:00 app[web.1]: 10.13.184.197 - - [27/Oct/2018 00:52:44] "POST /alexa HTTP/1.1" 200 -
2018-10-27T00:52:44.931915+00:00 heroku[router]: at=info method=POST path="/alexa" host=xscorpmusic.herokuapp.com request_id=fccb306c-bc67-4db0-b7d1-5064463d967c fwd="72.21.217.80" dyno=web.1 connect=0ms service=520ms status=200 bytes=322 protocol=https
2018-10-27T01:02:37.821683+00:00 heroku[router]: at=info method=POST path="/alexa" host=xscorpmusic.herokuapp.com request_id=7056e2f4-5c28-41b9-a9a2-bc0ab53d19aa fwd="72.21.217.72" dyno=web.1 connect=0ms service=83ms status=200 bytes=602 protocol=https
2018-10-27T01:02:37.820249+00:00 app[web.1]: 10.61.152.110 - - [27/Oct/2018 01:02:37] "POST /alexa HTTP/1.1" 200 -
2018-10-27T01:02:49.607519+00:00 app[web.1]: --------------------------------------------------------------------------------
2018-10-27T01:02:49.607540+00:00 app[web.1]: DEBUG in selection [/app/geemusic/intents/selection.py:101]:
2018-10-27T01:02:49.607543+00:00 app[web.1]: Fetching song when can I see you again by None
2018-10-27T01:02:49.607550+00:00 app[web.1]: --------------------------------------------------------------------------------
2018-10-27T01:02:50.079987+00:00 heroku[router]: at=info method=POST path="/alexa" host=xscorpmusic.herokuapp.com request_id=858fd1c7-51d9-4cf7-8b3d-23c497ff33b7 fwd="72.21.217.72" dyno=web.1 connect=0ms service=539ms status=200 bytes=322 protocol=https
2018-10-27T01:02:50.077257+00:00 app[web.1]: 10.37.251.208 - - [27/Oct/2018 01:02:50] "POST /alexa HTTP/1.1" 200 -

@fergyfresh
Copy link
Collaborator

Do you have a paid account or a free account?

@xstech
Copy link
Author

xstech commented Nov 1, 2018

free account on everything

@mikeage
Copy link
Contributor

mikeage commented Nov 1, 2018

I'm surprised you didn't see any errors, but in general, free accounts can't play music from the store and geemusic as released doesn't support the library. You can try PR #255 , or, for a simpler test, try playing a playlist (those do seem to work with free accounts)

@xstech
Copy link
Author

xstech commented Nov 1, 2018

oh sorry I didn't think about google I have a gsuiet account with play music subscription I can use but it seams to error on the login when I use that account

@xstech
Copy link
Author

xstech commented Nov 12, 2018

I think I may have found the problem. When using G-Suites it fails to login even with the app password correct email and android id number.

@everyonce
Copy link

Is there a way to fix this? I'm in the same boat.

@fergyfresh
Copy link
Collaborator

See my post #269 (comment). This might help you? I'm not 100% sure this is your problem though. I don't use the free account.

@fergyfresh
Copy link
Collaborator

Free accounts only work with playlists in the current implementation.

@fergyfresh fergyfresh changed the title Everything Loads But Can't Find Music Free Google Play Music account only allows playlist functionality. Dec 6, 2018
@everyonce
Copy link

I can verify that it does work with free accounts, playlists only, and I had to use a short device id.

@mikeage
Copy link
Contributor

mikeage commented Dec 11, 2018

Now that #255 is merged, a decent amount of library functionality is supported (play artists, albums, songs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants