• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting DVR Not using custom user agent

     
    • 0 Vote(s) - 0 Average

    DVR Not using custom user agent

    man0war
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United Kingdom
    #1
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-03-21, 12:31 PM
    I'm going to assume this is not an intended behavior.

    Please submit a github issue.

    https://github.com/jellyfin/jellyfin/issues
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode