Jump to content

Not sure how to make this work


Recommended Posts

Posted

I added the skill. I set up emby connect and specified the server.

Me: "Alexa ask m/b/ home to play <artist>"

Alexa says, "Sorry, I'm not sure about that."

Me: "Alexa, open m.b. home"

Alexa: "Emby here."

Me: "Play <Artist>"

Alexa: "Please visit the home section of the Alexa app and click on the link to connect with the Alexa"
 

I can do that, and I can select things.. and nothing else happens. But I don't think I should have to do anything more after giving it commands,

 

Posted

Open the amazon Alexa app on your phone.

Go to "More" at the bottom right of the screen.

Press "Skills & Games".

Search for "Emby" and press the result "Emby".

Press "Settings".

Press on "Account Linking" and follow the instructions.

To re-link your account Disable then Enable the skill and then link again.

Posted

That's exactly what I did before posting. 

Posted (edited)

Are you able to sign in using your Emby connect account on http://app.emby.media

I have had issues disabling the skill by searching for it.

You can also try:

Press "Skills & Games".

Scroll to the bottom and press "Your Skills"

Press "Emby" and "Disable Skill"

Once disabled press "Enable to Use"

Then sign in using emby connect

 

 

 

Edited by hatharry
Posted

I use emby connect for everything, yes.  I am able to.

I can disable and re-enable the skill all day - it doesn't change anything.

I have 5 Alexas.  One responds as above. The others simply say "Sorry I'm having trouble accessing that skill".

 

  • Agree 1
Posted (edited)

Does the same happen if you use the Alexa app on your phone when you say "recommend a movie"?

If so, it's probably best to contact Amazon and explain what's happening with your account linking

Edited by hatharry
Posted (edited)

No. She said told me to go to settings, and under TV and Movies set it up. 

I did, but emby wasnt present. 

Edited by jgauthier
Posted

Are you implying that my account is not linking correctly?

I'm confident that Amazon will 100% point me back to the skill that isn't working, since I have plenty of other account linked skills that work perfectly.

Let me know if I need to reach out to Amazon I will, but I  know they aren't going to be helpful.  

One of the major reasons I shelled the $119 USD out for premium was this feature. 🙁

 

Posted

The token that is created after account linking is meant to be sent to the Emby skill server but in your case no token is being sent to the server. That's why I believe its a amazon linking problem and not a emby skill server issue

Posted

Okay, appreciate that level of detail. 

  • 1 month later...
Posted

I haven't resolved it yet.  The direction I got from here is to open a ticket with Amazon. Is that normal?  Do other people's skills just not work?  Is it common place for Alexa skills to not work and people have to open tickets about them? Or is it something very specific with me, emby, and Alexa?

I don't know the answer to any of these questions and attempting to open a ticket with Amazon to resolve the issue seems like it would never go anywhere. I've worked with them before. They'll tell me uninstall and reinstall. They'll tell me to reboot. They'll tell me to contact the producer of the skill.

I'm stuck - no real solution. 

  • 2 weeks later...
Posted
On 12/29/2023 at 4:22 PM, jgauthier said:

They'll tell me uninstall and reinstall

@jgauthierCan you try these?

jgauthier
Posted

Definitely. I've tried uninstalling and reinstalling the skill multiple times.  I haven't tried the amazon app itself, but I certainly can.

 

  • Thanks 1
  • 9 months later...
Posted

@jgauthiercan you please try this again? There have been numerous updates to Emby for Alexa. Thanks !

Posted

Hello,

Thanks for following up on that.  I re-established connection with the skill.

When I asked Alexa to "open m b home"  It said "I'm having trouble access that right now" (paraphrased)

I see this show up on the log when I do:

 

2024-10-23 16:39:20.394 Debug Server: http/1.1 GET http://‌‍‍emby.mydomain.org‌/emby/Connect/Exchange?ConnectUserId=1283004. Source Ip: ‌‍‍3.86.205.126‌, UserAgent: node-fetch
2024-10-23 16:39:20.395 Debug AuthenticationRepository: GetInternalId reportedDeviceId: fa86e8f1089b39256882fb0b5aa5babf
2024-10-23 16:39:20.395 Info SessionManager: Reissuing access token: ‌d06c2c67b7e34919b7c137dce5a9a32f‌
2024-10-23 16:39:20.396 Debug Server: http/1.1 Response 200 to ‌‍‍3.86.205.126‌. Time: 2ms. GET http://‌‍‍emby.mydomain.org‌/emby/Connect/Exchange?ConnectUserId=1283004
2024-10-23 16:39:20.876 Debug Server: http/1.1 GET http://‌‍‍emby.mydomain.org‌/emby/Sessions/Capabilities/Full. Source Ip: ‌‍‍3.86.205.126‌, UserAgent: node-fetch
2024-10-23 16:39:20.877 Info Server: http/1.1 Response 404 to ‌‍‍3.86.205.126‌. Time: 1ms. GET http://‌‍‍emby.mydomain.org‌/emby/Sessions/Capabilities/Full
2024-10-23 16:39:23.996 Debug Server: http/1.1 GET http://‌‍‍emby.mydomain.org‌/emby/Connect/Exchange?ConnectUserId=1283004. Source Ip: ‌‍‍3.86.205.126‌, UserAgent: node-fetch
2024-10-23 16:39:23.996 Debug AuthenticationRepository: GetInternalId reportedDeviceId: fa86e8f1089b39256882fb0b5aa5babf
2024-10-23 16:39:23.997 Info SessionManager: Reissuing access token: ‌d06c2c67b7e34919b7c137dce5a9a32f‌
2024-10-23 16:39:23.998 Debug Server: http/1.1 Response 200 to ‌‍‍3.86.205.126‌. Time: 3ms. GET http://‌‍‍emby.mydomain.org‌/emby/Connect/Exchange?ConnectUserId=1283004
2024-10-23 16:39:24.455 Debug Server: http/1.1 GET http://‌‍‍emby.mydomain.org‌/emby/Sessions/Capabilities/Full. Source Ip: ‌‍‍3.86.205.126‌, UserAgent: node-fetch
2024-10-23 16:39:24.456 Info Server: http/1.1 Response 404 to ‌‍‍3.86.205.126‌. Time: 1ms. GET http://‌‍‍emby.mydomain.org‌/emby/Sessions/Capabilities/Full

 

Posted
1 hour ago, jgauthier said:

Hello,

Thanks for following up on that.  I re-established connection with the skill.

When I asked Alexa to "open m b home"  It said "I'm having trouble access that right now" (paraphrased)

I see this show up on the log when I do:

 

2024-10-23 16:39:20.394 Debug Server: http/1.1 GET http://‌‍‍emby.mydomain.org‌/emby/Connect/Exchange?ConnectUserId=1283004. Source Ip: ‌‍‍3.86.205.126‌, UserAgent: node-fetch
2024-10-23 16:39:20.395 Debug AuthenticationRepository: GetInternalId reportedDeviceId: fa86e8f1089b39256882fb0b5aa5babf
2024-10-23 16:39:20.395 Info SessionManager: Reissuing access token: ‌d06c2c67b7e34919b7c137dce5a9a32f‌
2024-10-23 16:39:20.396 Debug Server: http/1.1 Response 200 to ‌‍‍3.86.205.126‌. Time: 2ms. GET http://‌‍‍emby.mydomain.org‌/emby/Connect/Exchange?ConnectUserId=1283004
2024-10-23 16:39:20.876 Debug Server: http/1.1 GET http://‌‍‍emby.mydomain.org‌/emby/Sessions/Capabilities/Full. Source Ip: ‌‍‍3.86.205.126‌, UserAgent: node-fetch
2024-10-23 16:39:20.877 Info Server: http/1.1 Response 404 to ‌‍‍3.86.205.126‌. Time: 1ms. GET http://‌‍‍emby.mydomain.org‌/emby/Sessions/Capabilities/Full
2024-10-23 16:39:23.996 Debug Server: http/1.1 GET http://‌‍‍emby.mydomain.org‌/emby/Connect/Exchange?ConnectUserId=1283004. Source Ip: ‌‍‍3.86.205.126‌, UserAgent: node-fetch
2024-10-23 16:39:23.996 Debug AuthenticationRepository: GetInternalId reportedDeviceId: fa86e8f1089b39256882fb0b5aa5babf
2024-10-23 16:39:23.997 Info SessionManager: Reissuing access token: ‌d06c2c67b7e34919b7c137dce5a9a32f‌
2024-10-23 16:39:23.998 Debug Server: http/1.1 Response 200 to ‌‍‍3.86.205.126‌. Time: 3ms. GET http://‌‍‍emby.mydomain.org‌/emby/Connect/Exchange?ConnectUserId=1283004
2024-10-23 16:39:24.455 Debug Server: http/1.1 GET http://‌‍‍emby.mydomain.org‌/emby/Sessions/Capabilities/Full. Source Ip: ‌‍‍3.86.205.126‌, UserAgent: node-fetch
2024-10-23 16:39:24.456 Info Server: http/1.1 Response 404 to ‌‍‍3.86.205.126‌. Time: 1ms. GET http://‌‍‍emby.mydomain.org‌/emby/Sessions/Capabilities/Full

 

@jgauthierplease attach the complete emby server log file. Thanks !

Posted

I am using a reverse proxy, it terminates SSL and then forwards to emby on HTTP.   I checked my nginx logs for this hit and I can see everything is attempting to use HTTP and then redirected to HTTPS.  This could be the problem with POST, but it's definitely not what I want... I know I set up emby connect up with HTTP:

image.png.b18edee6791c64e8e46c1e4964477fdc.png

 

But then when I look at the connection it's HTTP.

image.png.7b9ce77c522af119da70c344de4a396e.png

Discovered it was getting this info from the server itself.

image.png.7cdf6dcba9eccc62e316c41106193e38.png

 

Found this setting , I haven't seen before and set it:

image.png.7677ff941992b9d1dd476fb86b45f2e9.png

 

NOW, it shows all HTPS.

image.png.63a31123312b681380e7b70e001cda8d.png

 

I will retry the Alexa integration when I am home in the evening.

Thanks!

 

 

 

 

 

 

image.png

Posted

Okay, I was able to test this.

I followed this sequence:

"Open m.b home"

"Play songs by <artist>"

Works.

"Alexa ask emby home to play songs by <artist>"

Sometimes works.

For instance: 

"Alexa ask emby home to play songs by  Soundgarden" and I will see this in the logs (some logging omitted)

2024-10-24 17:58:29.986 Debug Server: http/1.1 Response 200 to ‌‍‍3.92.91.180‌. Time: 21ms. GET http://‌‍‍emby.pendulus.org‌/emby/Users/85741c33e7674a7384f7a29cca8a4606/Items?SortBy=SortName&IncludeItemTypes=MusicArtist&Recursive=true&SearchTerm=Soundgarden

But then when I ask to play a different artist "10 years" the search term is weird.

2024-10-24 17:59:54.543 Debug Server: http/1.1 Response 200 to ‌‍‍3.92.91.180‌. Time: 4ms. GET http://‌‍‍emby.pendulus.org‌/emby/Users/85741c33e7674a7384f7a29cca8a4606/Items?IncludeItemTypes=Movie&SortBy=DateCreated,SortName&SortOrder=Descending&Recursive=true&SearchTerm=songs by 10 years&ExcludeLocationTypes=Virtual&Limit=50

And it says "The requested media is not found in the library"

So I can change it to:

"Alexa ask emby home to play 10 years"

And it search term is better:

2024-10-24 18:00:29.412 Debug Server: http/1.1 Response 200 to ‌‍‍3.92.91.180‌. Time: 3ms. GET http://‌‍‍emby.pendulus.org‌/emby/Users/85741c33e7674a7384f7a29cca8a4606/Items?IncludeItemTypes=Movie&SortBy=DateCreated,SortName&SortOrder=Descending&Recursive=true&SearchTerm=10 years&ExcludeLocationTypes=Virtual&Limit=50

But still says

"The requested media is not found in the library"

Sometimes, it will say "Playing music from provider M B is not supported"

Like, I need to really enunciate "M B Home"

"Alexa ask emby home to play song by AC/DC"


2024-10-24 18:02:24.780 Debug Server: http/1.1 Response 200 to ‌‍‍3.92.91.180‌. Time: 3ms. GET http://‌‍‍emby.pendulus.org‌/emby/Users/85741c33e7674a7384f7a29cca8a4606/Items?SortBy=SortName&IncludeItemTypes=MusicArtist&Recursive=true&SearchTerm=ACDC

And it says "The requested media is not found in the library"

 

Tried it with "Play the album" with the same successes.

Definitely good improvements!

Posted

HI, what if you try saying them more slowly?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...