Possible to add total album length to tag or file name?

I’m looking at https://picard.musicbrainz.org/docs/scripting/ and https://picard.musicbrainz.org/docs/tags/ and it doesn’t look like I can add something like total runtime to my filenames or tags. Does anyone know how? I’m looking to add total length to the album folder of my audiobooks as that’s one of the more important variables I need to consider when picking one out.

This does not seem like something that is included as a script variable currently.
You could write a plugin that does this reletivly easily I would think under 10 lines of python.
I will think about it after work.

Do you want the time on a disk or the total time or both?

That’s a good idea, I’ll try that. I’m going for total time for the release, not the disk.