MEDIA_ERROR_UNKNOWN The detailed message was: Device playback error.

Post Reply
phankins11
Posts: 1
Joined: Wed Nov 09, 2022 8:21 pm

MEDIA_ERROR_UNKNOWN The detailed message was: Device playback error.

Post by phankins11 »

Nothing plays on My media docker container. Even happens with the sample music.

My Media for Alexa installed using Docker Container on Ubuntu 20.04 LTS. Container instantiated with the following docker run command

docker run -d \
--name=media4alexa \
-p 52050:52050 \
-p 52051:52051 \
-v /var/opt/media4alexa/musiclib:/medialibrary \
-v /var/opt/media4alexa/config:/datadir \
--restart unless-stopped \
bizmodeller/mymediaforalexa

the /var/optmedia4alexa/musiclib is a mount point for an nfs share that contains my music library which lives on a MyCloud NAS and works with all kinds of other music players, including Sonos.

I can exec -it into the container and actually so an ls on the /medialibrary and see all my music. My Media indexes all the music= just fine as well. My Media shows Connected in the dash board. But nothing plays and all songs throw this same error.

Per the FAQ for this issue....
  • All my Alexa devices are on the same network.
  • Computer is NOT running any firewall
  • Computer does not have multiple network connections
  • Not using Sonos
  • All components are on and running, or else I wouldn;'t be able to see the music files in the mount point.
Something else is going on other than the basic FAQ troubleshooting steps. Below is the docker log entry from an attempt to play a song.

Code: Select all

09/11/2022 20:30:03.358 7:0 1083 PushClient.cs:Ws_OnMessage:569 Serializing response...
09/11/2022 20:30:03.358 7:0 1083 PushClient.cs:Ws_OnMessage:572 Sending response: {"ResponseCode":200,"PlaylistMediaItem":{"ID":"7b34bad1-f20a-495a-ade4-fb21afe2280b","PlaylistID":"25d4a704-09d2-4a7a-a424-7bd96e2bcd83","MediaItemID":"05324a3a-93ba-4223-8dad-2677f7d83b3c","PlayOrder":0,"PlayOrderRandom":382,"Offset":0},"MediaItem":{"ID":"05324a3a-93ba-4223-8dad-2677f7d83b3c","MediaClientID":"050cf669-61db-446d-9052-2486fc56e2b4","CheckSum":"-8589032159104857750:5412761","FileName":"/medialibrary/12 Stones/Potter's Field/01 Speak Your Mind.mp3","PlayCount":0,"Rating":0,"Title":"01 Speak Your Mind","ContributingArtists":"12 Stones","AlbumArtist":null,"Album":"","Year":0,"DiscNumber":0,"TrackNumber":0,"TrackCount":0,"Genre":"Modern Rock","Composer":null,"Tag":null,"SourceID":null,"SourceName":null,"Indexed":"2022-11-09T19:50:13","Codec":"MPEG Version 1 Audio, Layer 3","Duration":226,"Hidden":false,"RequiredTranscoding":0,"IsAudioBook":false,"GroupID":"00000000-0000-0000-0000-000000000000"},"SmallImage":null,"LargeImage":null,"MessageType":4,"Locale":"en-US","TransactionID":"d8b23bcb-7a06-4bae-992e-3eec3fa3bd7a"}
09/11/2022 20:30:03.358 7:0 1083 PushClient.cs:Ws_OnMessage:573 Sending response (length): 1043
09/11/2022 20:30:03.359 7:0 1083 PushClient.cs:Ws_OnMessage:709 Done.
09/11/2022 20:30:03.364 7:0 1083 ServiceAgent.cs:PreloadFile:2351 File opened successfully.
09/11/2022 20:30:13.719 7:0 1070 PushClient.cs:Ws_OnMessage:238 Received message: {"MessageType":3,"Locale":"en-US","TransactionID":"1f3f0ea8-16e8-4155-913b-cf81320862a4","PlaylistId":"25d4a704-09d2-4a7a-a424-7bd96e2bcd83","PreviousPlaylistMediaItem":"7b34bad1-f20a-495a-ade4-fb21afe2280b","TrackRequest":1,"Loop":false,"Shuffle":false,"SendImages":true}
09/11/2022 20:30:13.720 7:0 1070 PushClient.cs:Ws_OnMessage:469 PlaylistItem request was for : PlaylistId:25d4a704-09d2-4a7a-a424-7bd96e2bcd83, PreviousMedaiItemId:7b34bad1-f20a-495a-ade4-fb21afe2280b, TrackRequest:NextTrack
09/11/2022 20:30:13.720 7:0 1070 ServiceAgent.cs:GetPlaylistMediaItem:2209 IN - try 0
09/11/2022 20:30:13.721 7:0 1070 ServiceAgent.cs:GetPlaylistMediaItem:2217 Searching tracks...
09/11/2022 20:30:13.721 7:0 1070 ServiceAgent.cs:GetPlaylistMediaItem:2250 Next track - Got to the end of the playlist, looping is off and no more tracks, returning null
09/11/2022 20:30:13.721 7:0 1070 ServiceAgent.cs:GetPlaylistMediaItem:2297 trackToReturn returned null; there are no more tracks.
09/11/2022 20:30:13.722 7:0 1070 ServiceAgent.cs:GetPlaylistMediaItem:2334 OUT
09/11/2022 20:30:13.722 7:0 1070 PushClient.cs:Ws_OnMessage:476 Got playlistmediaitem - NULL
09/11/2022 20:30:13.722 7:0 1070 PushClient.cs:Ws_OnMessage:569 Serializing response...
09/11/2022 20:30:13.723 7:0 1070 PushClient.cs:Ws_OnMessage:572 Sending response: {"ResponseCode":404,"PlaylistMediaItem":{"ID":"00000000-0000-0000-0000-000000000000","PlaylistID":"00000000-0000-0000-0000-000000000000","MediaItemID":"00000000-0000-0000-0000-000000000000","PlayOrder":0,"PlayOrderRandom":0,"Offset":0},"MediaItem":{"ID":"00000000-0000-0000-0000-000000000000","MediaClientID":"00000000-0000-0000-0000-000000000000","CheckSum":null,"FileName":null,"PlayCount":0,"Rating":0,"Title":null,"ContributingArtists":null,"AlbumArtist":null,"Album":null,"Year":0,"DiscNumber":0,"TrackNumber":0,"TrackCount":0,"Genre":null,"Composer":null,"Tag":null,"SourceID":null,"SourceName":null,"Indexed":"0001-01-01T00:00:00Z","Codec":"","Duration":0,"Hidden":false,"RequiredTranscoding":0,"IsAudioBook":false,"GroupID":"00000000-0000-0000-0000-000000000000"},"SmallImage":null,"LargeImage":null,"MessageType":4,"Locale":"en-US","TransactionID":"1f3f0ea8-16e8-4155-913b-cf81320862a4"}
09/11/2022 20:30:13.723 7:0 1070 PushClient.cs:Ws_OnMessage:573 Sending response (length): 896
09/11/2022 20:30:13.724 7:0 1070 PushClient.cs:Ws_OnMessage:709 Done.
09/11/2022 20:30:13.822 7:0 1060 PushClient.cs:Ws_OnMessage:238 Received message: {"DeviceID":"amzn1.ask.device.AEKMCITIMSFYRJ4H4NWVE2GBBJU2ESYAJ6SQEB4NM22EAOR4PKNGU7ENESLSFBRJTRMFE2UOIDRHCGGKVLECNX5CONO4THZO4BL5KWGPH5YYTQX6ZF24CKIOZE6ZWUGOYSAOW3FS7WXF2AU27VQPIVP75GQTYYEKAWKVEJXYLFQWSLJKSOOJ4","PlaylistID":"25d4a704-09d2-4a7a-a424-7bd96e2bcd83","MediaItemID":"05324a3a-93ba-4223-8dad-2677f7d83b3c","MediaPlaylistItemID":"7b34bad1-f20a-495a-ade4-fb21afe2280b","Offset":0,"ErrorCode":"MEDIA_ERROR_UNKNOWN","ErrorMessage":"Device playback error","NotifyType":4,"MessageType":9,"Locale":"en-US","TransactionID":"39e7b421-6b79-4bb1-9b79-3eb40d51a609"}
09/11/2022 20:30:13.822 7:0 1060 ServiceAgent.cs:GetPlaylistMediaItem:2209 IN - try 0
09/11/2022 20:30:13.823 7:0 1060 ServiceAgent.cs:GetPlaylistMediaItem:2217 Searching tracks...
09/11/2022 20:30:13.824 7:0 1060 ServiceAgent.cs:GetPlaylistMediaItem:2334 OUT
09/11/2022 20:30:13.824 7:0 1060 PushClient.cs:Ws_OnMessage:328 Received PlaybackFailed notification
09/11/2022 20:30:13.825 7:0 1060 MessageController.cs:AddMessage:114 Added 8edcc79b-dc58-4b68-a94f-bba571e23338; Title:Alexa reported an error streaming the track 01 Speak Your Mind - MEDIA_ERROR_UNKNOWN.  If this happens on every track, please check your computer firewall settings or <a href='/index.html#!/faq'>review our FAQ</a>.; Description:Your Alexa device reported an error streaming the current track (/medialibrary/12 Stones/Potter's Field/01 Speak Your Mind.mp3).

The error code was: MEDIA_ERROR_UNKNOWN
The detailed message was: Device playback error.

If this happens on every track, please check your computer firewall settings or <a href='/index.html#!/faq'>review our FAQ</a>.
Post Reply