• 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 Development Server Development Testing API Additions

     
    • 0 Vote(s) - 0 Average

    Testing API Additions

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-03-10, 12:46 PM
    IMO, it would probably be better to do this kind of check fully on the client rather than the server. As you've realized, there is no server side tracking of a user's "idleness". To even support this feature there would need to be some sort of client side support for the feature anyway and the client is perfectly placed to determine when the last user input was. Doing the idleness tracking fully on the client also avoids the need for API changes.

    But there should be a server side setting that enforces this on the clients if the intent is to avoid unnecessary usage. Making it an optional client side setting defeats the intent of this kind of feature.
    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)


    Messages In This Thread
    Testing API Additions - by Dzvon2 - 2025-03-10, 01:50 AM
    RE: Testing API Additions - by TheDreadPirate - 2025-03-10, 12:46 PM
    RE: Testing API Additions - by Dzvon2 - 2025-03-10, 02:19 PM
    RE: Testing API Additions - by TheDreadPirate - 2025-03-10, 02:59 PM

    • 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