ID3v2.4.0 config option isn't being honored by kid3-cli for WAV files
Hi,
I hope I am not doing anything wrong here but It seems the option "Version used for new tags: ID3v2.4.0" (or 3v2Version=1 in the kid3rc file) isn't being followed by kid3-cli.
I've made sure kid3-cli is actually loading the '~/.config/kid3rc' file by checking it an strace. it loads succefully either by finding on its own or alternatively by following the KID3_CONFIG_FILE env setting if set. So it isn't an issue of kid3-cli no loading the configuration.
Also I've checked hat using the GUI, if making sure I clear all tags first, it will indeed record ID3v2.4.0 tags with success. So it seems it is an issue specifically with kid3-cli.
config content (~/.config/kid3rc):
...
[Tags]
CommentName=COMMENT
CustomGenres=
DisabledPlugins=Id3libMetadata,Mp4v2Metadata
EnableTotalNumberOfTracks=true
GenreNotNumeric=true
ID3v2Version=1
LowercaseId3RiffChunk=true
MarkOversizedPictures=false
MarkStandardViolations=true
MarkTruncations=true
MaximumPictureSize=131072
OnlyCustomGenres=false
PictureNameItem=0
PluginOrder=Id3libMetadata,OggFlacMetadata,Mp4v2Metadata,TaglibMetadata
QuickAccessFrameOrder=
QuickAccessFrames=127
...
Testing...
clear all tags:
$ kid3-cli -c "remove all" SG-ACT0001_FV_MIXLA_STR_96K_24B_MSTRG.wav
$ kid3-cli -c get SG-ACT0001_FV_MIXLA_STR_96K_24B_MSTRG.wav
File: WAV 96000 Hz 2 Channels 1:55
Name: SG-ACT0001_FV_MIXLA_STR_96K_24B_MSTRG.wav
set tag:
$ kid3-cli -c "set Title 'test of title' 2" SG-ACT0001_FV_MIXLA_STR_96K_24B_MSTRG.wav
$ kid3-cli -c get SG-ACT0001_FV_MIXLA_STR_96K_24B_MSTRG.wav
File: WAV 96000 Hz 2 Channels 1:55
Name: SG-ACT0001_FV_MIXLA_STR_96K_24B_MSTRG.wav
Tag 2: ID3v2.3.0
Title test of title
strace output showing it is loading the config file correctly:
strace kid3-cli -c "set Title 'test of title' 2" SG-ACT0001_FV_MIXLA_STR_96K_24B_MSTRG.wav 2>&1 | grep kid3rc
stat("/home/test/.config/kid3rc", {st_mode=S_IFREG|0600, st_size=12286, ...}) = 0
openat(AT_FDCWD, "/home/test/.config/kid3rc", O_RDONLY|O_CLOEXEC) = 4
I'm running linux environment (Ubuntu) with the latest versions of Kid3 and TagLib confirmed.
Any clues what is can be?
Cheers,
Artur
Imported from SourceForge, author: arturdassumpcao