diff --git a/Freedomain Video Uploader.ahk b/Freedomain Video Uploader.ahk index 646858d..3b35bc5 100644 --- a/Freedomain Video Uploader.ahk +++ b/Freedomain Video Uploader.ahk @@ -28,6 +28,8 @@ global ScriptName global ScriptVersion global FullScriptName + + ScriptName = Freedomain Video Uploader ScriptVersion = 3.18 FullScriptName := ScriptName . " - " . ScriptVersion @@ -35,6 +37,15 @@ FullScriptName := ScriptName . " - " . ScriptVersion ; UStartTime := A_TickCount ; start time +; Included Files - These have to be included at the top for the Global variables to get registered early? +#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\General-Functions.ahk +#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Selenium-Functions.ahk +#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Chrome-Functions.ahk +#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Gitea-Functions.ahk +#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\API-Functions.ahk +#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\JSON.ahk +#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\RunCMD.ahk +#include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\StdOutToVar.ahk ;---ToDo--- @@ -1153,10 +1164,9 @@ VideoTags := StrReplace(VideoTags, " ",",") KeywordsArray := StrSplit(VideoTags,",") -; if(Streamanity){ - ; UploadedToSites .= "Streamanity," - ; Gosub, StreamanityUpload - ; } +; Initiate Chrome Filepath Variable +; @todo: find a better location for this? +GetChromeFilepath() if(Facebook){ UploadedToSites .= "Facebook," @@ -4908,22 +4918,6 @@ Return ; -------------------------------Functions------------------------------- - -; Included Files -#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\General-Functions.ahk -#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Selenium-Functions.ahk -#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Chrome-Functions.ahk -#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Gitea-Functions.ahk -#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\API-Functions.ahk -#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\JSON.ahk -#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\RunCMD.ahk -#include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\StdOutToVar.ahk - - -; #Include %A_ScriptDir%\Lib\ChromeAutomationFunctions.ahk - - - CheckLBRYProcess(){ ; Check if LBRY Process exists Process, Exist,LBRY.exe diff --git a/Lib/Freedomain-Posters-Shared-Functions b/Lib/Freedomain-Posters-Shared-Functions index 621127e..e15f45c 160000 --- a/Lib/Freedomain-Posters-Shared-Functions +++ b/Lib/Freedomain-Posters-Shared-Functions @@ -1 +1 @@ -Subproject commit 621127eaf039d2fb42d13c4ec0dc783a40ea3580 +Subproject commit e15f45c67a8bbe6fea5d39d1bca1ae197d720be5