H
Homarr•6mo ago
IndigoViking

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
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...
Jump to solution
6 Replies
Solution
Manicraft1001
Manicraft1001•6mo ago
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.
IndigoViking
IndigoViking•6mo ago
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
ajnart
ajnart•6mo ago
@IndigoViking in theory we could store that session in the database to prevent this but it might be janky / not work at all
IndigoViking
IndigoViking•6mo ago
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
Bims0n
Bims0n•6mo ago
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.
Manicraft1001
Manicraft1001•6mo ago
We do have plans for avoiding the breakdown of sessions. But I am unable to give you any estimate or details