From b32de7259b9b861864b602d35f5d43ec052d6ab3 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Thu, 18 Jan 2024 15:39:52 -0700 Subject: [PATCH] Jellyfin: Swap out is not Signed-off-by: Luigi311 --- src/jellyfin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jellyfin.py b/src/jellyfin.py index a7b25e4..23bdbb9 100644 --- a/src/jellyfin.py +++ b/src/jellyfin.py @@ -346,7 +346,7 @@ class Jellyfin: for episode in episodes["Items"]: if ( "MediaSources" in episode - and episode["MediaSources"] is not {} + and episode["MediaSources"] != {} ): # If watched or watched more than a minute if (