Jump to content


Photo

Unable to play music


  • Please log in to reply
9 replies to this topic

#1 lee_marshuk OFFLINE  

lee_marshuk

    Newbie

  • Members
  • 4 posts
  • Local time: 02:48 AM

Posted 24 February 2020 - 08:17 PM

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



#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50827 posts
  • Local time: 09:48 PM

Posted 29 February 2020 - 09:58 AM

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?



#3 lee_marshuk OFFLINE  

lee_marshuk

    Newbie

  • Members
  • 4 posts
  • Local time: 02:48 AM

Posted 02 March 2020 - 09:17 AM

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



#4 lee_marshuk OFFLINE  

lee_marshuk

    Newbie

  • Members
  • 4 posts
  • Local time: 02:48 AM

Posted 19 March 2020 - 03:11 PM

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



#5 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50827 posts
  • Local time: 09:48 PM

Posted 20 March 2020 - 11:36 AM

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

 

@chef is this something you can look at?



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153190 posts
  • Local time: 09:48 PM

Posted 23 March 2020 - 06:58 PM

We are looking into improving this. Thanks for reporting.



#7 bigfry OFFLINE  

bigfry

    Newbie

  • Members
  • 9 posts
  • Local time: 06:48 PM

Posted 23 March 2020 - 07:33 PM

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

 



#8 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4589 posts
  • Local time: 09:48 PM
  • LocationPeterborough, Canada

Posted 23 March 2020 - 07:45 PM

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.



#9 lee_marshuk OFFLINE  

lee_marshuk

    Newbie

  • Members
  • 4 posts
  • Local time: 02:48 AM

Posted 23 March 2020 - 07:49 PM

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.



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153190 posts
  • Local time: 09:48 PM

Posted 28 March 2020 - 12:11 PM

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.


  • chef likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users