Jump to content

Alexa works fine for one song, but then stops


mrmatt

Recommended Posts

Hi all, I just set up my Emby server to work with my Alexa-powered devices (Echo, Echo Dot).  I have a remote Emby server with an SSL cert, I've linked my Emby Connect account to it, and set up the Emby skill to be linked to my Emby Connect account.

So far, everything works great... except that it only plays one song, and stops playing after that.  To play another song, I have to re-open the Emby skill and issue the playback command again.

When I look at the activity log in the server dashboard, it shows that the song stopped playing after about a minute, while the song continues to play on my Echo Dot.  After the song finishes on the Echo Dot, then it stops playing altogether.

image.thumb.png.8b1b226fb26c0cf3037a68b955a528a3.png

I took a look at the server log file, and I saw this bit at around the time Emby thought the song stopped playing:

image.thumb.png.4008e2b5c415f0c0982401f13d49cf51.png

Anyone know what this could be?  Is there anything I need to do on my end?  Is my Echo Dot too old?  Is this a possible bug?  Any help would be greatly appreciated!

Link to comment
Share on other sites

Quick follow-up since I can't edit the above post: This seems to be working fine for a remote user from their newer Echo device.  For the remote user, the logs still show that the track stops playing after a minute, but they are able to play multiple songs in a row.  The only difference on my end is I'm inside the same network that the Emby server is on, and my Echo Dot is a few generations older.

Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...
h400exinfl

+1 on single song playback via amazon Alexa.  I just set this Alexa skill up so I could play music on every alexa speaker in the house. Unfortunately, Alexa/Emby stops playing after the first song in my playlist.  Here is the general rundown in the log:

2023-04-19 07:01:01.731 Info SessionManager: Playback start reported by app Alexa 1.1 playing Revolution 1. Started at 0 ms
2023-04-19 07:01:01.732 Info Server: http/1.1 Response 204 to host8. Time: 5ms. http://host1/emby/Sessions/Playing?ItemId=1038908&PlaySessionId=688b527864e84b6a8e3e3b095643320a&MediaSourceId=1038908&IsMuted=False&PositionTicks=0&CanSeek=False&PlayMethod=DirectStream
2023-04-19 07:01:06.340 Info Server: http/1.1 POST http://host1/emby/Sessions/Capabilities/Full. UserAgent: AWS Alexa
2023-04-19 07:01:06.342 Info Server: http/1.1 Response 204 to host8. Time: 2ms. http://host1/emby/Sessions/Capabilities/Full
2023-04-19 07:01:08.125 Info Server: http/1.1 POST http://host1/emby/Sessions/Capabilities/Full. UserAgent: AWS Alexa
2023-04-19 07:01:08.127 Info Server: http/1.1 Response 204 to host8. Time: 2ms. http://host1/emby/Sessions/Capabilities/Full
2023-04-19 07:01:08.385 Info Server: http/1.1 POST http://host1/emby/Sessions/Logout. UserAgent: AWS Alexa
2023-04-19 07:01:08.386 Info Server: http/1.1 Response 204 to host8. Time: 2ms. http://host1/emby/Sessions/Logout
2023-04-19 07:02:02.729 Info SessionManager: Session 88df765b1cd8fb0a16ab3fb5c47cb61b has gone idle while playing
2023-04-19 07:02:02.729 Info SessionManager: Playback stopped reported by app Alexa 1.1 playing Revolution 1. Stopped at 60000 ms
2023-04-19 07:04:10.244 Info Server: http/1.1 POST http://host1/emby/Sessions/Capabilities/Full. UserAgent: AWS Alexa
2023-04-19 07:04:10.246 Info Server: http/1.1 Response 204 to host8. Time: 2ms. http://host1/emby/Sessions/Capabilities/Full
2023-04-19 07:04:10.556 Info Server: http/1.1 POST http://host1/emby/Sessions/Playing/Stopped?ItemId=1038908&MediaSourceId=1038908&PositionTicks=1764260000&PlaySessionId=688b527864e84b6a8e3e3b095643320a. UserAgent: AWS Alexa
2023-04-19 07:04:10.559 Info SessionManager: Playback stopped reported by app Alexa 1.1 playing Revolution 1. Stopped at 176426 ms
2023-04-19 07:04:10.560 Info Server: http/1.1 Response 204 to host8. Time: 4ms. http://host1/emby/Sessions/Playing/Stopped?ItemId=1038908&MediaSourceId=1038908&PositionTicks=1764260000&PlaySessionId=688b527864e84b6a8e3e3b095643320a

 

 

 

FWIW session id 88df765b1cd8fb0a16ab3fb5c47cb61b only appears once in the log (seen above). 

Link to comment
Share on other sites

4 hours ago, h400exinfl said:

+1 on single song playback via amazon Alexa.  I just set this Alexa skill up so I could play music on every alexa speaker in the house. Unfortunately, Alexa/Emby stops playing after the first song in my playlist.  Here is the general rundown in the log:

2023-04-19 07:01:01.731 Info SessionManager: Playback start reported by app Alexa 1.1 playing Revolution 1. Started at 0 ms
2023-04-19 07:01:01.732 Info Server: http/1.1 Response 204 to host8. Time: 5ms. http://host1/emby/Sessions/Playing?ItemId=1038908&PlaySessionId=688b527864e84b6a8e3e3b095643320a&MediaSourceId=1038908&IsMuted=False&PositionTicks=0&CanSeek=False&PlayMethod=DirectStream
2023-04-19 07:01:06.340 Info Server: http/1.1 POST http://host1/emby/Sessions/Capabilities/Full. UserAgent: AWS Alexa
2023-04-19 07:01:06.342 Info Server: http/1.1 Response 204 to host8. Time: 2ms. http://host1/emby/Sessions/Capabilities/Full
2023-04-19 07:01:08.125 Info Server: http/1.1 POST http://host1/emby/Sessions/Capabilities/Full. UserAgent: AWS Alexa
2023-04-19 07:01:08.127 Info Server: http/1.1 Response 204 to host8. Time: 2ms. http://host1/emby/Sessions/Capabilities/Full
2023-04-19 07:01:08.385 Info Server: http/1.1 POST http://host1/emby/Sessions/Logout. UserAgent: AWS Alexa
2023-04-19 07:01:08.386 Info Server: http/1.1 Response 204 to host8. Time: 2ms. http://host1/emby/Sessions/Logout
2023-04-19 07:02:02.729 Info SessionManager: Session 88df765b1cd8fb0a16ab3fb5c47cb61b has gone idle while playing
2023-04-19 07:02:02.729 Info SessionManager: Playback stopped reported by app Alexa 1.1 playing Revolution 1. Stopped at 60000 ms
2023-04-19 07:04:10.244 Info Server: http/1.1 POST http://host1/emby/Sessions/Capabilities/Full. UserAgent: AWS Alexa
2023-04-19 07:04:10.246 Info Server: http/1.1 Response 204 to host8. Time: 2ms. http://host1/emby/Sessions/Capabilities/Full
2023-04-19 07:04:10.556 Info Server: http/1.1 POST http://host1/emby/Sessions/Playing/Stopped?ItemId=1038908&MediaSourceId=1038908&PositionTicks=1764260000&PlaySessionId=688b527864e84b6a8e3e3b095643320a. UserAgent: AWS Alexa
2023-04-19 07:04:10.559 Info SessionManager: Playback stopped reported by app Alexa 1.1 playing Revolution 1. Stopped at 176426 ms
2023-04-19 07:04:10.560 Info Server: http/1.1 Response 204 to host8. Time: 4ms. http://host1/emby/Sessions/Playing/Stopped?ItemId=1038908&MediaSourceId=1038908&PositionTicks=1764260000&PlaySessionId=688b527864e84b6a8e3e3b095643320a

 

 

 

FWIW session id 88df765b1cd8fb0a16ab3fb5c47cb61b only appears once in the log (seen above). 

Hi, we have a new update for Emby Alexa support coming soon so please try that once available. Thanks.

Link to comment
Share on other sites

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...