From 4ce82bde6a72584e53bb29bed2f7b35ef4b186b5 Mon Sep 17 00:00:00 2001 From: yuriy Date: Sat, 22 Jun 2024 15:28:09 -0400 Subject: [PATCH] fixed thumbnail not being found if it's file name changes between runs --- Freedomain Video Uploader.ahk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Freedomain Video Uploader.ahk b/Freedomain Video Uploader.ahk index 43ee5b7..963b797 100644 --- a/Freedomain Video Uploader.ahk +++ b/Freedomain Video Uploader.ahk @@ -403,14 +403,14 @@ if(FileExist(VideoLinksIniFile)){ ; MISC IniRead, ErrorLoggingFilePath, %VideoLinksIniFile%, Misc, ErrorLoggingFilePath, %A_Space% - IniRead, TempVideoThumbFilepath, %VideoLinksIniFile%, Misc, VideoThumbFilepath, %A_Space% - if(TempVideoThumbFilepath){ ; if Video Thumbnail was saved in last run, overwrite variable path that was grabbed in the file loop above + + ; I don't remember why I added this, commenting this out on 2024/06/22 for now + ; IniRead, TempVideoThumbFilepath, %VideoLinksIniFile%, Misc, VideoThumbFilepath, %A_Space% +/* if(TempVideoThumbFilepath){ ; if Video Thumbnail was saved in last run, overwrite variable path that was grabbed in the file loop above VideoThumbFilepath := TempVideoThumbFilepath } +*/ - if(VideoFileSizeInMB < 50){ - IniRead, Telegram, %VideoLinksIniFile%, Misc, Telegram, %A_Space% - } }