diff --git a/Assets/FreedomainShare.ico b/Assets/FreedomainShare.ico deleted file mode 100644 index 534922d..0000000 Binary files a/Assets/FreedomainShare.ico and /dev/null differ diff --git a/Assets/FreedomainShare_Scheduled.ico b/Assets/FreedomainShare_Scheduled.ico deleted file mode 100644 index 787d001..0000000 Binary files a/Assets/FreedomainShare_Scheduled.ico and /dev/null differ diff --git a/Assets/Share.ico b/Assets/Share.ico deleted file mode 100644 index 2a6e35e..0000000 Binary files a/Assets/Share.ico and /dev/null differ diff --git a/Assets/Social.ico b/Assets/Social.ico deleted file mode 100644 index 7ff1ab6..0000000 Binary files a/Assets/Social.ico and /dev/null differ diff --git a/Assets/daemon_settings.yml b/Assets/daemon_settings.yml new file mode 100644 index 0000000..f977631 --- /dev/null +++ b/Assets/daemon_settings.yml @@ -0,0 +1,7 @@ +download_dir: c:\lbry\Downloads +lbryum_servers: +- spv11.lbry.com:50001 +- spv19.lbry.com:50001 +share_usage_data: false +tcp_port: 3335 +use_upnp: false diff --git a/Freedomain Video Uploader.ahk b/Freedomain Video Uploader.ahk index 7c3b7af..f2bd304 100644 --- a/Freedomain Video Uploader.ahk +++ b/Freedomain Video Uploader.ahk @@ -4937,6 +4937,37 @@ CheckLBRYProcess(){ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging") Return } + + Message = Checking LBRY daemon_settings.yml file for Odysee Wallet Servers + SaveOrPostProgress(Message:=Message,PostType:=",ErrorLoggingTextFile,DiscordErrorLogging") + + FileRead, daemon_settingsFileContent, C:\Users\%A_UserName%\AppData\Local\lbry\lbrynet\daemon_settings.yml + + if(!InStr(daemon_settingsFileContent, "a-hub1.odysee.com:50001")){ + Message = Odysee wallet server is not in daemon_settings.yml. Replacing File with required settings. + SaveOrPostProgress(Message:=Message,PostType:=",DiscordErrorLogging") + + daemon_settingsText = + ( + download_dir: c:\lbry\Downloads + lbryum_servers: + - a-hub1.odysee.com:50001 + - spv11.lbry.com:50001 + - spv19.lbry.com:50001 + share_usage_data: false + tcp_port: 3335 + use_upnp: false + ) + + Msgbox % "daemon_settingsText: " daemon_settingsText + FileDelete, C:\Users\%A_UserName%\AppData\Local\lbry\lbrynet\daemon_settings.yml + msgbox + FileAppend, %daemon_settingsText%,C:\Users\%A_UserName%\AppData\Local\lbry\lbrynet\daemon_settings.yml ; , Filename] + run, C:\Users\%A_UserName%\AppData\Local\lbry\lbrynet + msgbox, did it get appended? + } + + try run, "%LBRYExeFilepath%" Message = Waiting 1 Minute for LBRY to start up SaveOrPostProgress(Message:=Message,PostType:="Tooltip")