• 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 Schedule a pause for users or limit time to access/watch

     
    • 0 Vote(s) - 0 Average

    Schedule a pause for users or limit time to access/watch

    Schedule a pause for users or limit time to access/watch
    kuligs2
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    #9
    2024-02-13, 09:57 PM (This post was last modified: 2024-02-13, 10:00 PM by kuligs2.)
    Restarting server might work, but im not sure if it will pause the episode im currently on. so tha i can continue next day. and doing brutal shutoff is kinda.. well.. brutal.. Also i have user specific cases. Some users have schedule that they need to follow etc.

    I think ill make simple table type thing webui for internal use, where it querries all the sessions, then you pick a session by username and device name, store those two in some DB - json file, then create new entry in table to set the time you want to pause this session, send warning message 30s before it pauses "steam will pause in 30s" and 1s after it pauses "stream has been paused". Rinse and repeat. Only thing im worried about querrying the session id every day, becasue when you GET /Sessions its 10k of lines of data that gets returned. And atm i have only sentient users.. but it returns some background apps sessions too wich i dont need atm. Not sure if session id changes with each day or server reboot or whatever.. or does it stay the same with user/device. Like phone app session id will stay the same but web browser session id will constantly change on every login. IDK..
    Or maybe ill just make bash script that does the thing automagically, but then it will be a pain to edit and tweak if need be. Still not sure how to tackle this..

    But it would be cool if you could set to stop playing per episodes. like you mark an episode in playlist to be the last for today and when it ends then the playlist is paused or shut down so that the phone can go into sleep mode.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Schedule a pause for users or limit time to access/watch - by kuligs2 - 2024-02-13, 06:34 PM
    RE: Schedule a pause for users or limit time to access/watch - by tmsrxzar - 2024-02-13, 07:29 PM
    RE: Schedule a pause for users or limit time to access/watch - by TheDreadPirate - 2024-02-13, 07:52 PM
    RE: Schedule a pause for users or limit time to access/watch - by kuligs2 - 2024-02-13, 08:12 PM
    RE: Schedule a pause for users or limit time to access/watch - by tmsrxzar - 2024-02-13, 08:20 PM
    RE: Schedule a pause for users or limit time to access/watch - by TheDreadPirate - 2024-02-13, 08:25 PM
    RE: Schedule a pause for users or limit time to access/watch - by kuligs2 - 2024-02-13, 09:21 PM
    RE: Schedule a pause for users or limit time to access/watch - by tmsrxzar - 2024-02-13, 09:30 PM
    RE: Schedule a pause for users or limit time to access/watch - by kuligs2 - 2024-02-13, 09:57 PM
    RE: Schedule a pause for users or limit time to access/watch - by Betonhaus - 2024-10-30, 12:07 AM
    RE: Schedule a pause for users or limit time to access/watch - by theclap - 2024-12-28, 03:13 AM

    • 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