feat: sets up variables and basic structure

This commit is contained in:
2025-12-25 12:49:54 -07:00
parent 0b191821d0
commit 5805e7969f

33
main.lua Normal file
View File

@@ -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