2025-03-21, 10:16 AM
(This post was last modified: 2025-03-21, 10:17 AM by man0war. Edited 1 time in total.)
Hi all,
Having an issue where I can watch programs without issue, but I can't record anything as it is not including my custom user agent in the ffmpeg command and therefore getting 403 access denied. I am running jellyfin in a docker container and currently using version 10.10.6.
When I watch a normal channel via Live TV, this is the ffmpeg command:
/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 3000000 -probesize 1G -user_agent \""CUSTOM_USER_AGENT\" -fflags +igndts+genpts -i \"<URL>\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 copy -start_at_zero -flags -global_header -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/9c0f439d5612ef5b79bb4f35689b45a7/\" -hls_segment_filename \"/cache/transcodes/9c0f439d5612ef5b79bb4f35689b45a7%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/cache/transcodes/9c0f439d5612ef5b79bb4f35689b45a7.m3u8\""
But when creating a new recording, this is the ffmpeg command lacking the user agent:
/usr/lib/jellyfin-ffmpeg/ffmpeg -async 1 -fflags +igndts -analyzeduration 5000000 -i "<URL>" -codec:v:0 copy -fflags +genpts -map_metadata -1 -threads 0 -codec:a:0 copy -sn -y "/config/data/livetv/recordings/Guessable/Guessable 2025_03_21_09_00_00.ts"
Is there anything I can do to fix this? Thanks in advance.
Having an issue where I can watch programs without issue, but I can't record anything as it is not including my custom user agent in the ffmpeg command and therefore getting 403 access denied. I am running jellyfin in a docker container and currently using version 10.10.6.
When I watch a normal channel via Live TV, this is the ffmpeg command:
/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 3000000 -probesize 1G -user_agent \""CUSTOM_USER_AGENT\" -fflags +igndts+genpts -i \"<URL>\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 copy -start_at_zero -flags -global_header -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/9c0f439d5612ef5b79bb4f35689b45a7/\" -hls_segment_filename \"/cache/transcodes/9c0f439d5612ef5b79bb4f35689b45a7%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/cache/transcodes/9c0f439d5612ef5b79bb4f35689b45a7.m3u8\""
But when creating a new recording, this is the ffmpeg command lacking the user agent:
/usr/lib/jellyfin-ffmpeg/ffmpeg -async 1 -fflags +igndts -analyzeduration 5000000 -i "<URL>" -codec:v:0 copy -fflags +genpts -map_metadata -1 -threads 0 -codec:a:0 copy -sn -y "/config/data/livetv/recordings/Guessable/Guessable 2025_03_21_09_00_00.ts"
Is there anything I can do to fix this? Thanks in advance.