diff --git a/main.lua b/main.lua index 5203b10..2b94c64 100644 --- a/main.lua +++ b/main.lua @@ -31,3 +31,5 @@ local output_encoding='flac' -- 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 +---- Use the hint found at https://stackoverflow.com/questions/10934936/determine-whether-an-audio-file-is-encoded-in-apple-lossless-alac +---- ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 file.m4a