• 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 How to check if Jellyfin is in-use?

     
    • 0 Vote(s) - 0 Average

    How to check if Jellyfin is in-use?

    ScottE
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #1
    2023-07-10, 11:42 PM
    I have a single GPU on my server that is used for my gaming VM, but that VM isn't always running.  What I'd like to do is make the GPU available to Jellyfin, then when the gaming VM needs to start:

    1) If Jellyfin is streaming something, don't launch the VM
    2) If Jellyfin is _not_ streaming something, relaunch the Jellyfin container w/o the nvidia runtime (aka, no GPU), then launch the VM
    3) If the Gaming VM stops, restart Jellyfin with the nvidia runtime

    What I'm missing is an API call to figure out if Jellyfin is actively streaming something, so I don't restart it and interrupt TV viewing.  The /health endpoint just reports if it's alive or not, not actively serving any media.

    How can I check that it's "in use" vs just "running"?
    « 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