From 977285ada2104aa33894c173ab257f26aba19d74 Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Tue, 19 Mar 2024 20:05:37 -0600 Subject: [PATCH] Fixed type in Emby webhook as well. --- subgen/subgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgen/subgen.py b/subgen/subgen.py index 5695d85..7d5e6c0 100644 --- a/subgen/subgen.py +++ b/subgen/subgen.py @@ -294,7 +294,7 @@ def receive_emby_webhook( if((event == "library.new" and procaddedmedia) or (event == "playback.start" and procmediaonplay)): logging.debug("Path of file: " + fullpath) - titles(path_mapping(fullpath), transcribe_or_translate, True) + gen_subtitles(path_mapping(fullpath), transcribe_or_translate, True) else: return {"This doesn't appear to be a properly configured Emby webhook, please review the instructions again!"}