A Jellyfin plugin that allows you to limit the number of simultaneous streams per user.
- 🎮 Limit streams per user
- 📝 Customizable messages
- 🔒 Automatic session management
- Download the latest version of the plugin from releases
- Extract the zip file to your Jellyfin server's plugins folder
- Restart your Jellyfin server
- Configure the plugin in the admin interface
- Access the Jellyfin admin interface
- Go to My extensions > Stream Limiter
- Configure limits for each user:
- Select a user
- Set maximum number of streams
- Customize limit exceeded messages
- Max Streams: Maximum number of simultaneous streams allowed per user
- Message Title: Global title of the message displayed when limit is exceeded
- Message: Global detailed text shown to users when they exceed their limit
The plugin works automatically once configured:
- User starts a stream
- Plugin checks the number of active streams
- If the limit is exceeded:
- Stream is stopped
- Custom message is displayed
- Session is forcefully disconnected to prevent abuse
The plugin exposes a REST API for programmatic management:
GET /StreamLimit/GetUserStreamLimit
POST /StreamLimit/SetUserStreamLimit
POST /StreamLimit/SetAlertMessage
Detailed API documentation is available through Swagger UI at:
http://your-server-ip/api-docs/swagger
Navigate to the "StreamLimit" section to explore all available endpoints and their parameters.
Contributions are welcome! Feel free to:
- Fork the project
- Create a feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or issues:
- Check the Issues
- Create a new issue if needed
- Join the Jellyfin community