added podcast URL if post is podcast
This commit is contained in:
@@ -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")
|
; SaveOrPostProgress(Message:="Starting Up: Reading Information from Files",PostType:="Tooltip")
|
||||||
|
|
||||||
SkipUpdateCheckThisRun := 1
|
SkipUpdateCheckThisRun := 1
|
||||||
@@ -251,19 +252,25 @@ if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){
|
|||||||
; Read video links from video links file
|
; Read video links from video links file
|
||||||
IniRead, BitChuteURL, %ErrorLoggingDirectory%,URLs, BitChuteURL, %A_Space%
|
IniRead, BitChuteURL, %ErrorLoggingDirectory%,URLs, BitChuteURL, %A_Space%
|
||||||
IniRead, RumbleURL, %ErrorLoggingDirectory%,URLs, RumbleURL, %A_Space%
|
IniRead, RumbleURL, %ErrorLoggingDirectory%,URLs, RumbleURL, %A_Space%
|
||||||
IniRead, StreamanityURL, %ErrorLoggingDirectory%,URLs, StreamanityURL, %A_Space%
|
IniRead, BrighteonURL, %ErrorLoggingDirectory%,URLs, BrighteonURL, %A_Space%
|
||||||
; IniRead, BitChuteURL, %ErrorLoggingDirectory%,URLs, BitChuteURL, %A_Space%
|
IniRead, BitChuteURL, %ErrorLoggingDirectory%,URLs, BitChuteURL, %A_Space%
|
||||||
|
IniRead, PodcastNumber, %ErrorLoggingDirectory%,Misc, PodcastNumber, %A_Space%
|
||||||
|
|
||||||
if(BitChuteURL = ""){
|
if(BitChuteURL = ""){
|
||||||
if(RumbleURL != "")
|
if(RumbleURL != "")
|
||||||
VideoURL := RumbleURL
|
VideoURL := RumbleURL
|
||||||
else,
|
else,
|
||||||
VideoURL := StreamanityURL
|
VideoURL := BrighteonURL
|
||||||
}
|
}
|
||||||
else,
|
else,
|
||||||
VideoURL := BitChuteURL
|
VideoURL := BitChuteURL
|
||||||
|
|
||||||
|
if(PodcastNumber != ""){
|
||||||
|
PodcastURL := https://fdrpodcasts.com/%PodcastNumber% . "`n"
|
||||||
|
}
|
||||||
|
|
||||||
; Append bitchute url to bottom of description
|
; Append bitchute url to bottom of description
|
||||||
PostBody := PostBody . "`n`n" . VideoURL
|
PostBody := PostBody . "`n`n" . PodcastURL . VideoURL
|
||||||
|
|
||||||
; Msgbox % "PostTitle: " PostTitle
|
; Msgbox % "PostTitle: " PostTitle
|
||||||
; Msgbox % "PostBody: " PostBody
|
; Msgbox % "PostBody: " PostBody
|
||||||
|
|||||||
Reference in New Issue
Block a user