Yesterday, 06:09 PM
Hi everyone, I’m trying to watch IPTV on Jellyfin using Threadfin and an M3U playlist.
Channels work fine at first.
After a few minutes, the channels close on their own.
I’ve tried using FFmpeg as buffer, automatic M3U refresh, but the problem still happens.
Has anyone experienced this or found a reliable way to keep channels running on Jellyfin using Threadfin?
This is the error on the jellyfin logs:
and this
[2025-09-12 14:56:51.858 -03:00] [INF] [41] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.18.11" playing "MEGAPIX FHD". Stopped at "608000" ms
[2025-09-12 14:56:51.866 -03:00] [INF] [41] Emby.Server.Implementations.Library.MediaSourceManager: Live stream "acea4c3637c630a81fb8e282535b9a16" consumer count is now 0
[2025-09-12 14:56:51.869 -03:00] [INF] [41] Emby.Server.Implementations.Library.MediaSourceManager: Closing live stream "e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_acea4c3637c630a81fb8e282535b9a16"
[2025-09-12 14:56:51.874 -03:00] [INF] [41] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Closing "LiveStream"
[2025-09-12 14:56:51.876 -03:00] [INF] [41] Emby.Server.Implementations.Library.MediaSourceManager: Live stream "e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_acea4c3637c630a81fb8e282535b9a16" closed successfully
[2025-09-12 14:56:51.883 -03:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "8fa42864af4b74b47039aeba9f476a5c81d705f4-92af15e8742d4538b13cbfda5db1fdd5-1657f544976607f3c6a07dced649bf7f"
[2025-09-12 14:56:51.887 -03:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 09/12/2025 14:56:51
[2025-09-12 14:56:51.890 -03:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Saving playback tracking activity in DB
[2025-09-12 14:57:18.236 -03:00] [INF] [46] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
Notes: I'm using jellyfin in my windows computer, and to be able to access my jellyfin server anywhere, I connected to the Cloudflare Tunnel Zero Trust. I also tested the m3u playlist on vlc and other IPTV Players it's work fine.
Channels work fine at first.
After a few minutes, the channels close on their own.
I’ve tried using FFmpeg as buffer, automatic M3U refresh, but the problem still happens.
Has anyone experienced this or found a reliable way to keep channels running on Jellyfin using Threadfin?
This is the error on the jellyfin logs:
Code:
[hls @ 00000234dc8ff800] Opening 'C:\ProgramData\Jellyfin\Server\cache\transcodes\55b96b88e47fcbdafc2aad849cb3aeea1625.ts' for writing
[hls @ 00000234dc8ff800] Opening 'C:\ProgramData\Jellyfin\Server\cache\transcodes\55b96b88e47fcbdafc2aad849cb3aeea.m3u8.tmp' for writing
[http @ 00000234dc8cf780] Stream ends prematurely at 4360105628, should be 18446744073709551615
[in#0/mpegts @ 00000234dc8cd2c0] Error during demuxing: I/O error
[hls @ 00000234dc8ff800] Opening 'C:\ProgramData\Jellyfin\Server\cache\transcodes\55b96b88e47fcbdafc2aad849cb3aeea1626.ts' for writing
[hls @ 00000234dc8ff800] Opening 'C:\ProgramData\Jellyfin\Server\cache\transcodes\55b96b88e47fcbdafc2aad849cb3aeea.m3u8.tmp' for writing
[out#0/hls @ 00000234dc8e3c80] video:3854579KiB audio:76160KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
size=N/A time=01:21:12.86 bitrate=N/A speed=1.01x
and this
[2025-09-12 14:56:51.858 -03:00] [INF] [41] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.18.11" playing "MEGAPIX FHD". Stopped at "608000" ms
[2025-09-12 14:56:51.866 -03:00] [INF] [41] Emby.Server.Implementations.Library.MediaSourceManager: Live stream "acea4c3637c630a81fb8e282535b9a16" consumer count is now 0
[2025-09-12 14:56:51.869 -03:00] [INF] [41] Emby.Server.Implementations.Library.MediaSourceManager: Closing live stream "e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_acea4c3637c630a81fb8e282535b9a16"
[2025-09-12 14:56:51.874 -03:00] [INF] [41] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Closing "LiveStream"
[2025-09-12 14:56:51.876 -03:00] [INF] [41] Emby.Server.Implementations.Library.MediaSourceManager: Live stream "e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_acea4c3637c630a81fb8e282535b9a16" closed successfully
[2025-09-12 14:56:51.883 -03:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "8fa42864af4b74b47039aeba9f476a5c81d705f4-92af15e8742d4538b13cbfda5db1fdd5-1657f544976607f3c6a07dced649bf7f"
[2025-09-12 14:56:51.887 -03:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 09/12/2025 14:56:51
[2025-09-12 14:56:51.890 -03:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Saving playback tracking activity in DB
[2025-09-12 14:57:18.236 -03:00] [INF] [46] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
Notes: I'm using jellyfin in my windows computer, and to be able to access my jellyfin server anywhere, I connected to the Cloudflare Tunnel Zero Trust. I also tested the m3u playlist on vlc and other IPTV Players it's work fine.