Open Crudelis98 opened 2 weeks ago
Hi, it seems like your issue report has the following item(s) that need to be addressed:
This is an automated message, currently under testing. Please file an issue here if you encounter any problems.
Will enable "auto-loop livestreams" make it work for you?
No, I tried it as it was my guess also. It completely breaks my proxy for live TV and chunks are 3x 10 sec, so half a minute. It worked without it in jelly 10.8.X. This option helps with my other stream (not for live TV) that chunks are 2.048 sec each.
Im having the same issue, Live TV M3U Streams are now broken and HRHomeRun streams via Live TV are spotty and unreliable at best on Jellyfin 10.9.1. Getting a "Playback failed due to a server error." when played.
Can confirm this too. M3U Streams are all broken since 10.9.1.
@Crudelis98 Please give me the result of this Powershell command
(Invoke-WebRequest http://192.168.1.232:6666/1 -Method Head).Headers
Key Value
Content-disposition attachment; filename=playlist.m3u8 Connection close Content-Length 1152 Content-Type text/plain; charset=utf-8 Date Fri, 17 May 2024 15:02:54 GMT Server Werkzeug/3.0.0 Python/3.12.0
Key Value
Content-disposition attachment; filename=playlist.m3u8 Connection close Content-Length 1152 Content-Type text/plain; charset=utf-8 Date Fri, 17 May 2024 15:02:54 GMT Server Werkzeug/3.0.0 Python/3.12.0
There's something that doesn't add up here. Do you have the logs from 10.8?
No sorry, I would prefer not to make full reinstall. I guess I cant roll back?
Unfortunately not.
We added some mimetype checking in 10.9, but for text/plain it should behave the same as 10.8. Are you sure this specific channel worked in 10.8?
All of them worked. They still work in VLC and all other ffmpeg based apps.
I unfortunately do not have an m3u playlist that triggers this, so without the logs from 10.8 or a legally free playlist I can't do more atm.
Its ok (for me), I wrote the plugin that somehow works unlike m3u tunner. Thank you for help! Maybe others will provide free m3u for testing. I cannot as it contains tokens, the same that can be used for purchasing the movies on my behalf.
I unfortunately do not have an m3u playlist that triggers this, so without the logs from 10.8 or a legally free playlist I can't do more atm.
There's always the free Big Buck Bunny for testing I guess? https://archive.org/details/Big_Buck_Bunny-13302 - has an m3u link, but unsure if that's in the correct format required.
I can confirm that compiled project after the merge, restores live TV functionality.
EnableAudioPlaybackTranscoding: True
[2024-05-20 00:41:54.586 +00:00] [INF] [37] Jellyfin.LiveTv.LiveTvMediaSourceProvider: Opening channel stream from "Emby", external channel Id: "m3u_495ace455e0c4db7311a97a512ad23e9ccda74dd42585883e68b9a832c78e24c"
[2024-05-20 00:41:54.586 +00:00] [INF] [37] Jellyfin.LiveTv.DefaultLiveTvService: Streaming Channel "m3u_495ace455e0c4db7311a97a512ad23e9ccda74dd42585883e68b9a832c78e24c"
[2024-05-20 00:41:54.672 +00:00] [INF] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Opening "SharedHttpStream" Live stream from "URL REMOVED FOR SAFETY"
[2024-05-20 00:41:54.730 +00:00] [INF] [10] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Beginning "SharedHttpStream" stream to "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts"
[2024-05-20 00:41:54.730 +00:00] [INF] [10] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Deleting temp file "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts"
[2024-05-20 00:41:54.730 +00:00] [WRN] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Zero bytes copied from stream "SharedHttpStream" to "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts" but no exception raised
[2024-05-20 00:41:54.731 +00:00] [ERR] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Error opening tuner
System.IO.EndOfStreamException: Zero bytes copied from stream SharedHttpStream
at Jellyfin.LiveTv.TunerHosts.SharedHttpStream.Open(CancellationToken openCancellationToken)
at Jellyfin.LiveTv.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, IList1 currentLiveStreams, CancellationToken cancellationToken) [2024-05-20 00:41:54.734 +00:00] [ERR] [37] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Items/fc466b3f04640409744608c32d95dace/PlaybackInfo". MediaBrowser.Controller.LiveTv.LiveTvConflictException: Exception of type 'MediaBrowser.Controller.LiveTv.LiveTvConflictException' was thrown. at Jellyfin.LiveTv.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, IList
1 currentLiveStreams, CancellationToken cancellationToken)
at Jellyfin.LiveTv.DefaultLiveTvService.GetChannelStreamWithDirectStreamProvider(String channelId, String streamId, List1 currentLiveStreams, CancellationToken cancellationToken) at Jellyfin.LiveTv.LiveTvMediaSourceProvider.GetChannelStream(String id, String mediaSourceId, List
1 currentLiveStreams, CancellationToken cancellationToken)
at Jellyfin.LiveTv.LiveTvMediaSourceProvider.OpenMediaSource(String openToken, List1 currentLiveStreams, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken) at Jellyfin.Api.Helpers.MediaInfoHelper.OpenMediaSource(HttpContext httpContext, LiveStreamRequest request) at Jellyfin.Api.Controllers.MediaInfoController.GetPostedPlaybackInfo(Guid itemId, Nullable
1 userId, Nullable1 maxStreamingBitrate, Nullable
1 startTimeTicks, Nullable1 audioStreamIndex, Nullable
1 subtitleStreamIndex, Nullable1 maxAudioChannels, String mediaSourceId, String liveStreamId, Nullable
1 autoOpenLiveStream, Nullable1 enableDirectPlay, Nullable
1 enableDirectStream, Nullable1 enableTranscoding, Nullable
1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, PlaybackInfoDto playbackInfoDto) at lambda_method1391(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.
@junobomb Can you do a HEAD request to your channel URL and give me the result? You can use curl curl -I <channel url>
Hi everyone, I don't know why this issue is closed but I have the same issue on 10.9.2 with m3u not working for LiveTV anymore (everything was ok on 10.8). Thanks for your help on this :)
UPDATE: reinstalled Jellyfin from scratch; m3u LIVE TV works again
UPDATE2: removing and re-entering the m3u source for Live TV broke it again :-(, with the same error, Error opening tuner.
UPDATE3: i found that after enabling 'repeat livestreams automatically' iptv playback resumed working for me
Same here. Cannot get my LiveTV via m3u file working again after update from 10.8.13 to 10.9.2, channels play fine in VLC and other players.
[2024-05-20 10:40:05.026 +00:00] [INF] [6] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Pieter". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-20 10:40:05.188 +00:00] [INF] [6] Jellyfin.LiveTv.LiveTvMediaSourceProvider: Opening channel stream from "Emby", external channel Id: "m3u_96da98fee9f24869b1e7b6971628db0c7221f38b8d0a8092fa6f8a9132a9f984" [2024-05-20 10:40:05.192 +00:00] [INF] [6] Jellyfin.LiveTv.DefaultLiveTvService: Streaming Channel "m3u_96da98fee9f24869b1e7b6971628db0c7221f38b8d0a8092fa6f8a9132a9f984" [2024-05-20 10:40:05.326 +00:00] [ERR] [6] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Error opening tuner System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException (104): Connection reset by peer --- End of inner exception stack trace ---
Just updated to 10.9.2 and still cannot play m3u playlists on live tv as before and now HDHomeRun based channels have audio way out of sync.
Not sure if I should submit a separate case or not, but see my ffmpeg log below.
EnableAudioPlaybackTranscoding: True [2024-05-20 00:41:54.586 +00:00] [INF] [37] Jellyfin.LiveTv.LiveTvMediaSourceProvider: Opening channel stream from "Emby", external channel Id: "m3u_495ace455e0c4db7311a97a512ad23e9ccda74dd42585883e68b9a832c78e24c" [2024-05-20 00:41:54.586 +00:00] [INF] [37] Jellyfin.LiveTv.DefaultLiveTvService: Streaming Channel "m3u_495ace455e0c4db7311a97a512ad23e9ccda74dd42585883e68b9a832c78e24c" [2024-05-20 00:41:54.672 +00:00] [INF] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Opening "SharedHttpStream" Live stream from "~URL REMOVED FOR SAFETY~" [2024-05-20 00:41:54.730 +00:00] [INF] [10] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Beginning "SharedHttpStream" stream to "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts" [2024-05-20 00:41:54.730 +00:00] [INF] [10] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Deleting temp file "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts" [2024-05-20 00:41:54.730 +00:00] [WRN] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Zero bytes copied from stream "SharedHttpStream" to "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts" but no exception raised [2024-05-20 00:41:54.731 +00:00] [ERR] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Error opening tuner System.IO.EndOfStreamException: Zero bytes copied from stream SharedHttpStream at Jellyfin.LiveTv.TunerHosts.SharedHttpStream.Open(CancellationToken openCancellationToken) at Jellyfin.LiveTv.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, IList
1 currentLiveStreams, CancellationToken cancellationToken) [2024-05-20 00:41:54.734 +00:00] [ERR] [37] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Items/fc466b3f04640409744608c32d95dace/PlaybackInfo". MediaBrowser.Controller.LiveTv.LiveTvConflictException: Exception of type 'MediaBrowser.Controller.LiveTv.LiveTvConflictException' was thrown. at Jellyfin.LiveTv.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, IList
1 currentLiveStreams, CancellationToken cancellationToken) at Jellyfin.LiveTv.DefaultLiveTvService.GetChannelStreamWithDirectStreamProvider(String channelId, String streamId, List1 currentLiveStreams, CancellationToken cancellationToken) at Jellyfin.LiveTv.LiveTvMediaSourceProvider.GetChannelStream(String id, String mediaSourceId, List
1 currentLiveStreams, CancellationToken cancellationToken) at Jellyfin.LiveTv.LiveTvMediaSourceProvider.OpenMediaSource(String openToken, List1 currentLiveStreams, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken) at Jellyfin.Api.Helpers.MediaInfoHelper.OpenMediaSource(HttpContext httpContext, LiveStreamRequest request) at Jellyfin.Api.Controllers.MediaInfoController.GetPostedPlaybackInfo(Guid itemId, Nullable
1 userId, Nullable1 maxStreamingBitrate, Nullable
1 startTimeTicks, Nullable1 audioStreamIndex, Nullable
1 subtitleStreamIndex, Nullable1 maxAudioChannels, String mediaSourceId, String liveStreamId, Nullable
1 autoOpenLiveStream, Nullable1 enableDirectPlay, Nullable
1 enableDirectStream, Nullable1 enableTranscoding, Nullable
1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, PlaybackInfoDto playbackInfoDto) at lambda_method1391(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.gAwaited|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.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|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.gAwaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|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)
Is the live TV working for you now? Can I close it?
i can play m3u live TV again as long as i tick 'repeat livestreams automatically' in the m3u source setup. This issue may be closed as far as i'm concerned.
Same here! Enabling 'repeat livestreams automatically' under the m3u settings fixed the issue.
Just updated to 10.9.2 and still cannot play m3u playlists on live tv as before and now HDHomeRun based channels have audio way out of sync.
Not sure if I should submit a separate case or not, but see my ffmpeg log below.
EnableAudioPlaybackTranscoding: True [2024-05-20 00:41:54.586 +00:00] [INF] [37] Jellyfin.LiveTv.LiveTvMediaSourceProvider: Opening channel stream from "Emby", external channel Id: "m3u_495ace455e0c4db7311a97a512ad23e9ccda74dd42585883e68b9a832c78e24c" [2024-05-20 00:41:54.586 +00:00] [INF] [37] Jellyfin.LiveTv.DefaultLiveTvService: Streaming Channel "m3u_495ace455e0c4db7311a97a512ad23e9ccda74dd42585883e68b9a832c78e24c" [2024-05-20 00:41:54.672 +00:00] [INF] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Opening "SharedHttpStream" Live stream from "~URL REMOVED FOR SAFETY~" [2024-05-20 00:41:54.730 +00:00] [INF] [10] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Beginning "SharedHttpStream" stream to "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts" [2024-05-20 00:41:54.730 +00:00] [INF] [10] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Deleting temp file "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts" [2024-05-20 00:41:54.730 +00:00] [WRN] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Zero bytes copied from stream "SharedHttpStream" to "/config/transcodes/02bbaac31ccb4abe88c86069d689d5d5.ts" but no exception raised [2024-05-20 00:41:54.731 +00:00] [ERR] [37] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Error opening tuner System.IO.EndOfStreamException: Zero bytes copied from stream SharedHttpStream at Jellyfin.LiveTv.TunerHosts.SharedHttpStream.Open(CancellationToken openCancellationToken) at Jellyfin.LiveTv.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, IList
1 currentLiveStreams, CancellationToken cancellationToken) [2024-05-20 00:41:54.734 +00:00] [ERR] [37] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Items/fc466b3f04640409744608c32d95dace/PlaybackInfo". MediaBrowser.Controller.LiveTv.LiveTvConflictException: Exception of type 'MediaBrowser.Controller.LiveTv.LiveTvConflictException' was thrown. at Jellyfin.LiveTv.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, IList
1 currentLiveStreams, CancellationToken cancellationToken) at Jellyfin.LiveTv.DefaultLiveTvService.GetChannelStreamWithDirectStreamProvider(String channelId, String streamId, List1 currentLiveStreams, CancellationToken cancellationToken) at Jellyfin.LiveTv.LiveTvMediaSourceProvider.GetChannelStream(String id, String mediaSourceId, List
1 currentLiveStreams, CancellationToken cancellationToken) at Jellyfin.LiveTv.LiveTvMediaSourceProvider.OpenMediaSource(String openToken, List1 currentLiveStreams, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken) at Jellyfin.Api.Helpers.MediaInfoHelper.OpenMediaSource(HttpContext httpContext, LiveStreamRequest request) at Jellyfin.Api.Controllers.MediaInfoController.GetPostedPlaybackInfo(Guid itemId, Nullable
1 userId, Nullable1 maxStreamingBitrate, Nullable
1 startTimeTicks, Nullable1 audioStreamIndex, Nullable
1 subtitleStreamIndex, Nullable1 maxAudioChannels, String mediaSourceId, String liveStreamId, Nullable
1 autoOpenLiveStream, Nullable1 enableDirectPlay, Nullable
1 enableDirectStream, Nullable1 enableTranscoding, Nullable
1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, PlaybackInfoDto playbackInfoDto) at lambda_method1391(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.gAwaited|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.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|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.gAwaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|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)Is the live TV working for you now? Can I close it?
Apologies, yes enabling 'repeat livestreams automatically' under the m3u settings worked and can now view streams
UPDATE: reinstalled Jellyfin from scratch; m3u LIVE TV works again
UPDATE2: removing and re-entering the m3u source for Live TV broke it again :-(, with the same error, Error opening tuner.
UPDATE3: i found that after enabling 'repeat livestreams automatically' iptv playback resumed working for me
Same here. Cannot get my LiveTV via m3u file working again after update from 10.8.13 to 10.9.2, channels play fine in VLC and other players.
[2024-05-20 10:40:05.026 +00:00] [INF] [6] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Pieter". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-20 10:40:05.188 +00:00] [INF] [6] Jellyfin.LiveTv.LiveTvMediaSourceProvider: Opening channel stream from "Emby", external channel Id: "m3u_96da98fee9f24869b1e7b6971628db0c7221f38b8d0a8092fa6f8a9132a9f984" [2024-05-20 10:40:05.192 +00:00] [INF] [6] Jellyfin.LiveTv.DefaultLiveTvService: Streaming Channel "m3u_96da98fee9f24869b1e7b6971628db0c7221f38b8d0a8092fa6f8a9132a9f984" [2024-05-20 10:40:05.326 +00:00] [ERR] [6] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Error opening tuner System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException (104): Connection reset by peer --- End of inner exception stack trace ---
Thanks a lot for the updates. I was facing the "Connection reset by peer." error too, and enabling "Auto-loop live streams" worked for me :
Please describe your bug
I have m3u file with following content:
EXTM3U TV
EXTINF:-1,CH1
http://192.168.1.232:6666/1
EXTINF:-1,CH2
http://192.168.1.232:6666/2
...... After updating to 10.9.1 or 10.9.0, live TV is not working any more.
Reproduction Steps
Jellyfin Version
10.9.0
if other:
10.9.1
Environment
Jellyfin logs
FFmpeg logs
Please attach any browser or client logs here
No response
Please attach any screenshots here
Code of Conduct