|
|
|
@ -61,7 +61,7 @@ if(!InStr(MP3AudioFilepath, ".mp3")){
|
|
|
|
|
|
|
|
|
|
; https://www.autohotkey.com/boards/viewtopic.php?t=59882
|
|
|
|
|
Message = Calculating MP3 File Size and Length
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile, DiscordErrorLogging")
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
|
|
|
|
|
|
Obj := Filexpro(MP3AudioFilepath,,
|
|
|
|
|
, "Length"
|
|
|
|
@ -77,14 +77,14 @@ SaveOrPostProgress(Message:=Message,PostType:="ErrorLoggingTextFile,DiscordError
|
|
|
|
|
|
|
|
|
|
; AudioLength_Seconds := ((AudioLengthArray[1] * 60 ) * 60) + (AudioLengthArray[2] * 60) + AudioLengthArray[3]
|
|
|
|
|
; Message = MP3 Audio Length in Seconds: %AudioLength_Seconds%
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
; SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
AudioLength_Hours := AudioLengthArray[1]
|
|
|
|
|
AudioLength_Minutes := AudioLengthArray[2]
|
|
|
|
|
AudioLength_Seconds := AudioLengthArray[3]
|
|
|
|
|
|
|
|
|
|
Message = AudioLength_Hours: %AudioLength_Hours%`nAudioLength_Minutes: %AudioLength_Minutes%`nAudioLength_Seconds: %AudioLength_Seconds%
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
; Message = AudioLength_Hours: %AudioLength_Hours%`nAudioLength_Minutes: %AudioLength_Minutes%`nAudioLength_Seconds: %AudioLength_Seconds%
|
|
|
|
|
; SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
; AudioLength_SecondsOriginal := AudioLength_Seconds
|
|
|
|
|
; AudioLength_Seconds := (AudioLength_Minutes * 60) + ((AudioLength_Hours * 60) * 60) + AudioLength_Seconds
|
|
|
|
|