Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ce9f8a9885 | |||
| 71c4093bd9 |
@@ -221,7 +221,7 @@ if(InStr(PassedInArgument1_Filepath,ScriptName) and InStr(PassedInArgument1_File
|
|||||||
; move old version to backups folder, overwrite if name conflict
|
; move old version to backups folder, overwrite if name conflict
|
||||||
FileDelete, %PassedInArgument1_Filepath%
|
FileDelete, %PassedInArgument1_Filepath%
|
||||||
if(ErrorLevel){ ; most likely because the old version hasn't finished exiting yet
|
if(ErrorLevel){ ; most likely because the old version hasn't finished exiting yet
|
||||||
SaveOrPostProgress(Message:="Moving Old Version to Backups",PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar")
|
SaveOrPostProgress(Message:="Failed to Delete Old Program Version",PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar")
|
||||||
sleep, 2000
|
sleep, 2000
|
||||||
FileDelete, %PassedInArgument1_Filepath%
|
FileDelete, %PassedInArgument1_Filepath%
|
||||||
if(ErrorLevel){
|
if(ErrorLevel){
|
||||||
@@ -403,10 +403,10 @@ if(FileExist(VideoLinksIniFile)){
|
|||||||
; Misc Info
|
; Misc Info
|
||||||
; ------------------------------------------------
|
; ------------------------------------------------
|
||||||
IniRead, ErrorLoggingFilePath, %VideoLinksIniFile%, Misc, ErrorLoggingFilePath, %A_Space%
|
IniRead, ErrorLoggingFilePath, %VideoLinksIniFile%, Misc, ErrorLoggingFilePath, %A_Space%
|
||||||
; Double check that the file/directory exists and create if not
|
|
||||||
SplitPath, ErrorLoggingFilePath,, ErrorLogDir
|
; Double check that the file still exists on the system. if set var to blank so new file can be generated
|
||||||
if(!FileExist(ErrorLogDir)){
|
if(!FileExist(ErrorLoggingFilePath)){
|
||||||
FileCreateDir, %ErrorLogDir%
|
ErrorLoggingFilePath :=
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule Lib/Freedomain-Posters-Shared-Functions updated: 670b97d6b1...95bda715cb
@@ -23,9 +23,10 @@ if(DiscordVideosWebhookURL = ""){
|
|||||||
}
|
}
|
||||||
; https://stackoverflow.com/questions/63160401/how-to-create-hyperlink-in-discord-in-an-embed-in-general
|
; https://stackoverflow.com/questions/63160401/how-to-create-hyperlink-in-discord-in-an-embed-in-general
|
||||||
|
|
||||||
|
; clear out variables in case the button is clicked twice
|
||||||
VideoLinks :=
|
VideoLinks :=
|
||||||
|
Message :=
|
||||||
|
DiscordVideoDescription :=
|
||||||
|
|
||||||
TooltipMessage = Checking Bitchute and Brighteon URL for Processing Status
|
TooltipMessage = Checking Bitchute and Brighteon URL for Processing Status
|
||||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
||||||
@@ -75,12 +76,6 @@ VideoLinks .= "[Video Transcript](<" . PodcastTranscriptURL . ">) \| "
|
|||||||
if(PodcastNumber != "")
|
if(PodcastNumber != "")
|
||||||
VideoLinks .= "[FDRPodcasts](<" . "https://fdrpodcasts.com/" . PodcastNumber . ">) \| "
|
VideoLinks .= "[FDRPodcasts](<" . "https://fdrpodcasts.com/" . PodcastNumber . ">) \| "
|
||||||
|
|
||||||
Clipboard := VideoLinks
|
|
||||||
Msgbox % "VideoLinks: " VideoLinks
|
|
||||||
|
|
||||||
|
|
||||||
; StrLenOfDiscordMessage :=
|
|
||||||
|
|
||||||
; trim the video description if Title + Body + Links is longer than 2000 chars
|
; trim the video description if Title + Body + Links is longer than 2000 chars
|
||||||
if((StrLen(VideoTitle) + StrLen(VideoDescription) + StrLen(VideoLinks)) > 2000){
|
if((StrLen(VideoTitle) + StrLen(VideoDescription) + StrLen(VideoLinks)) > 2000){
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
[Video-Uploader]
|
[Video-Uploader]
|
||||||
Version=3.49
|
Version=3.48
|
||||||
Name=Freedomain Video Uploader
|
Name=Freedomain Video Uploader
|
||||||
APIURL=
|
|
||||||
|
|||||||
Reference in New Issue
Block a user