As someone who writes bash scripts, fuck no, this is a terrible language and it shouldn't be used for anything more complex than sticking two programs together.
Also, parallelism goes right out of the window.
Maybe you'd convince me with a real programming language.
Never used Shopify unfortunately, so I can't help you with that.
The way I tag media is using MediaElch. It requires manually going through each series and identifying it, but with your proper naming it should give decent suggestions already.
If some metadata is missing for single episodes, try changing the metadata provider, sometimes one or the other just has bad/incomplete data.