Hello all!
Can you help solve an issue that I can’t seem to figure out? I have a Plex server on a Synology NAS, plugged into a switch and multiple Sonos speakers also plugged into the same switch via ethernet.
After some fiddling with the Netgear switch, turning on STP and BPDU settings, I’ve successfully managed to have the Sonos app connect to the plex server and successfully play music on Sonos.
However I can’t get the Plex App to cast to the Sonos speakers. When I press on the cast button the speakers appear on the dropdown with correct names and identify as Sonos, but when I press play on any song it either gives a playback error or jumps from the start of the song to the end and then skips a few songs in quick succession.
The Plex app is able to cast, as I can send music to a google home and google mini which are on the same network.
I’ve tried most debugging steps like:
- restart everything
- remove the netgear switch & plug everything into the main internet router
- remove sonos devices, factory reset and re-add
- remove the firewall from the Synology to check no ports are being blocked
- Review all STP settings in the Netgear
I’ve tried checking the logs within the plex IOS app and don’t seem to have any massive error:
Server Version#: 1.25.4.5487
Player Version#: latest from app store on iPhone
What stumps me is that I’m going through the Plex IOS app logs and there’s no hardcore error. Office is the name of the Sonos speaker I’m trying to cast to
Logs below… any ideas?
many thanks!
C
2022/02/04 14:21:07.476 (175 MB) (1095903)
PMKDeviceManager.m:442 | Selecting Office (RINCON_48A6B83BBA8201400:1216093626) - player,cloud,requiresSecureConnections
2022/02/04 14:21:07.477 (175 MB) (1081773)
PMKAudioSessionCategoryManager.m:64 | Setting audio session to ambient
2022/02/04 14:21:07.485 (174 MB) (1081773)
PMKPlexPlayerConnection.m:714 | Sending command poll with ID 41
2022/02/04 14:21:07.510 (174 MB) (1081773)
PMKAudioSessionCategoryManager.m:64 | Setting audio session to playback
2022/02/04 14:21:07.563 (174 MB) (1081773)
PMKKeepAliveManager.m:108 | Playing…
2022/02/04 14:21:07.563 (174 MB) (1081773)
PMKPlayerBackgroundTaskManager.m:297 | Starting Companion background task…
2022/02/04 14:21:07.563 (174 MB) (1081773)
PMKPlayQueueServerStrategy.m:501 | Updating PQ from content source <PMKMediaProviderContentSource:0x281a933e0 name=Library identifier=com.plexapp.plugins.library server=<PMKServer: 0x281ab1540>[ TheMediaBox (e1d97002056df5f7c24e17f65f6f07ff236ff0e0) - server,standard,hasPresence (1.25.4.5487-648a8f9f9) ]>, server <PMKServer: 0x281ab1540>[ TheMediaBox (e1d97002056df5f7c24e17f65f6f07ff236ff0e0) - server,standard,hasPresence (1.25.4.5487-648a8f9f9) ]
2022/02/04 14:21:07.589 (174 MB) (1095897)
PMKNetworkTask.m:201 | Started: 200: TheMediaBox (e1d97002056df5f7c24e17f65f6f07ff236ff0e0): GET /playQueues/1197?includeExternalMedia=1&includeLoudnessRamps=1
X-Plex-Supported-Commands : abort,changeQuality
User-Agent : PlexMobile/7.27 (iPhone; iOS 15.2.1; Scale/3.00)
X-Plex-Device-Screen-Density : 3
X-Plex-Features : external-media
X-Plex-Device : iPhone
X-Plex-Platform : iOS
X-Plex-Sync-Version : 2
X-Plex-Token : aLk-bxxxxxxxxxxxxxxx
X-Plex-Provider-Version : 5.0.0
X-Plex-Username : X
X-Plex-Provides : client,controller,sync-target,player,pubsub-player,provider-playback
X-Plex-Version : 7.27
X-Plex-Client-Platform : iOS
X-Plex-Model : 12,3
X-Plex-Product : Plex for iOS
X-Plex-Drm : fairplay:video
X-Plex-Client-Identifier : EE970ABD-FE5E-4AF7-BA83-4AF906B71892
Accept-Language : en-GB;q=1, es-GB;q=0.9, pt-PT;q=0.8
X-Plex-Device-Screen-Resolution : 1125x2436
X-Plex-Device-Vendor : Apple
X-Plex-Platform-Version : 15.2.1
Accept : text/xml,application/xml
X-Plex-Http-Pipeline : infinite
X-Plex-Language : en [param]
X-Plex-Device-Name : Charles’s iPhone [param]
includeLoudnessRamps : 1 [param]
includeExternalMedia : 1 [param]
2022/02/04 14:21:07.680 (174 MB) (1094995)
PMKNetworkTask.m:225 | Completed [200]: 200: TheMediaBox (e1d97002056df5f7c24e17f65f6f07ff236ff0e0): GET /playQueues/1197?includeExternalMedia=1&includeLoudnessRamps=1
X-Plex-Supported-Commands : abort,changeQuality
User-Agent : PlexMobile/7.27 (iPhone; iOS 15.2.1; Scale/3.00)
X-Plex-Device-Screen-Density : 3
X-Plex-Features : external-media
X-Plex-Device : iPhone
X-Plex-Platform : iOS
X-Plex-Sync-Version : 2
X-Plex-Token : aLk-bxxxxxxxxxxxxxxx
X-Plex-Provider-Version : 5.0.0
X-Plex-Username : X
X-Plex-Provides : client,controller,sync-target,player,pubsub-player,provider-playback
X-Plex-Version : 7.27
X-Plex-Client-Platform : iOS
X-Plex-Model : 12,3
X-Plex-Product : Plex for iOS
X-Plex-Drm : fairplay:video
X-Plex-Client-Identifier : EE970ABD-FE5E-4AF7-BA83-4AF906B71892
Accept-Language : en-GB;q=1, es-GB;q=0.9, pt-PT;q=0.8
X-Plex-Device-Screen-Resolution : 1125x2436
X-Plex-Device-Vendor : Apple
X-Plex-Platform-Version : 15.2.1
Accept : text/xml,application/xml
X-Plex-Http-Pipeline : infinite
X-Plex-Language : en [param]
X-Plex-Device-Name : Charles’s iPhone [param]
includeLoudnessRamps : 1 [param]
includeExternalMedia : 1 [param]
2022/02/04 14:21:07.699 (174 MB) (1081773)
PMKPlayQueueServerStrategy.m:622 | New play queue:
<PMKPlayQueue: 0x2831d7240>
ID: 1197
version: 1
selected item: 27486
last added: N/A
type: Audio
Up Next (0 objects):
(Empty)
Play Queue (24 objects):
<…>
2022/02/04 14:21:07.699 (174 MB) (1081773)
PMKAppEventMonitor.m:128 | [AppEventMonitor]: Play Queue Load did end 14:21:07,6990 |
This event ended before?, this shouldn’t happen:warning:
2022/02/04 14:21:07.702 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:623 | Stopping music playback
2022/02/04 14:21:07.702 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: BASS: Stop.
2022/02/04 14:21:07.702 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: PQCache: Clearing.
2022/02/04 14:21:07.702 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: BASS: Asked to remove stream with identifier 27486 with 2 existing streams (fade: 1, kickOffNext: 0).
2022/02/04 14:21:07.702 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: PQCache: Set item 27486 active to 0, 0 active remaining.
2022/02/04 14:21:07.702 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: BASS: Removed stream 27486 from position 0, there are now 1 streams.
2022/02/04 14:21:07.702 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: Cache: Asked to close file.
2022/02/04 14:21:07.735 (174 MB) (1095873)
PMKTrebleAudioPlayer.mm:84 | TREBLE: PQCache: Setting current item to 27487.
2022/02/04 14:21:07.760 (174 MB) (1095888)
PMKTrebleAudioPlayer.mm:84 | TREBLE: Cache: Ending network read thread.
2022/02/04 14:21:07.761 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: BASS: Pausing stream 27486 with fade, kill: 1
2022/02/04 14:21:07.761 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: BASS: Getting rid of stream 27487.
2022/02/04 14:21:07.761 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: BASS: Closing stream 27487.
2022/02/04 14:21:07.761 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: BASS: Deleting gapless stream 0x8000001a.
2022/02/04 14:21:07.761 (174 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: Cache: Asked to close file.
2022/02/04 14:21:07.819 (174 MB) (1095908)
PMKTrebleAudioPlayer.mm:84 | TREBLE: Cache: Ending network read thread.
2022/02/04 14:21:07.820 (173 MB) (1081773)
PMKTrebleAudioPlayer.mm:84 | TREBLE: PQCache: Set item 27487 active to 0, 0 active remaining.
2022/02/04 14:21:07.823 (173 MB) (1081773)
PMKTrebleAudioPlayer.mm:397 | Setting state from playing to stopped
2022/02/04 14:21:07.823 (173 MB) (1081773)
PMKAudioPlaybackEngine.m:360 | Audio playback engine will use the state of the audio player: stopped
2022/02/04 14:21:07.823 (173 MB) (1081773)
PMKPlaybackEngine.m:503 | <PMKAudioPlaybackEngine: 0x10ed2f940> state did change: 1
2022/02/04 14:21:07.852 (173 MB) (1081773)
PMKAudioPlaybackEngine.m:595 | Finished playing 27486, now playing (null) and currentObject is { <PMKPlayQueueMetadata:0x11ddf0020 key:/library/metadata/8144 title:Spineless type:10 isDirectory:0> }, playQueueItemID:27486
2022/02/04 14:21:07.852 (173 MB) (1081773)
PMKPlaybackEngine.m:411 | <PMKAudioPlaybackEngine: 0x10ed2f940> stopped playing { <PMKPlayQueueMetadata:0x11ddf0020 key:/library/metadata/8144 title:Spineless type:10 isDirectory:0> }, playQueueItemID:27486 with reason ‘stopped’
2022/02/04 14:21:07.853 (173 MB) (1081773)
PMKServerTimelineGenerator.m:342 | Sending server timeline for player <PMKLocalPlayer: 0x281cb06e0>[ Charles’s iPhone (EE970ABD-FE5E-4AF7-BA83-4AF906B71892) - player,embedded ] (audio) about metadata { <PMKPlayQueueMetadata:0x11ddf0020 key:/library/metadata/8144 title:Spineless type:10 isDirectory:0> }, playQueueItemID:27486: {
bufferedTime = 0;
context = “source:content.library”;
continuing = 0;
duration = 255817;
key = “/library/metadata/8144”;
location = lan;
playQueueItemID = 27486;
playbackTime = 6379;
ratingKey = 8144;
state = stopped;
time = 6430;
}
2022/02/04 14:21:07.859 (173 MB) (1081773)
PMExternalScreenManager.m:79 | Playback stopped, destroying playback window…
2022/02/04 14:21:07.862 (173 MB) (1081773)
PMKLastPlayingStateController.m:360 | Removing audio playback state
2022/02/04 14:21:07.863 (173 MB) (1081773)
PMKAppSessionManager.m:503 | Using playback metrics context: source:content.library