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

Sirius XM Canada Problems #154

Open
jonkit opened this issue Apr 10, 2017 · 7 comments
Open

Sirius XM Canada Problems #154

jonkit opened this issue Apr 10, 2017 · 7 comments

Comments

@jonkit
Copy link

jonkit commented Apr 10, 2017

I have everything setup and functioning properly. I can successfully play music from Apple Music as well as Sonos Favourites and I can change the volume, play, pause, and group/ungroup rooms.

I am having an issue playing Sirius XM channels. My AWS logs show the request being received with a success message but nothing is happening on Sonos. I will paste an example of the AWS log below.

I am wondering if this could be a problem because I am using Sirius XM Canada. I noticed in the Sonos app the service is listed as 'SiriusXM Canada' and wondered if there's something somewhere that isn't making that final connection back with the Sonos service locally. If I add a Sirius XM channel to my Sonos Favourites and request it that way, it works (This is also included in the log).

awslog.txt
START RequestId: xxxxx Version: $LATEST 2017-04-10T11:40:42.385Z xxxxx session applicationId: amzn1.ask.skill.xxxxxxxx 2017-04-10T11:40:42.386Z xxxxx dispatch intent = SiriusXMChannelIntent 2017-04-10T11:40:42.386Z xxxxx SiriusXMChannelIntent received 2017-04-10T11:40:42.386Z xxxxx Advanced Mode = true 2017-04-10T11:40:43.347Z xxxxx Reading current settings 2017-04-10T11:40:43.665Z xxxxx room=kitchen newRoom= service=apple newService= 2017-04-10T11:40:43.665Z xxxxx Getting coordinator for room: kitchen 2017-04-10T11:40:43.665Z xxxxx Calling '/zones' 2017-04-10T11:40:43.802Z xxxxx Call to 'http://xxx.xxx.x.x:5005/zones' suceeded 2017-04-10T11:40:43.802Z xxxxx Coordinator for kitchen : Kitchen 2017-04-10T11:40:43.803Z xxxxx Calling '/Kitchen/siriusxm/3' 2017-04-10T11:40:43.884Z xxxxx Call to 'http://xxx.xxx.x.x:5005/Kitchen/siriusxm/3' suceeded END RequestId: xxxxx REPORT RequestId: xxxxx Duration: 1535.79 ms Billed Duration: 1600 ms Memory Size: 128 MB Max Memory Used: 33 MB START RequestId:yyyy Version: $LATEST 2017-04-10T11:51:38.514Z yyyy session applicationId: amzn1.ask.skill.xxxxxxxx 2017-04-10T11:51:38.524Z yyyy dispatch intent = FavoriteIntent 2017-04-10T11:51:38.524Z yyyy FavoriteIntent received 2017-04-10T11:51:38.524Z yyyy Advanced Mode = true 2017-04-10T11:51:38.710Z yyyy Reading current settings 2017-04-10T11:51:38.821Z yyyy room=kitchen newRoom= service=apple newService= 2017-04-10T11:51:38.821Z yyyy Getting coordinator for room: kitchen 2017-04-10T11:51:38.821Z yyyy Calling '/zones' 2017-04-10T11:51:38.926Z yyyy Call to 'http://xxx.xxx.x.x:5005/zones' suceeded 2017-04-10T11:51:38.926Z yyyy Coordinator for kitchen : Kitchen 2017-04-10T11:51:38.926Z yyyy Calling '/Kitchen/favorite/stern' 2017-04-10T11:51:39.184Z yyyy Call to 'http://xxx.xxx.x.x:5005/Kitchen/favorite/stern' suceeded 2017-04-10T11:51:39.184Z yyyy Calling '/Kitchen/play' 2017-04-10T11:51:39.265Z yyyy Call to 'http://xxx.xxx.x.x:5005/Kitchen/play' suceeded END RequestId: yyyy REPORT RequestId: yyyyy Duration: 752.66 ms Billed Duration: 800 ms Memory Size: 128 MB Max Memory Used: 33 MB

@pheintzelman
Copy link
Contributor

try calling /Kitchen/siriusxm/3 directly and see what happens.

@jonkit
Copy link
Author

jonkit commented Apr 12, 2017

When doing that the web browser returns a message of {"status" : "success"}, no errors in the node program running on my local machine and nothing starts playing on the Sonos speakers.

@pheintzelman
Copy link
Contributor

@jonkit Hmm maybe changing the station doesn't start playing it:

Can you try:

  1. /Kitchen/siriusxm/3
  2. /Kitchen/Play

let me know how it goes?

@jonkit
Copy link
Author

jonkit commented Apr 13, 2017

@pheintzelman After using "/Kitchen/siriusxm/3" nothing changes in the Sonos player, no response from the local node program (same as before). After entering "/Kitchen/Play" playback in the kitchen resumes from the source that was previously stopped (in this case, an Apple Music radio station that I have in my Sonos Favorites).

@pheintzelman
Copy link
Contributor

@jonkit Can you try:
/Kitchen/siriusXM/3

This may be a casing issue

@jonkit
Copy link
Author

jonkit commented Apr 16, 2017

Same result. Web browser request as a success but nothing happens and no error messages in the local node program.

@rgraciano
Copy link
Owner

@jonkit - my guess is it is related to it being Canada. I haven't spent much time in sonos-http-api internals, but you might poke around in https://github.com/jishi/node-sonos-http-api/blob/master/lib/actions/siriusXM.js

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

No branches or pull requests

3 participants