Jump to content
lee_marshuk

Unable to play music

Recommended Posts

lee_marshuk

Hello there,

 

I have just switched to Emby from Plex, but I cannot get the Alexa skill to work at all. No matter what instruction I give it, it cannot find any music to play. For example, I enter the Emby skill and say:

 

"Play music by artist 'X'."

 

The response is:

 

"I could not find 'X'. You can specify the media type by saying...."

 

I have loaded the Emby app on my phone, and can see all my music correctly categorised and tagged there. What have I missed please?

 

Many thanks in advance.

 

Lee

Share this post


Link to post
Share on other sites
ebr

Hi.  Can you make a more general command work?  Also, if you search with your phone for exactly what Alexa responds with that she cannot find, do you get any results?

Share this post


Link to post
Share on other sites
lee_marshuk

Hi Ebr,

 

Really sorry for taking so long to reply, so yes I can confirm if I search on the app for exactly what Alexa responds she cannot find, I do get results correctly. I used the example of Fleetwood Mac, but I tried a few variations and have the same result.

 

I decided to use a more generic command - here's a transcript:

 

Me: Alexa, Open Music

Alexa: Emby here, what did I miss?

 

Me: Play some music

Alexa: Currently Playing ('Random track')

 

This worked correctly. I repeated this and it worked correctly. It picked 'Don't Answer Me' by 'Alan Parsons Project'.

 

Then as a test:

 

Me: Alexa, Open Music

Alexa: Emby here, what's up?

Me: Play songs by 'Alan Parsons Project'

Alexa: I could not find 'Alan Parsons Project', you can try specifying the media type.....

 

Thanks for your help so far and look forward to hearing from you.

 

Lee

Share this post


Link to post
Share on other sites
lee_marshuk

Hello,

 

By way of an update. I have discovered that requesting music by the track name does work, it appears only requesting by artist never works?

 

Kind regards,

 

Lee

@@chef

Share this post


Link to post
Share on other sites
ebr

Interesting.  So the skill may not be properly translating an artist into songs...

 

@@chef is this something you can look at?

Share this post


Link to post
Share on other sites
Luke

We are looking into improving this. Thanks for reporting.

Share this post


Link to post
Share on other sites
bigfry

I was getting very similar if not identical results here at my house when I tried Alexa. I finally got something out of it last night when I said "play music by Paul Simon on this device" and got the album U218 by U2... I've included an anonymized snippet of the server log from last night and it sure looks to me like Alexa asked Emby for Paul Simon (who is in my music library and playable).

2020-03-22 20:20:09.650 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Connect/Exchange?ConnectUserId=31578. UserAgent: AWS Alexa
2020-03-22 20:20:09.651 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 0ms. http://emby.biggravy.zib:443/emby/Connect/Exchange?ConnectUserId=31578
2020-03-22 20:20:10.224 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/DisplayPreferences/Alexa_d8087e4fad16cdbe8739fd7f0b05ffbc?Client=Alexa&UserId=84uf7guth58473hdy4738dh848392i34. UserAgent: AWS Alexa
2020-03-22 20:20:10.225 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 1ms. http://emby.biggravy.zib:443/emby/DisplayPreferences/Alexa_d8087e4fad16cdbe8739fd7f0b05ffbc?Client=Alexa&UserId=84uf7guth58473hdy4738dh848392i34
2020-03-22 20:20:11.007 Info HttpServer: HTTP POST http://emby.biggravy.zib:443/emby/Sessions/Capabilities/Full. UserAgent: AWS Alexa
2020-03-22 20:20:11.008 Info HttpServer: HTTP Response 204 to 3.86.254.190. Time: 2ms. http://emby.biggravy.zib:443/emby/Sessions/Capabilities/Full
2020-03-22 20:20:11.601 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Items?searchTerm=paul+simon&IncludeItemTypes=MusicArtist&limit=5&Recursive=True. UserAgent: AWS Alexa
2020-03-22 20:20:11.603 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 2ms. http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Items?searchTerm=paul+simon&IncludeItemTypes=MusicArtist&limit=5&Recursive=True
2020-03-22 20:20:12.203 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Items?searchTerm=paul&IncludeItemTypes=MusicArtist&limit=5&Recursive=True. UserAgent: AWS Alexa
2020-03-22 20:20:12.205 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 2ms. http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Items?searchTerm=paul&IncludeItemTypes=MusicArtist&limit=5&Recursive=True
2020-03-22 20:20:12.824 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Items?searchTerm=paul&IncludeItemTypes=Movie%2CSeries%2CMusicVideo&limit=20&Recursive=True&EnableTotalRecordCount=False. UserAgent: AWS Alexa
2020-03-22 20:20:12.825 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 1ms. http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Items?searchTerm=paul&IncludeItemTypes=Movie%2CSeries%2CMusicVideo&limit=20&Recursive=True&EnableTotalRecordCount=False
2020-03-22 20:20:26.795 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Suggestions?Limit=50&Type=Audio. UserAgent: AWS Alexa
2020-03-22 20:20:26.815 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 18ms. http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Suggestions?Limit=50&Type=Audio
2020-03-22 20:20:27.682 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Sessions?ControllableByUserId=84uf7guth58473hdy4738dh848392i34. UserAgent: AWS Alexa
2020-03-22 20:20:27.683 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 1ms. http://emby.biggravy.zib:443/emby/Sessions?ControllableByUserId=84uf7guth58473hdy4738dh848392i34
2020-03-22 20:20:36.770 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Suggestions?Limit=50&Type=Audio. UserAgent: AWS Alexa
2020-03-22 20:20:36.788 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 18ms. http://emby.biggravy.zib:443/emby/Users/84uf7guth58473hdy4738dh848392i34/Suggestions?Limit=50&Type=Audio
2020-03-22 20:20:37.614 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Sessions?DeviceId=12345678901234567890qwertyuiopasdd. UserAgent: AWS Alexa
2020-03-22 20:20:37.614 Info HttpServer: HTTP Response 200 to 3.86.254.190. Time: 0ms. http://emby.biggravy.zib:443/emby/Sessions?DeviceId=12345678901234567890qwertyuiopasdd
2020-03-22 20:20:38.370 Info HttpServer: HTTP POST http://emby.biggravy.zib:443/emby/DisplayPreferences/Alexa_d8087e4fad16cdbe8739fd7f0b05ffbc?Client=Alexa&UserId=84uf7guth58473hdy4738dh848392i34. UserAgent: AWS Alexa
2020-03-22 20:20:38.371 Info HttpServer: HTTP Response 204 to 3.86.254.190. Time: 1ms. http://emby.biggravy.zib:443/emby/DisplayPreferences/Alexa_d8087e4fad16cdbe8739fd7f0b05ffbc?Client=Alexa&UserId=84uf7guth58473hdy4738dh848392i34
2020-03-22 20:20:39.619 Info HttpServer: HTTP GET http://emby.biggravy.zib:443/emby/Audio/41357/universal?PlaySessionId=21b979cd045c469e8fdd25e247a20e09&MaxStreamingBitrate=384000&MaxSampleRate=48000&EnableRedirection=True&TranscodingContainer=mp3&Container=mp3,aac&AudioCodec=mp3&UserId=84uf7guth58473hdy4738dh848392i34&TranscodingProtocol=hls&EnableRemoteMedia=True&DeviceId=12345678901234567890qwertyuiopasdd. UserAgent: Echo/1.0(APNG)
2020-03-22 20:20:39.622 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\randomU\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"D:\MyDrive\Music\U2\U218 Singles\12. One.mp3" -threads 0 -v info -print_format json -show_streams -show_format
2020-03-22 20:20:39.806 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0
2020-03-22 20:20:39.812 Info App: ProcessRun 'extract-image' Execute: C:\Users\randomU\AppData\Roaming\Emby-Server\system\ffmpeg.exe -i file:"D:\MyDrive\Music\U2\U218 Singles\12. One.mp3" -map 0:1 -threads 0 -vframes 1 -vf "scale=600:trunc(ow/a/2)*2" -f image2 "C:\Users\randomU\AppData\Roaming\Emby-Server\programdata\cache\temp\345b9f46-5294-48dc-b116-69c7fa9332b6.jpg"
2020-03-22 20:20:39.947 Info App: ProcessRun 'extract-image' Process exited with code 0
2020-03-22 20:20:40.418 Info MediaInfoService: User policy for biglaud. EnableAudioPlaybackTranscoding: True

 

Share this post


Link to post
Share on other sites
chef

Hello,

 

By way of an update. I have discovered that requesting music by the track name does work, it appears only requesting by artist never works?

 

Kind regards,

 

Lee

@@chef

 

 

I'm looking through the code now.  I see artist, and album. Might take a moment to find item with type 

 

Sorry,  whats the type for individual songs call in the API... again? @Luke 

 

 

 

 

Side note: While I'm there, I see how to add more localization too.

Share this post


Link to post
Share on other sites
lee_marshuk

Hi All,

 

Thanks for looking into it. Let me know if you need any testing or further information from my end and I'll get it done.

Share this post


Link to post
Share on other sites
Luke

I'm looking through the code now.  I see artist, and album. Might take a moment to find item with type 

 

Sorry,  whats the type for individual songs call in the API... again? @Luke 

 

 

 

 

Side note: While I'm there, I see how to add more localization too.

 

@@chef it's Audio.

  • Like 1

Share this post


Link to post
Share on other sites
bobcoupee

Hi

 

Is there a fix due for this anytime soon? I ask because I have just enabled the Emby Alexa skill and am getting the same behaviour: Emby can play an indiviual track, but if I ask it to play "artist X" or "music by X" or "music by artist X" the response is "X cannot be found you can try specifying the media type....".

 

Thanks.

Share this post


Link to post
Share on other sites
lee_marshuk

Hello,

 

Do we have an update on this at all? Anything I can assist with testing?

Share this post


Link to post
Share on other sites
Luke

Not yet but hopefully soon.

Share this post


Link to post
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...