From f723f844677367421d06e83ae06f4421cf847377 Mon Sep 17 00:00:00 2001 From: k29t59dh <76966241+k29t59dh@users.noreply.github.com> Date: Fri, 4 Aug 2023 09:10:32 -0400 Subject: [PATCH] Updated SignalR code to work with new ORM --- bazarr/app/signalr_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazarr/app/signalr_client.py b/bazarr/app/signalr_client.py index e58bc7beb..047549174 100644 --- a/bazarr/app/signalr_client.py +++ b/bazarr/app/signalr_client.py @@ -269,8 +269,8 @@ def dispatcher(data): .where(TableShows.sonarrSeriesId == data['body']['resource']['seriesId']))\ .first() if series_metadata: - series_title = series_metadata['title'] - series_year = series_metadata['year'] + series_title = series_metadata.title + series_year = series_metadata.year episode_title = data['body']['resource']['title'] season_number = data['body']['resource']['seasonNumber'] episode_number = data['body']['resource']['episodeNumber']