• 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 General Questions Live TV DVR Post-processor command line arguments

     
    • 0 Vote(s) - 0 Average

    Live TV DVR Post-processor command line arguments

    Looking for more arguments to add after {path}
    wardo
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Australia
    #1
    2024-10-24, 01:18 AM
    I've been using the Live TV and DVR functions for a little while now and have got post-processing working for comskip. I'm quite happy with comskip! I tried transcoding, but the resulting files seem to be larger than the TS. There doesn't seem to be much point to convert to mkv and I don't have trouble with the .ts

    There are other things that could be done in the post-processing script, but they depend on setting variables to pass to the script in the Admin Dashboard

    http://jellyfin:8096/web/#/dashboard/recordings

    What variables are available to pass besides from the default "{path}"?

    I am looking to be able to pass the channel id or name to the script. This would be used to decide whether to run comskip or not. In Australia we have some stations that are commercial free.

    I've tried {channel}, {channelid}, {externalchannelid}, etc but they're empty. Can anyone point me to a list of variables that are able to pass?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-24, 01:00 PM
    AFAIK, the only variable you can pass is the path. Your post processing script could use the path to find and read the NFO for the recording and extract channel information that way.

    Regarding your re-encoded versions being larger, do you know what codec the live TV is coming in with? And what you are encoding to and what settings you are using?

    For my recordings, I just remux from TS to MP4 since my live TV channels come in as H264/AAC already.
    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]
    wardo
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Australia
    #3
    2024-10-24, 02:32 PM
    The channel info isn't in the NFO.

    I can see in the logs when the recording starts from the HD Homerun Tuner that it says External Channel is hdhr_XX where XX is the LCN. It would be easy to match the commercial free stations as they are hdhr_2 and hdhr_2?. However, the point is probably moot because comskip does such a good job of realising when there are NO commercials.

    The live channels come in a mix of h264 and mpeg2video (576p). There probably wouldn't be much use recording them due to aged content and poor video quality. I do like your suggestion of remuxing TS to MP4. I'm going to give that a go.

    Although my intitial need to pass additional arguments to the script has passed, I'm still curious if there are other vars.

    Thanks
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-24, 03:41 PM
    Looking at the recording manager code, {path} is the only server provided variable you can use. Any other variables you pass in you have to provide by other means.

    https://github.com/jellyfin/jellyfin/blo...er.cs#L802
    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