WardPearce / jellyfin-session-kicker

Session kicker after X amount of watch time for Jellyfin
GNU Affero General Public License v3.0
15 stars 1 forks source link
docker jellyfin kick kicker limit limitor session time timeout watch whitelist

Session kicker for Jellyfin

This docker image allows you to kick users out of a session after X amount of time. Built with a simple HTTP server so integration into different services & scripts should be simple.

By default Session kicker will attempt to stop media with commands & stopping encoding. If stop command not support it will delete the device, you can disable this functionality with DELETE_DEVICE_IF_NO_MEDIA_CONTROLS.

or as u/llllllllillllllillll puts it

This is useful if you share your server with a bunch of knob heads who use up your monthly internet bandwidth by leaving The Simpsons playing for 12 hours straight

Documentation

Environment variables

Deployment

HTTP Server

Authorization

Add user to whitelist for Media type.

Remove user from whitelist for Media type.

Response
{
    "key": "d8C9ORsEzjSlUFJx8GMl8VClDmzcRLE_5B5B79Jz0QTtycw0EypqSw"
}