fixed thumbnail not being found if it's file name changes between runs
This commit is contained in:
@@ -403,14 +403,14 @@ if(FileExist(VideoLinksIniFile)){
|
|||||||
|
|
||||||
; MISC
|
; MISC
|
||||||
IniRead, ErrorLoggingFilePath, %VideoLinksIniFile%, Misc, ErrorLoggingFilePath, %A_Space%
|
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
|
VideoThumbFilepath := TempVideoThumbFilepath
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if(VideoFileSizeInMB < 50){
|
|
||||||
IniRead, Telegram, %VideoLinksIniFile%, Misc, Telegram, %A_Space%
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user