Skip to content

Commit 8baaaee

Browse files
committed
fix(jellyfin): 🚑 non-default active user login session limit
The policy being used to create a Jellyfin user was limited to 2 login session per commit 5b67ee8. The default setting when creating a user via the UI is 0 (unlimited). This resolves issue [#377](#377).
1 parent 8e87c41 commit 8baaaee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/wizarr-backend/wizarr_backend/helpers/jellyfin.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def invite_jellyfin_user(username: str, password: str, code: str, server_api_key
260260
user_response = post_jellyfin(api_path="/Users/New", json=new_user, server_api_key=server_api_key, server_url=server_url)
261261

262262
# Create policy object
263-
new_policy = { "EnableAllFolders": True, "MaxActiveSessions": 2 }
263+
new_policy = {"EnableAllFolders": True}
264264

265265
if sections:
266266
new_policy["EnableAllFolders"] = False
@@ -376,7 +376,6 @@ def sync_jellyfin_users(server_api_key: Optional[str] = None, server_url: Option
376376
info(f"User {database_user.username} successfully deleted from database.")
377377

378378

379-
380379
# ANCHOR - Jellyfin Get Profile Picture
381380
def get_jellyfin_profile_picture(user_id: str, max_height: Optional[int] = 150, max_width: Optional[int] = 150, quality: Optional[int] = 30, server_api_key: Optional[str] = None, server_url: Optional[str] = None):
382381
"""Get profile picture from Jellyfin.

0 commit comments

Comments
 (0)