Files
alac2flac/main.lua

34 lines
770 B
Lua

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