Homarr Jellyfin Widget
Every 10 seconds the Homarr Jellyfin Widget authenticates via a login. Is there a way to change this? It really should only need to authenticate/login once.
I am using the Jellyfin widget for Emby which has no issues, but my activity log is seemingly a mini-DDOS of authentication requests from this widget every 10 seconds lol
![No description](https://cdn.answeroverflow.com/1192518984004800522/image.png)
Solution:Jump to solution
Hi, sadly there is not - at least yet.
Homarr is using Next.js in the backend which is running synchronously.
This means that we must do the following each time a widget is refreshing:
- Establishing the connection to Jellyfin
- Retrieving the data...
6 Replies
Solution
Hi, sadly there is not - at least yet.
Homarr is using Next.js in the backend which is running synchronously.
This means that we must do the following each time a widget is refreshing:
- Establishing the connection to Jellyfin
- Retrieving the data
- Destroying the session
This is what you're seeing in the log.
Gotcha, thank you for the info 🙂 at first I thought maybe it was the ping being enabled, but when I disabled it and it continued I knew it was something different
@IndigoViking in theory we could store that session in the database to prevent this but it might be janky / not work at all
I am open to ideas and don't mind testing, I had to stop using the widget for now. Initially I was going to just deal with it but I use Homarr everyday all day and that's throwing 8600+ individual authentication requests per 24 hours lol
Honestly I think this is on Jellyfins / Embys end to change since they don't provide any sort of filtering or settings for the activity log at all. Even without this authentification message my logs get cluttered up a lot and there is no way of finetuning them.
We do have plans for avoiding the breakdown of sessions. But I am unable to give you any estimate or details