feat: sets up variables and basic structure
This commit is contained in:
33
main.lua
Normal file
33
main.lua
Normal 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
|
||||||
Reference in New Issue
Block a user