|
|
|
@ -267,6 +267,12 @@ Loop, files, %VideoFolderDir%\*.*, F ; loop through the files in the director
|
|
|
|
|
OriginalVideoDescription := VideoDescription
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(FileNameWExt = "summary.txt"){
|
|
|
|
|
FileRead, VideoSummary, %A_LoopFileFullPath%
|
|
|
|
|
; DescriptionCharCount := StrLen(VideoDescription)
|
|
|
|
|
OriginalVideoSummary := VideoSummary
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(FileNameWExt = "keywords.txt"){
|
|
|
|
|
FileRead, VideoTags, %A_LoopFileFullPath%
|
|
|
|
|
FileRead, PodcastTags, %A_LoopFileFullPath%
|
|
|
|
@ -777,7 +783,7 @@ IniWrite, %VideoThumbFilepath%, %VideoLinksIniFile%, Misc, VideoThumbFilepath
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Log Basic info to the errorlogging file
|
|
|
|
|
Message = %ScriptName% v%ScriptVersion%: Starting Upload `nFor: **%VideoTitle%**`nTo: %PostedWebsites%
|
|
|
|
|
Message = Starting Upload with %ScriptName% v%ScriptVersion%:`nFor: **%VideoTitle%**`nTo: %PostedWebsites%
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
Message := "VideoTitle: " VideoTitle
|
|
|
|
@ -801,6 +807,7 @@ SaveOrPostProgress(Message:=Message,PostType:=",ErrorLoggingTextFile")
|
|
|
|
|
; Convert Video Title and Description into javascript formatting for sending to pages through js instead of plain selenium
|
|
|
|
|
JSVideoTitle := FormatTextToJSText(VideoTitle)
|
|
|
|
|
JSVideoDescription := FormatTextToJSText(VideoDescription)
|
|
|
|
|
JSVideoSummary := FormatTextToJSText(VideoSummary)
|
|
|
|
|
|
|
|
|
|
; -------------------------------/Log Info To Text-------------------------------
|
|
|
|
|
|
|
|
|
|