diff --git a/autodescribe b/autodescribe index 8d02ab0..c5c6d44 100755 --- a/autodescribe +++ b/autodescribe @@ -1450,7 +1450,7 @@ for f in "$@" ; do ;; *.mp3) TYPE=mp3 ;; - *.mp4) TYPE=mp4 + *.mp4 | *.m4a) TYPE=mp4 ;; *.mscx) TYPE=mscx ;; diff --git a/automtime b/automtime index 6e913a3..12361eb 100755 --- a/automtime +++ b/automtime @@ -1040,7 +1040,7 @@ for f in "$@" ; do TYPE=mkv ;; - *.mov | *.mp4) + *.mov | *.mp4 | *.m4a) TYPE=mov ;; diff --git a/test-autodescribe-expected b/test-autodescribe-expected index 8c63d79..2654677 100644 --- a/test-autodescribe-expected +++ b/test-autodescribe-expected @@ -36,6 +36,7 @@ 'testfiles/type1.kra' 'Krita name' 'testfiles/type1.lsm' 'LSM Title' 'testfiles/type1.lzh' 'LZH comment in desc.sdi file' +'testfiles/type1.m4a' 'Track Title' 'testfiles/type1.man' 'fileviewinfotest - plain text man page name' 'testfiles/type1.md' 'Markdown title' 'testfiles/type1.metainfo.xml' 'Nonlocalized name, Nonlocalized summary' diff --git a/test-automtime-expected b/test-automtime-expected index 6d50bfb..04aaefe 100644 --- a/test-automtime-expected +++ b/test-automtime-expected @@ -24,6 +24,7 @@ 'testfiles/type1.kra' '2022-01-01 13:57:46' 'testfiles/type1.lzh' '2021-10-15 06:09:47' 'testfiles/type1.lzo' '2021-10-12 03:50:26' +'testfiles/type1.m4a' '2024-02-05 10:11:12' 'testfiles/type1.metainfo.xml' '2020-07-31' 'testfiles/type1.mp4' '2023-04-05 06:07:08' 'testfiles/type1.msg' '2021-10-12 12:34:56 +0000' diff --git a/testfiles/type1.m4a b/testfiles/type1.m4a new file mode 100644 index 0000000..00ce9d1 Binary files /dev/null and b/testfiles/type1.m4a differ