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