From e67d0bea8323019f2a652b9e7a2b7f9e446b4704 Mon Sep 17 00:00:00 2001 From: jeffser Date: Wed, 16 Oct 2024 23:19:34 -0600 Subject: [PATCH] Fix youtube integration --- src/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.py b/src/window.py index 3b7af66..db2f935 100644 --- a/src/window.py +++ b/src/window.py @@ -769,7 +769,7 @@ Generate a title following these rules: dialog_widget.simple_dropdown( _('Attach YouTube Video?'), _('{}\n\nPlease select a transcript to include').format(yt.streams[0].title), - lambda caption_name, yt=yt, video_url=text: generic_actions.attach_youtube(yt.streams[0].title, yt.author, yt.watch_url, video_url, yt.video_id, caption_name), + lambda caption_name, yt=yt, video_url=text: generic_actions.attach_youtube(yt.title, yt.author, yt.watch_url, video_url, yt.video_id, caption_name), transcriptions ) except Exception as e: