|
|
@ -40,7 +40,7 @@ Menu, Tray, Default, Restart with Last Project
|
|
|
|
; Track how long sections of code take to run
|
|
|
|
; Track how long sections of code take to run
|
|
|
|
UStartTime := A_TickCount ; start time
|
|
|
|
UStartTime := A_TickCount ; start time
|
|
|
|
|
|
|
|
|
|
|
|
; Included FIles and Libraries
|
|
|
|
; Included Files and Libraries
|
|
|
|
; ------------------------------------------------
|
|
|
|
; ------------------------------------------------
|
|
|
|
; These have to be included at the top for the Global variables to get registered early
|
|
|
|
; 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\General-Functions.ahk
|
|
|
@ -87,6 +87,7 @@ ErrorLogVar :=
|
|
|
|
|
|
|
|
|
|
|
|
global DevMode
|
|
|
|
global DevMode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; @todo: this can be hardcoded into the lbry functions as it never changes
|
|
|
|
global LBRYNetFilepath
|
|
|
|
global LBRYNetFilepath
|
|
|
|
LBRYNetFilepath := "C:\Program Files\LBRY\resources\static\daemon\lbrynet.exe"
|
|
|
|
LBRYNetFilepath := "C:\Program Files\LBRY\resources\static\daemon\lbrynet.exe"
|
|
|
|
|
|
|
|
|
|
|
@ -192,11 +193,6 @@ PostSchedulerGitReleasesAPIURL = https://freedomain.dev/api/v1/repos/yuriy/post-
|
|
|
|
IniRead, PostSchedulerVersion, %SettingsIniFilepath%, Freedomain Post Scheduler, Version, 0.0
|
|
|
|
IniRead, PostSchedulerVersion, %SettingsIniFilepath%, Freedomain Post Scheduler, Version, 0.0
|
|
|
|
IniRead, PostSchedulerFilepath, %SettingsIniFilepath%, Filepaths, PostScheduler, %A_Space%
|
|
|
|
IniRead, PostSchedulerFilepath, %SettingsIniFilepath%, Filepaths, PostScheduler, %A_Space%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Msgbox % "PostSchedulerVersion: " PostSchedulerVersion
|
|
|
|
|
|
|
|
; IniRead, OutputVar, Filename, Section, Key [, Default]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---LBRY Settings---
|
|
|
|
;---LBRY Settings---
|
|
|
|
;------------------------------------------------
|
|
|
|
;------------------------------------------------
|
|
|
|
IniRead, LBRYNewVideoStakeAmount, %SettingsIniFilepath%, General, LBRYNewVideoStakeAmount, 1.0
|
|
|
|
IniRead, LBRYNewVideoStakeAmount, %SettingsIniFilepath%, General, LBRYNewVideoStakeAmount, 1.0
|
|
|
@ -458,7 +454,6 @@ if(VideoFileSizeInMB > 6144){
|
|
|
|
|
|
|
|
|
|
|
|
; Brighteon will fail if video does not have one of the following aspect ratios
|
|
|
|
; Brighteon will fail if video does not have one of the following aspect ratios
|
|
|
|
BrighteonAcceptedAspectRatios := ["4:3","3:4","16:9","9:16"]
|
|
|
|
BrighteonAcceptedAspectRatios := ["4:3","3:4","16:9","9:16"]
|
|
|
|
; Msgbox % "VideoAspectRatio: " VideoAspectRatio
|
|
|
|
|
|
|
|
VideoHasBrighteonCompatibleAspectRatio := HasVal(BrighteonAcceptedAspectRatios, VideoAspectRatio)
|
|
|
|
VideoHasBrighteonCompatibleAspectRatio := HasVal(BrighteonAcceptedAspectRatios, VideoAspectRatio)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -560,16 +555,6 @@ ToggleDevMode()
|
|
|
|
run, "%A_ScriptFullPath%" "LastPost"
|
|
|
|
run, "%A_ScriptFullPath%" "LastPost"
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
OpenGiteaPage:
|
|
|
|
|
|
|
|
run, https://freedomain.dev/yuriy/video-uploader
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OpenErrorLog:
|
|
|
|
|
|
|
|
run, %ErrorLoggingFilePath%
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UncheckAllPlatforms:
|
|
|
|
UncheckAllPlatforms:
|
|
|
|
GuiControl,,Bitchute, 0
|
|
|
|
GuiControl,,Bitchute, 0
|
|
|
@ -1012,7 +997,7 @@ if(!SocialMediaPosterFilepath or !FileExist(SocialMediaPosterFilepath)){
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Copy Info from GUI to Clipboard
|
|
|
|
; Copy Info to Clipboard based on the button clicked
|
|
|
|
; ------------------------------------------------
|
|
|
|
; ------------------------------------------------
|
|
|
|
CopyToClipboard:
|
|
|
|
CopyToClipboard:
|
|
|
|
|
|
|
|
|
|
|
@ -1090,11 +1075,9 @@ run, "%A_ScriptFullPath%" "ShowResults"
|
|
|
|
ExitApp
|
|
|
|
ExitApp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; -----------------------------------------------
|
|
|
|
SendErrorLoggingThroughTelegram:
|
|
|
|
; GoSub Labels
|
|
|
|
msgbox, I don't do nothin atm
|
|
|
|
; -----------------------------------------------
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Post-To-Telegram
|
|
|
|
; Post-To-Telegram
|
|
|
|
;------------------------------------------------
|
|
|
|
;------------------------------------------------
|
|
|
|