|
|
|
@ -216,7 +216,8 @@ if(InStr(ErrorLoggingDirectory,ScriptName) and InStr(ErrorLoggingDirectory,".exe
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){ ; if argument was passed in, read contents from that directory
|
|
|
|
|
; if argument was passed in, read contents from that directory and grab video info for social media post
|
|
|
|
|
if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){
|
|
|
|
|
; SaveOrPostProgress(Message:="Starting Up: Reading Information from Files",PostType:="Tooltip")
|
|
|
|
|
|
|
|
|
|
SkipUpdateCheckThisRun := 1
|
|
|
|
@ -251,19 +252,25 @@ if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){
|
|
|
|
|
; Read video links from video links file
|
|
|
|
|
IniRead, BitChuteURL, %ErrorLoggingDirectory%,URLs, BitChuteURL, %A_Space%
|
|
|
|
|
IniRead, RumbleURL, %ErrorLoggingDirectory%,URLs, RumbleURL, %A_Space%
|
|
|
|
|
IniRead, StreamanityURL, %ErrorLoggingDirectory%,URLs, StreamanityURL, %A_Space%
|
|
|
|
|
; IniRead, BitChuteURL, %ErrorLoggingDirectory%,URLs, BitChuteURL, %A_Space%
|
|
|
|
|
IniRead, BrighteonURL, %ErrorLoggingDirectory%,URLs, BrighteonURL, %A_Space%
|
|
|
|
|
IniRead, BitChuteURL, %ErrorLoggingDirectory%,URLs, BitChuteURL, %A_Space%
|
|
|
|
|
IniRead, PodcastNumber, %ErrorLoggingDirectory%,Misc, PodcastNumber, %A_Space%
|
|
|
|
|
|
|
|
|
|
if(BitChuteURL = ""){
|
|
|
|
|
if(RumbleURL != "")
|
|
|
|
|
VideoURL := RumbleURL
|
|
|
|
|
else,
|
|
|
|
|
VideoURL := StreamanityURL
|
|
|
|
|
VideoURL := BrighteonURL
|
|
|
|
|
}
|
|
|
|
|
else,
|
|
|
|
|
VideoURL := BitChuteURL
|
|
|
|
|
|
|
|
|
|
if(PodcastNumber != ""){
|
|
|
|
|
PodcastURL := https://fdrpodcasts.com/%PodcastNumber% . "`n"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
; Append bitchute url to bottom of description
|
|
|
|
|
PostBody := PostBody . "`n`n" . VideoURL
|
|
|
|
|
PostBody := PostBody . "`n`n" . PodcastURL . VideoURL
|
|
|
|
|
|
|
|
|
|
; Msgbox % "PostTitle: " PostTitle
|
|
|
|
|
; Msgbox % "PostBody: " PostBody
|
|
|
|
|