Skip to content

Commit

Permalink
Add .m4a support to autodescribe & automtime
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Feb 5, 2024
1 parent 249aeb1 commit 4a660f9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autodescribe
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ for f in "$@" ; do
;;
*.mp3) TYPE=mp3
;;
*.mp4) TYPE=mp4
*.mp4 | *.m4a) TYPE=mp4
;;
*.mscx) TYPE=mscx
;;
Expand Down
2 changes: 1 addition & 1 deletion automtime
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ for f in "$@" ; do
TYPE=mkv
;;

*.mov | *.mp4)
*.mov | *.mp4 | *.m4a)
TYPE=mov
;;

Expand Down
1 change: 1 addition & 0 deletions test-autodescribe-expected
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions test-automtime-expected
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Binary file added testfiles/type1.m4a
Binary file not shown.

0 comments on commit 4a660f9

Please sign in to comment.