|
|
@ -275,9 +275,12 @@ Loop, files, %VideoFolderDir%\*.*, F ; loop through the files in the director
|
|
|
|
|
|
|
|
|
|
|
|
if(FileNameWExt = "title.txt"){
|
|
|
|
if(FileNameWExt = "title.txt"){
|
|
|
|
FileRead, VideoTitle, %A_LoopFileFullPath%
|
|
|
|
FileRead, VideoTitle, %A_LoopFileFullPath%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Generate the LBRY URL Slug on each startup in case Title changes between runs
|
|
|
|
LBRYURLSlug := VideoTitle
|
|
|
|
LBRYURLSlug := VideoTitle
|
|
|
|
|
|
|
|
LBRYURLSlug := LBRYCMDTextReplacement(LBRYURLSlug)
|
|
|
|
|
|
|
|
|
|
|
|
OriginalVideoTitle := VideoTitle
|
|
|
|
OriginalVideoTitle := VideoTitle
|
|
|
|
; OriginalLBRYURLSlug := LBRYURLSlug
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(FileNameWExt = "body.txt"){
|
|
|
|
if(FileNameWExt = "body.txt"){
|
|
|
@ -371,10 +374,9 @@ if(FileExist(VideoLinksIniFile)){
|
|
|
|
IniRead, BitChuteURL, %VideoLinksIniFile%, URLs, BitChuteURL, %A_Space%
|
|
|
|
IniRead, BitChuteURL, %VideoLinksIniFile%, URLs, BitChuteURL, %A_Space%
|
|
|
|
|
|
|
|
|
|
|
|
; LBRY
|
|
|
|
; LBRY
|
|
|
|
IniRead, LBRYURLSlug, %VideoLinksIniFile%, Misc, LBRYURLSlug, %A_Space%
|
|
|
|
; removed on 2024/06/24, let's regenerate the slug each time in case the video file changes between runs
|
|
|
|
if(LBRYURLSlug = ""){
|
|
|
|
; IniRead, LBRYURLSlug, %VideoLinksIniFile%, Misc, LBRYURLSlug, %A_Space%
|
|
|
|
LBRYURLSlug := OriginalLBRYURLSlug ; video title
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
; LBRY Video
|
|
|
|
; LBRY Video
|
|
|
|
IniRead, LBRYVideoURL, %VideoLinksIniFile%, URLs, LBRYVideoURL, %A_Space%
|
|
|
|
IniRead, LBRYVideoURL, %VideoLinksIniFile%, URLs, LBRYVideoURL, %A_Space%
|
|
|
|
IniRead, LBRYVideoThumb, %VideoLinksIniFile%, Misc, LBRYVideoThumb, %A_Space%
|
|
|
|
IniRead, LBRYVideoThumb, %VideoLinksIniFile%, Misc, LBRYVideoThumb, %A_Space%
|
|
|
@ -705,7 +707,8 @@ LBRYURLSlug := VideoTitle
|
|
|
|
LBRYURLSlug := LBRYCMDTextReplacement(LBRYURLSlug)
|
|
|
|
LBRYURLSlug := LBRYCMDTextReplacement(LBRYURLSlug)
|
|
|
|
|
|
|
|
|
|
|
|
; Save the LBRY URL Slug to .ini file in case it's needed later
|
|
|
|
; Save the LBRY URL Slug to .ini file in case it's needed later
|
|
|
|
IniWrite, %LBRYURLSlug%, %VideoLinksIniFile%, Misc, LBRYUrlSlug
|
|
|
|
; removed on 2024/06/24, generating the URL SLugh each run going forward
|
|
|
|
|
|
|
|
; IniWrite, %LBRYURLSlug%, %VideoLinksIniFile%, Misc, LBRYUrlSlug
|
|
|
|
IniWrite, %VideoThumbFilepath%, %VideoLinksIniFile%, Misc, VideoThumbFilepath
|
|
|
|
IniWrite, %VideoThumbFilepath%, %VideoLinksIniFile%, Misc, VideoThumbFilepath
|
|
|
|
IniWrite, %PodcastNumber%, %VideoLinksIniFile%, Misc, PodcastNumber
|
|
|
|
IniWrite, %PodcastNumber%, %VideoLinksIniFile%, Misc, PodcastNumber
|
|
|
|
IniWrite, %VideoThumbFilepath%, %VideoLinksIniFile%, Misc, VideoThumbFilepath
|
|
|
|
IniWrite, %VideoThumbFilepath%, %VideoLinksIniFile%, Misc, VideoThumbFilepath
|
|
|
|