Set command not working with some aif files
Hello, I am using kid3-cli to add descriptive metadata to a bunch of aif, mp3 and mp4 files. I'm using the following command.
kid3-cli -c "set comment 'Part of: The Kitchen videos and records (accn. no. 2014.M.6)'" -c "set title $filename" $a
Where $filename is being set earlier in the script and $a is the variable used for the file that's being edited.
For some of the aif files the data is being added (see 1st exiftool output below) but for others the data is not being added (see 2nd exiftool output below). Can you see any reason why it's working for some files and not others? Thanks for any help.
~Teresa
This is how one looks when it works (see the Comment and Title at the end):
ExifToolVersion = 11.01 FileName = gri_2014_m_6_K2000091_10_pm.aif Directory = . FileSize = 73184 FileModifyDate = 1544485302 FileAccessDate = 1544485302 FileInodeChangeDate = 1544485302 FilePermissions = 33272 FileType = AIFF FileTypeExtension = AIFF MIMEType = audio/x-aiff AIFF 'COMM' chunk (18 bytes of data): Common (SubDirectory) -->
- [BinaryData directory, 18 bytes] | NumChannels = 1 | NumSampleFrames = 23722 | SampleSize = 24 | SampleRate = 44100 AIFF 'minf' chunk (16 bytes of data): AIFF 'elmo' chunk (426 bytes of data): AIFF 'SSND' chunk (71174 bytes of data): AIFF 'regn' chunk (92 bytes of data): AIFF 'ovwf' chunk (214 bytes of data): AIFF 'umid' chunk (24 bytes of data): AIFF 'ID3 ' chunk (1144 bytes of data): ID3 (SubDirectory) --> | ID3Size = 1144 ID3v2.4.0: | + [ID3v2_4 directory, 1134 bytes] | | Comment = Part of: The Kitchen videos and records (accn. no. 2014.M.6) | | Title = gri_2014_m_6_K2000091_10
This is how one looks when it doesn't work:
ExifToolVersion = 11.01
FileName = gri_2014_m_6_K2000095_05_pm.aif Directory = . FileSize = 248104768 FileModifyDate = 1544562210 FileAccessDate = 1544562286 FileInodeChangeDate = 1544562210 FilePermissions = 33272 FileType = AIFF FileTypeExtension = AIFF MIMEType = audio/x-aiff AIFF 'COMM' chunk (18 bytes of data): Common (SubDirectory) -->
- [BinaryData directory, 18 bytes] | NumChannels = 1 | NumSampleFrames = 82486553 | SampleSize = 24 | SampleRate = 44100 AIFF 'minf' chunk (16 bytes of data): AIFF 'elmo' chunk (426 bytes of data): AIFF 'SSND' chunk (247459667 bytes of data): AIFF 'regn' chunk (92 bytes of data): AIFF 'ovwf' chunk (644456 bytes of data): AIFF 'umid' chunk (24 bytes of data):
Imported from SourceForge, author: tsoleau