Harry's right (as usual

), use the Calibre plugboard. Once set up, it does exactly what you are trying to do automatically. Besides, if you change your mind on the format you just change the plugboard and don't have to adjust the metadata on all of your series books.