I’ve just put up a first version of a command line tool for batch editing Cantabile song and rack files.
The primary purpose for this right now is for anyone who wants to switch to the new global pre- and post- racks but has many songs that all need the same update. This came out of the discussion here.
It’s pretty limited at the moment and only has commands to remap routes, remove linked racks and list used racks.
Let me know if you need/want it to do anything else and I’ll look into adding it.
Also, the source code is available if you want to add/enhance it yourself or if you’re just curious. Send a PR if you do make improvements and I can merge it in for others to use.
And before you do anything with this remember: “with great power comes great responsibility”.
ie:
make sure you have a complete backup lest you destroy everything
Just reading the GitHub info, and there’s a typo in the description that I can’t work out the intended meaning of: “Batch removal of a linked from from songs”.
The idea behind this tool is to provide a migration path to the new global pre-rack and global post-rack.
ie: suppose you have a shared output processing rack that you use in every song. That functionality can now be placed into the global post-rack - in which case you’d want to remove the old output rack and remap the routes from it to the post rack.
ie: basically the two operations that are supported by this tool.
Thanks Brad, yes it absolutely makes sense. It was just that specific sentence that I wasn’t sure about because of the typo.
It looks like a super helpful tool, and once I get the next batch of gigs out of the way I’m going to be migrating to the new pre/post racks world.
Is this tool likely to be the only automated upgrade route, or might there be some in-Cantabile migration capability at some point? The CLI tool is good for me, I’m just curious.
No built-in migration. I really don’t want to get into building/maintaining UI for these one-off type upgrade steps - hence the command line tool. I can knock out quick enhancements to this as needed and the support load is way less.