From 5805e7969f10ef0c848b384b32942dec408fbf8c Mon Sep 17 00:00:00 2001 From: Brandon Kessler Date: Thu, 25 Dec 2025 12:49:54 -0700 Subject: [PATCH] feat: sets up variables and basic structure --- main.lua | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 main.lua diff --git a/main.lua b/main.lua new file mode 100644 index 0000000..5203b10 --- /dev/null +++ b/main.lua @@ -0,0 +1,33 @@ +------------------------------ +------- Main Lua Script ------ +------------------------------ + +------------------------------ +---------- Variables --------- +------------------------------ + +-- path to traverse +local path='' + +-- file type to look for to examine +local file_type='m4a' + +-- encoding to convert from +local input_encoding='alac' + +-- encoding to convert TODO +local output_encoding='flac' + +------------------------------ +-------- Functions ----------- +------------------------------ + + +------------------------------ +---------- Body -------------- +------------------------------ + +-- TODO: check if ffmpeg is installed/available +-- TODO: Loop through the path provided +-- TODO: Check if the file is the file_type +-- TODO: Check if the file has the encoding of ALAC