Thanks @Mjsciarabba!
Much appreciated! No problem and thanks for taking the time to work it out.
Yesterday I decided to do the Plex dance, and it seemed to start and complete the loudness analysis right.
But the Sonic Analysis is progressing very slow on my NAS, a few albums in an hour. With more than 6000 to go I calculated it will take almost 30 days to complete.
Tonight I revert to the backup before the Plex dance and will let your script run.
Thanks again Matt.
Paul