Casting to a upnp device skips some songs

Issue description:

When casting to a upnp device, it randomly skips some songs, mostly online songs (not cached).
When it encounters an cached song, that one plays nicely.
I have tried switching between the alternative flags, but that doesnt change anything.

Logs:

Upload description: Bobby1

Additional information:

 

 

Reproduction steps:

 

  • Select renderer
  • Try playing a random playlist
  • Only offline songs will play, while online ones will be skipped. It works fine when casting is disabled.
     

Media provider:

Jellyfin

Screenshots:

 

    

There’s only attempt to play offline cached media in the logs.

Better describe what you are doing …

I clicked on shuffle in my favorites playlist. Then it tries to play the first song, and just skips to the next. It did this 3 times until it started playing an song, and that song was offline cached.
Sometimes it gave this error: “error playing media, ensure that your player supports it”
Should i make another screen recording?

In the logs the first 3 media are played and are offline cached.

Provide logs only showing the issue and the corresponding video when playing from inside the playlist to match things.

I uploaded a new screenrecording, and made some new logs. You can see the latest song that plays is a downloaded song, and the other online songs dont play.

100% of the media played are played from the offline cache and the issue is mostly that the upnp device stop answering.

2025-10-30 12:02:47.334 Error UPnPRenderer  Error GetTransportInfo: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 33460) after 30000ms
2025-10-30 12:02:49.487 Error UPnPRenderer  Error GetTransportInfo: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 54960) after 30000ms: isConnected failed: EHOSTUNREACH (No route to host)

Why do you have the proxy enabled and the prefer offline cached option enabled ?

If i disable the proxy option, then it doesnt even play offline files.
I enabled the prefer offline option, because when its downloaded i want to save some data.
The casting to upnp is just really buggy. And its not the upnp device, because with apps like bubbleUpnp it works just fine? I have uploaded new logs

100% of the media played are played from the offline cache and the issue is mostly that the upnp device stop answering.

If you watched my screenrecording, then you can see that it tries to play online media, but it gets an error and just skips it. Let me know if the screenrecording isnt clear enough!

You really start to be a pain …

No I don’t see anything about where the media are from in the video … All I can see is what is in the logs, in the previous logs 100% of the media where offline cached …

If i disable the proxy option, then it doesnt even play offline files.

This is not possible, I guess you mean online files, because the device can’t reach the server or can’t validate the certificate.

In this last log finally there’s some media that are actually played from online via proxy. And the issue seems to be the same the renderer stop answering for a long time.

2025-10-30 12:34:12.004 Error UPnPRenderer  Error SetAVTransportURI: Read timed out
2025-10-30 12:34:12.074 Error UPnPRenderer  Error SetAVTransportURI: Read timed out
2025-10-30 12:34:12.311 Error UPnPRenderer  Error GetTransportInfo: Read timed out
2025-10-30 12:34:12.362 Error UPnPRenderer  Error GetTransportInfo: Read timed out
2025-10-30 12:34:13.205 Error UPnPRenderer  Error GetTransportInfo: Read timed out
2025-10-30 12:34:14.383 Error UPnPRenderer  Error getting position info: Read timed out
2025-10-30 12:34:16.018 Error UPnPRenderer  Error: Read timed out
2025-10-30 12:34:16.023 Error UPnPRenderer  Action not found for Play
2025-10-30 12:34:23.354 Error UPnPRenderer  Error getting position info: Read timed out
2025-10-30 12:34:23.357 Error UPnPRenderer  Error getting volume info: Read timed out
2025-10-30 12:34:23.423 Error UPnPRenderer  Error: Read timed out
2025-10-30 12:34:26.284 Error UPnPRenderer  Error: Read timed out
2025-10-30 12:34:28.672 Error UPnPRenderer  Error: Read timed out
2025-10-30 12:34:28.674 Error UPnPRenderer  Action not found for Play
2025-10-30 12:34:42.143 Error UPnPRenderer  Error: Read timed out
2025-10-30 12:34:42.145 Error UPnPRenderer  Action not found for Stop
2025-10-30 12:34:43.919 Error UPnPRenderer  Error getting position info: Read timed out
2025-10-30 12:34:44.492 Error UPnPRenderer  Error GetTransportInfo: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 40116) after 30000ms
2025-10-30 12:34:53.461 Error UPnPRenderer  Error getting mute status: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 53196) after 30000ms
2025-10-30 12:34:53.463 Error UPnPRenderer  Error GetTransportInfo: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 53190) after 30000ms
2025-10-30 12:34:53.565 Error UPnPRenderer  Error getting position info: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 53220) after 30000ms
2025-10-30 12:34:53.569 Error UPnPRenderer  Error SetAVTransportURI: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 53208) after 30000ms
2025-10-30 12:34:56.390 Error UPnPRenderer  Error getting position info: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 53236) after 30000ms
2025-10-30 12:34:56.430 Error UPnPRenderer  Error SetAVTransportURI: failed to connect to /192.168.0.187 (port 8080) from /192.168.0.107 (port 53238) after 30000ms

so the problem is my speaker?

When i use LyrionMusicServer to cast, it works just nice. No problems at all!

You are never casting from Jellyfin !!!
When you cast from 100% under control for Symfonium it works too !!!

You see I can put tons of !!! that does not change much :wink:

Your issue is a mix of network, jellyfin and the device yes. For the moment I don’t know how to understand why the device stop answering, as the logs does not seems to show any network issues.

1 Like