Hi. I use kid3 extensively, and have recently begun using kid3-cli to script some tasks. I’m struggling with track numbers, though. I like my numbers to be zero-padded, and have no problem with this in the GUI by setting the track number digits option to 2.
kid3-cli has been another story. I struggled for hours as I could find no way to make this work via CLI args, and it didn’t respect my kid3 config. I finally found this revelatory post:
(I can’t include links in my post, so the thread title is “Kid3-cli and timestamp preservation”)
I see that kid3-cli uses a different config file. I’ve finally been able to piece together enough things to get something working, but I’d like to understand things a little better as this seems much more difficult than it should be and I’m not sure if I’m just missing something obvious.
Is there any documentation that discusses the CLI config file at all? or any hints that it even exists besides that forum post? “Chapter 4. kid3-cli” of the kid3 manual doesn’t seem to say anything about it, unless I’m blind.
Similarly, is there any way to create or export a default config? I can’t find any way to do that, but tuxEgangelist’s comment about it creating it’s config after running kid3-cli -c "config File.preserveTime true" gave me something I can work with in a roundabout way.
By editing:
[Tags]
TrackNumberDigits=2
I seem to have it doing what I want, which is great. But how do the config commands actually map to the file? It says Tags doesn’t exist:
$ kid3-cli -c “config Tags.TrackNumberDigits 2”
Tags does not exist
I noticed in the other thread that it specified File.preserveTime, despite the option existing in the Files section. No luck with that either, though:
$ kid3-cli -c “config Tag.TrackNumberDigits 2”
TrackNumberDigits does not exist
But closer as it at least seems to recognize Tag now. But how do I configure this actual parameter? I’d like to include this in my script so it’s not dependent upon a preexisting configuration.
That last question is really the main thing I need to know at this point, but I’m asking the additional questions because I’d like to understand this better, and also would hope anyone else struggling with this may find this in the future and get some help. or… if I’m just being exceptionally dense here, would really love someone to point out what I’m missing. ![]()
Thanks!