Jellyfin Forum
DLNA, online radio and Sonos - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: DLNA, online radio and Sonos (/t-dlna-online-radio-and-sonos)



DLNA, online radio and Sonos - *Denis - 2024-10-14

Help find a solution to my issue.
Jellyfin is installed on a Synology NAS. It allows me to send music in MP3 format to Sonos speakers via DLNA, but it doesn't send radio stations added through the suggested plugin. The added radio station works fine through the Jellyfin app on my phone and computer, but I can't send it via DLNA to Sonos.


RE: DLNA, online radio and Sonos - TheDreadPirate - 2024-10-14

AFAIK, Jellyfin does not support that via DLNA.

And what "suggested plugin" are you talking about?


RE: DLNA, online radio and Sonos - *Denis - 2024-10-15

Thank you for your response. Sorry for the inaccurate wording of my question. I was referring to the Live TV M3U plugin mentioned on the official Jellyfin website. Perhaps my search was incomplete, but I couldn’t find another plugin for online radio. If you know of one, please let me know.

If I understood you correctly, I can only use Jellyfin to stream my music collection in MP3 format to Sonos. I cannot use Jellyfin to stream online radio. Are there any other ways to use the Joifi app to send online radio URLs to Sonos?

Is there a plugin that allows Jellyfin to automatically transcode radio stations and other media formats into those compatible with DLNA when they are streamed to devices like Sonos speakers?


RE: DLNA, online radio and Sonos - TheDreadPirate - 2024-10-15

Not that I'm aware of. There is a server app called miniDLNA that might better suit your needs.


RE: DLNA, online radio and Sonos - irah - 2024-11-01

I had a similar question, not sure if it is the same thing.  I would like to cast a Live TV channel that is an Internet radio station.  By "cast" I mean send the Live TV channel to another device by clicking on the cast icon that is between the group icon and the search icon on the top right in the UI.  The device I want to cast appears when I click the cast icon.  Is it possible to cast Live TV to another device, but not Internet radio?

On Ubuntu 24.04, Jellyfin 10.10.0, I can "cast" music from my music library to a sonos, by selecting the sonos device as the output device (using the cast icon to select the device).  But when I play an Internet radio station that is configured as a Live TV channel, and then try to "cast" that to a sonos by clicking on the cast icon and selecting the device, the UI just sort of freezes and it doesn't play.   

I see this error in the jellyfin log:  

[2024-10-31 19:39:04.558 -04:00] [ERR] Error processing request. URL "POST" "/Sessions/a52f5dd1726b0b4049eb83840deeaabf/Playing".
System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
  at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
  at Jellyfin.Plugin.Dlna.PlayTo.DlnaHttpClient.SendRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken)
  at Jellyfin.Plugin.Dlna.PlayTo.DlnaHttpClient.SendCommandAsync(String baseUrl, DeviceService service, String command, String postData, String header, CancellationToken cancellationToken)
  at Jellyfin.Plugin.Dlna.PlayTo.Device.SetAvTransport(String url, String header, String metaData, CancellationToken cancellationToken)
  at Jellyfin.Plugin.Dlna.PlayTo.PlayToController2.SetPlaylistIndex(Int32 index, CancellationToken cancellationToken)
  at Jellyfin.Plugin.Dlna.PlayTo.PlayToController2.PlayItems(IEnumerable1 items, CancellationToken cancellationToken)
  at Emby.Server.Implementations.Session.SessionManager.SendMessageToSession[T](SessionInfo session, SessionMessageType name, T data, CancellationToken cancellationToken)
  at Emby.Server.Implementations.Session.SessionManager.SendPlayCommand(String controllingSessionId, String sessionId, PlayRequest command, CancellationToken cancellationToken)
  at Jellyfin.Api.Controllers.SessionController.Play(String sessionId, PlayCommand playCommand, Guid[] itemIds, Nullable
1 startPositionTicks, String mediaSourceId, Nullable1 audioStreamIndex, Nullable1 subtitleStreamIndex, Nullable1 startIndex)
  at lambda_method1288(Closure, Object)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
  at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
  at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
  at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
  at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
  at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
  at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
  at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
  at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
  at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
  at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
  at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
  at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
  at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
  at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
  at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

Please let me know if any additional information would be helpful.