• 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

    Dzvon2
    Offline

    Junior Member

    Posts: 20
    Threads: 8
    Joined: 2024 Apr
    Reputation: 0
    #3
    2025-03-10, 02:19 PM (This post was last modified: 2025-03-10, 02:21 PM by Dzvon2. Edited 1 time in total.)
    (2025-03-10, 12:46 PM)TheDreadPirate Wrote: 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.

    You know it's really funny you say that because originally, I did this client side, put up a PR for the android tv repo and was told it would get rejected because I should be doing the logic check for idleness server side and the client consumed the server side changes. Each client still will need to have their own screen implementation so I wasn't really sure how much of a benefit doing just the logic check server side was going to do. And by server-side setting, do you mean whether this screen would appear or not?
    « 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