Unable to play flac or other media to Sonos, "Direct Playing due to no transcode profile"

Server Version#: 1.26.1.5798
Player Version#: Sonos

May 22, 2022 03:42:42.906 [0x7fe5635ccb38] Debug — Request: [35.171.228.116:24814 (WAN)] GET /neighborhood/devices (8 live) TLS Signed-in Token (0xCBFSystem) (Plex for Sonos)
May 22, 2022 03:42:42.906 [0x7fe564448b38] Debug — Completed: [35.171.228.116:24814] 200 GET /neighborhood/devices (8 live) TLS 0ms 203 bytes
May 22, 2022 03:42:42.916 [0x7fe563746b38] Debug — Request: [35.171.228.116:62615 (WAN)] GET /library/metadata/13801 (8 live) TLS Signed-in Token (0xCBFSystem) (Plex for Sonos)
May 22, 2022 03:42:42.922 [0x7fe563746b38] Debug — We're going to try to auto-select an audio stream for account 1.
May 22, 2022 03:42:42.922 [0x7fe563746b38] Debug — Selecting best audio stream for part ID 28138 (autoselect: 1 language: en)
May 22, 2022 03:42:42.922 [0x7fe563746b38] Debug — We're going to try to auto-select a subtitle.
May 22, 2022 03:42:42.922 [0x7fe563746b38] Debug — Audio Stream: 64095, Subtitle Stream: -1
May 22, 2022 03:42:42.923 [0x7fe564448b38] Debug — Completed: [35.171.228.116:62615] 200 GET /library/metadata/13801 (8 live) TLS 6ms 2830 bytes
May 22, 2022 03:42:42.930 [0x7fe5615e1b38] Debug — Request: [35.171.228.116:63948 (WAN)] GET /music/:/transcode/universal/decision?hasMDE=1&partIndex=0&mediaIndex=0&directPlay=1&protocol=hls&path=%2Flibrary%2Fmetadata%2F13801 (8 live) TLS Signed-in Token (0xCBFSystem) (Plex for Sonos)
May 22, 2022 03:42:42.930 [0x7fe5615e1b38] Debug — [Transcode] TranscodeUniversalRequest: adapting profile with augmentation data: add-transcode-target(type=musicProfile&context=streaming&protocol=hls&container=mpegts&audioCodec=aac)+add-direct-play-profile(type=musicProfile&container=mp4&audioCodec=aac,mp3,alac)+add-direct-play-profile(type=musicProfile&container=mp3&audioCodec=mp3,mp2)+add-direct-play-profile(type=musicProfile&container=flac&audioCodec=flac)+add-direct-play-profile(type=musicProfile&container=ogg&audioCodec=vorbis)+add-direct-play-profile(type=musicProfile&container=asf,wma&audioCodec=wmav2)+add-limitation(scope=musicCodec&scopeName=*&type=upperBound&name=audio.samplingRate&value=48000)+add-limitation(scope=musicCodec&scopeName=*&type=lowerBound&name=audio.samplingRate&value=8000)+add-limitation(scope=musicCodec&scopeName=*&type=match&name=audio.samplingRate&list=8000|11025|16000|22050|24000|32000|44100|48000)+add-limitation(scope=musicCodec&scopeName=*&type=upperBound&name=audio.channels&value=2)+add-limitation(scope=musicCodec&scopeName=*&type=upperBound&name=audio.bitDepth&value=16)+add-limitation(scope=musicCodec&scopeName=*&type=upperBound&name=audio.bitrate&value=1411)+add-limitation(scope=musicCodec&scopeName=wmav2&type=upperBound&name=audio.bitrate&value=355)+add-limitation(scope=musicCodec&scopeName=mp3,aac,vorbis&type=upperBound&name=audio.bitrate&value=320)+add-limitation(scope=musicCodec&scopeName=mp3&type=lowerBound&name=audio.samplingRate&value=16000)
May 22, 2022 03:42:42.930 [0x7fe5615e1b38] Error — [Transcode] ClientProfileExtra: music transcode target already exists for  streaming hls
May 22, 2022 03:42:42.930 [0x7fe5615e1b38] Debug — [Transcode] TranscodeUniversalRequest: using augmented profile Sonos
May 22, 2022 03:42:42.930 [0x7fe5615e1b38] Debug — [Transcode] Downloading document http://127.0.0.1:32400/library/metadata/13801?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=54-2A-1B-BE-EA-16%3aE
May 22, 2022 03:42:42.936 [0x7fe5615e1b38] Debug — [Transcode] We're going to try to auto-select an audio stream for account 1.
May 22, 2022 03:42:42.936 [0x7fe5615e1b38] Debug — [Transcode] Selecting best audio stream for part ID 28138 (autoselect: 1 language: en)
May 22, 2022 03:42:42.936 [0x7fe5615e1b38] Debug — [Transcode] We're going to try to auto-select a subtitle.
May 22, 2022 03:42:42.936 [0x7fe5615e1b38] Debug — [Transcode] Audio Stream: 64095, Subtitle Stream: -1
May 22, 2022 03:42:42.937 [0x7fe5615e1b38] Warning — [Transcode] Streaming Resource: Bandwidth exceeded: 2147483647 kbps > 31999328 kbps
May 22, 2022 03:42:42.938 [0x7fe5615e1b38] Debug — [Transcode] MDE: Selected protocol http; container: flac
May 22, 2022 03:42:42.938 [0x7fe5615e1b38] Debug — [Transcode] MDE: analyzing media item 28138
May 22, 2022 03:42:42.938 [0x7fe5615e1b38] Debug — [Transcode] MDE: The Phone Call: Direct Playing due to no transcode profile
May 22, 2022 03:42:42.938 [0x7fe5615e1b38] Debug — [Transcode] MDE: The Phone Call: DirectPlay
May 22, 2022 03:42:42.938 [0x7fe5615e1b38] Debug — [Transcode] MDE: The Phone Call: selected media 0 / 28138
May 22, 2022 03:42:42.938 [0x7fe5615e1b38] Debug — [Transcode] Streaming Resource: Reached Decision id=13801 codes=(MDE=3001,Cannot direct play this item. Required bandwidth is not known and only kbps is available. General=1000,Direct play OK. Direct Play=1000,Direct play OK.) media=(id=28138 part=(id=28138 decision=direct play protocol=http streams=(Audio=(id=64095 decision= channels=2 rate=44100))))
May 22, 2022 03:42:42.939 [0x7fe564425b38] Debug — Completed: [35.171.228.116:63948] 200 GET /music/:/transcode/universal/decision?hasMDE=1&partIndex=0&mediaIndex=0&directPlay=1&protocol=hls&path=%2Flibrary%2Fmetadata%2F13801 (8 live) TLS 9ms 3025 bytes
May 22, 2022 03:42:43.293 [0x7fe561d2cb38] Debug — Request: [34.205.43.237:59637 (WAN)] GET /neighborhood/devices (8 live) TLS Signed-in Token (0xCBFSystem) (Plex for Sonos)
May 22, 2022 03:42:43.293 [0x7fe564425b38] Debug — Completed: [34.205.43.237:59637] 200 GET /neighborhood/devices (8 live) TLS 0ms 203 bytes
May 22, 2022 03:42:43.304 [0x7fe561ddbb38] Debug — Request: [34.205.43.237:65253 (WAN)] GET /library/metadata/11671 (8 live) TLS Signed-in Token (0xCBFSystem) (Plex for Sonos)
May 22, 2022 03:42:43.311 [0x7fe564448b38] Debug — Completed: [34.205.43.237:65253] 200 GET /library/metadata/11671 (8 live) TLS 6ms 2600 bytes
May 22, 2022 03:42:43.324 [0x7fe561c4bb38] Debug — Request: [34.205.43.237:64579 (WAN)] GET /music/:/transcode/universal/decision?hasMDE=1&partIndex=0&mediaIndex=0&directPlay=1&protocol=hls&path=%2Flibrary%2Fmetadata%2F11671 (8 live) TLS Signed-in Token (0xCBFSystem) (Plex for Sonos)

Plex support, What do I need to do to solve this issue

I worked around this by setting remote access bandwidth to 0. Not a fix, but my bandwidth was set to 40000Mbps which shouldn’t be an issue

1 Like

The curse of that darn number!

If you look at the media XML info for some affected files, what are the requiredBandwidths?

I think it’s a media analysis failure. That’s a good workaround.

I don’t see requiredBandwidths on any of the media, but none are videos since I’m just trying to play music.

1 Like

Same issue, bandwidth exceeding the logs playing my FLAC music. Removing internet upload speed (set to 0) and setting the stream bitrate will get it to play on Sonos, but only for a few seconds. When they are set, it won’t play at all. So once again Sonos is broken. Server version 1.26.2.5797.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.