From 4a660f94bc61ea53d714229c4cbda11d4c5f2ebf Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 5 Feb 2024 08:14:31 -0800 Subject: [PATCH] Add .m4a support to autodescribe & automtime --- autodescribe | 2 +- automtime | 2 +- test-autodescribe-expected | 1 + test-automtime-expected | 1 + testfiles/type1.m4a | Bin 0 -> 1239 bytes 5 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 testfiles/type1.m4a 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 0000000000000000000000000000000000000000..00ce9d10f2d5205a452e293e8f56c34af73ece54 GIT binary patch literal 1239 zcmZuxO-K}R6o0d77DX(yqUc1EA9P69Ro3z&X^qSvqb!q>C};OSyKXzPv&_s&YeajD zgs$SD4Gf7%uuGTl;-SC}6}3p6goreWkRUblVDHVWI*E_{@B8|_um77F0N}$$DskT5 zCIGmAcvM#vJoNyuJFH0(^0x{Tjae6TiUXmBMsHJ{x6bDSZo0o<&#Cg3eBj^3QY%n3 zG;w?K#p;J_b4zCM0YKsNCr{0Q_uQVqYx!TrtPggcO z)0}pt<}>$(OGX7~n(_2reL4TN_-DG@yEr?X>EpOsUt#8NSI0tN{|Gu3&%JN`{RtD@ zT^gxgU0EJHdGqmcb^O;%_Gr!6=Zk&QZyr4xz4m9PZVNv)0_4ppsycu}$;v=KLk?f& z*c2V~eMfZ&IH2Da{imRLn;zIg?j*VJVrvXdjG^_Umd zRe+!y)-@4`bj*&|V^`@x&SNJbG9Xc9Iys!>8ze`L$UcFm7!OVoQge2Ssm4>PM-q$_ zO_ga%E6@5mO1vJ7B#>`-996jXBr`-T+^R^#EjsL62rf|*6A8+=L7Y2kZ@t2diwauH z@QtNlN(|ka7>WtqQA4J;xy)?4)Q$Xr6LMOl9aos593+U-)g}j%%4RfgGBJe^j}ubw ztM{X=$~08EgM&^Vel)`P(eO7|9}Rpg%#cFQC+`HEiOP}?QWZstlds&2NYqcM6VonB XAwyH+QCg2+XfZ;R