Followup your request to move this issue here https://github.com/jellyfin/jellyfin-plu...2124635987
though I still believe the bug i sin the NextPVR Jellyfin plugin, here are the data
"Unauthenticated Access" is ticked, thus why I am reporting. I still get 401.
I can tick/untick "Allow unauthenticated access for streaming Live TV / Recordings" even with a nextpvr container restart I get the same 401 error when I try to access when I attempt to play recordings.
Ie I posted on https://forums.nextpvr.com/showthread.ph...568&page=3 and followed the thread.
However, I did not understand why "Unauthenticated access" was required since it was not ticked beforehand, and as far as I remember with Jellyfin 10.8 and Jellyfin NextPVR plugin 8 I could access the recordings. I even took care that the sid=jellyfin was indeed in the URL.
I had no NextPVR server or setting change for 7 months, since the last release.
I am using a hostname as NextPVR is another host docker. Both are on the same LAN. Same setup as the reporter on https://forums.nextpvr.com/showthread.php?tid=65568 two boxes on the same LAN (but he might use IPs instead of hostnames).
Mind I am pretty confident this setup was working before the jellyfin upgrade to 10.9 (no nextpvr change) and I had "Unauthenticated Access" unticked until a few days ago when I tried the PR for jellyfin 10.9 and failed.
nextpvr docker log:
jellyfin docker logs
more of the jellyfin
logs-20240522-2346.zip (Size: 1.36 MB / Downloads: 2) log in the attached files
logs-20240522-2346.zip (Size: 1.36 MB / Downloads: 2)
though I still believe the bug i sin the NextPVR Jellyfin plugin, here are the data
"Unauthenticated Access" is ticked, thus why I am reporting. I still get 401.
I can tick/untick "Allow unauthenticated access for streaming Live TV / Recordings" even with a nextpvr container restart I get the same 401 error when I try to access when I attempt to play recordings.
Ie I posted on https://forums.nextpvr.com/showthread.ph...568&page=3 and followed the thread.
However, I did not understand why "Unauthenticated access" was required since it was not ticked beforehand, and as far as I remember with Jellyfin 10.8 and Jellyfin NextPVR plugin 8 I could access the recordings. I even took care that the sid=jellyfin was indeed in the URL.
I had no NextPVR server or setting change for 7 months, since the last release.
I am using a hostname as NextPVR is another host docker. Both are on the same LAN. Same setup as the reporter on https://forums.nextpvr.com/showthread.php?tid=65568 two boxes on the same LAN (but he might use IPs instead of hostnames).
Mind I am pretty confident this setup was working before the jellyfin upgrade to 10.9 (no nextpvr change) and I had "Unauthenticated Access" unticked until a few days ago when I tried the PR for jellyfin 10.9 and failed.
nextpvr docker log:
Code:
[20] Got request [fc00:10::95d0:9841:2f1:aaf8]: /live
[20] /live?recording=852&sid=jellyfin
[20] - recording: 852
[20] - sid: jellyfin
[20] range: bytes=0-
[20] Rejecting streaming request from remote client (fc00:10::95d0:9841:2f1:aaf8). sid not valid
[20] Got request [fc00:10::95d0:9841:2f1:aaf8]: /live
[20] /live?recording=852&sid=jellyfin
[20] - recording: 852
[20] - sid: jellyfin
[20] range: bytes=0-
[20] Rejecting streaming request from remote client (fc00:10::95d0:9841:2f1:aaf8). sid not valid
[26] Got request [fc00:10::95d0:9841:2f1:aaf8]: /live
[26] /live?recording=852&sid=jellyfin
[26] - recording: 852
[26] - sid: jellyfin
[26] range: bytes=0-
[26] Rejecting streaming request from remote client (fc00:10::95d0:9841:2f1:aaf8). sid not valid
[26] Got request [fc00:10::95d0:9841:2f1:aaf8]: /live
[26] /live?recording=852&sid=jellyfin
[26] - recording: 852
[26] - sid: jellyfin
[26] range: bytes=0-
[26] Rejecting streaming request from remote client (fc00:10::95d0:9841:2f1:aaf8). sid not valid
[20] Got request [fc00:10::95d0:9841:2f1:aaf8]: /service (recording.lastupdated)
[20] method=recording.lastupdated
[20] parameters:
[20] method: recording.lastupdated
[20] ignore_resume: true
[20] sid: cb8fdab7c85c437eb5366db130ae767f
[20] format: json
[20] client_ip: fc00:10::95d0:9841:2f1:aaf8
[20] user_agent: Jellyfin-Server/10.9.2
[20] host_callback: ...
[20] LastUpdated
[20] {"last_update":1716364703}
jellyfin docker logs
Code:
[21:35:47] [INF] [82] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i "http://argos.prahal.homelinux.net:8866/live?recording=852&sid=jellyfin" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
http://argos.prahal.homelinux.net:8866/live?recording=852&sid=jellyfin: Server returned 401 Unauthorized (authorization failed)
[21:35:47] [ERR] [82] MediaBrowser.Providers.Videos.VideoMetadataService: Error in Probe Provider
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[21:35:47] [INF] [82] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for Alban. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[21:35:47] [INF] [18] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /config/transcodes/d068cacfd77986879e86d77be6d30989.m3u8
[21:35:48] [INF] [84] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
(...)
logs-20240522-2346.zip (Size: 1.36 MB / Downloads: 2) log in the attached files
logs-20240522-2346.zip (Size: 1.36 MB / Downloads: 2)