From 1ffc327b1721ba436a858aa498ee1b88b027d6a8 Mon Sep 17 00:00:00 2001 From: Tom Niget Date: Wed, 8 Nov 2023 16:58:34 +0100 Subject: [PATCH] fix: again --- Contents/Code/plex_api_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Contents/Code/plex_api_helper.py b/Contents/Code/plex_api_helper.py index 7c3d599c..7ab36cd4 100644 --- a/Contents/Code/plex_api_helper.py +++ b/Contents/Code/plex_api_helper.py @@ -205,7 +205,7 @@ def update_plex_item(rating_key): Log.Exception('{}: Error processing youtube url: {}'.format(item.ratingKey, e)) else: if theme_url: - add_media(item=item, media_type='themes', + add_media(item=item, media_type='themes', media_url_id=yt_video_url, media_url=theme_url) @@ -242,6 +242,7 @@ def add_media(item, media_type, media_url_id, media_file=None, media_url=None): """ uploaded = False + settings_hash = general_helper.get_themerr_settings_hash() themerr_data = general_helper.get_themerr_json_data(item=item) if media_file or media_url: