From c19996e93480f837733c710b2dbcd36ac5f6aadc Mon Sep 17 00:00:00 2001 From: "Aaron L. Zeng" Date: Tue, 1 Jun 2021 23:40:24 -0400 Subject: [PATCH] Fix incorrect field in log message --- Contents/Code/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contents/Code/__init__.py b/Contents/Code/__init__.py index 666627c..7104e3f 100755 --- a/Contents/Code/__init__.py +++ b/Contents/Code/__init__.py @@ -443,7 +443,7 @@ def Update(metadata, media, lang, force, movie): except: json_video_details = None if json_video_details: Log.Info('Attempting to read metadata from {}'.format(os.path.join(root, json_filename))) - videoId = Dict(json_video_details, 'title') + videoId = Dict(json_video_details, 'id') Log.Info('# videoId [{}] not in Playlist/channel item list so loading json_video_details'.format(videoId)) Log.Info('[?] link: "https://www.youtube.com/watch?v={}"'.format(videoId)) thumb, picture = img_load(series_root_folder, filename) #Load locally