From c60a45445ceb6f81baa93d6a303bf9528a51a513 Mon Sep 17 00:00:00 2001 From: yuriy Date: Wed, 17 Apr 2024 14:13:39 -0400 Subject: [PATCH] gui updated after podcast is uploaded --- Freedomain Video Uploader.ahk | 2 ++ Lib/Freedomain-Posters-Shared-Functions | 2 +- Modules/GUI-Results-Window.ahk | 2 +- Modules/Podcast-Upload.ahk | 3 +++ Version.ini | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Freedomain Video Uploader.ahk b/Freedomain Video Uploader.ahk index c3a2bf0..26941e6 100644 --- a/Freedomain Video Uploader.ahk +++ b/Freedomain Video Uploader.ahk @@ -378,6 +378,7 @@ if(FileExist(VideoLinksIniFile)){ IniRead, PodcastNumber, %VideoLinksIniFile%, Misc, PodcastNumber, %A_Space% IniRead, LocalsURL, %VideoLinksIniFile%, URLs, LocalsURL, %A_Space% IniRead, PodcastTranscriptURL, %VideoLinksIniFile%, URLs, PodcastTranscriptURL, %A_Space% + IniRead, UnauthorizedTVURL, %VideoLinksIniFile%, URLs, UnauthorizedTVURL, %A_Space% ; MISC @@ -1110,6 +1111,7 @@ Return ; @todo: Add thumbnail status to this ; @todo: add podcast tags to this UpdateINI: +IniWrite, %UnauthorizedTVURL%, %VideoLinksIniFile%, URLs, UnauthorizedTVURL IniWrite, %PodcastTranscriptURL%, %VideoLinksIniFile%, URLs, PodcastTranscriptURL IniWrite, %VideoTitle%, %VideoLinksIniFile%, Misc, VideoTitle IniWrite, %LocalsURL%, %VideoLinksIniFile%, URLs, LocalsURL diff --git a/Lib/Freedomain-Posters-Shared-Functions b/Lib/Freedomain-Posters-Shared-Functions index e32fe02..88b4b2c 160000 --- a/Lib/Freedomain-Posters-Shared-Functions +++ b/Lib/Freedomain-Posters-Shared-Functions @@ -1 +1 @@ -Subproject commit e32fe026e952738a1ebda7cf81c626d0528fa660 +Subproject commit 88b4b2c11996f8a8713a8bdd130e94a35880c224 diff --git a/Modules/GUI-Results-Window.ahk b/Modules/GUI-Results-Window.ahk index 4a2d226..e25b7dd 100644 --- a/Modules/GUI-Results-Window.ahk +++ b/Modules/GUI-Results-Window.ahk @@ -64,7 +64,7 @@ Gui, Font, s%GuiFontSize% Gui, Font, Bold Gui, Add, Button, x%ResultEditBoxXPos% w%ResultEditBoxHalfWidths% gUpdateINI, Save Modified Links -Gui, Add, Button, x+%MarginSpace% w%ResultEditBoxHalfWidths% gUploadPodcast, Upload Podcast +Gui, Add, Button, x+%MarginSpace% w%ResultEditBoxHalfWidths% gUploadPodcast vUploadPodcast, Upload Podcast Gui, Add, Button, x%ResultEditBoxXPos% y+%MarginSpace% w%ResultEditBoxThirdsWidths% gPostToDiscord vPostToDiscordButton, Post to Discord Gui, Add, Button, x+5 w%ResultEditBoxThirdsWidths% gPostToTelegram vPostToTelegramButton, Post to Telegram diff --git a/Modules/Podcast-Upload.ahk b/Modules/Podcast-Upload.ahk index 8ac36ef..ba0f11b 100644 --- a/Modules/Podcast-Upload.ahk +++ b/Modules/Podcast-Upload.ahk @@ -328,6 +328,9 @@ Sublime Indentation Reset Message = Input Complete! `nPlease Confirm and click Final "Save" Button on Podcast Page SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile") +; Change GUI button from "Upload Podcast" +GuiControl,,UploadPodcast, Podcast Uploaded + sleep, 5000 CurrentSite := diff --git a/Version.ini b/Version.ini index 234fcf9..c05737a 100644 --- a/Version.ini +++ b/Version.ini @@ -1,3 +1,3 @@ [Video-Uploader] -Version=3.34 +Version=3.35 Name=Freedomain Video Uploader