There is a thing called playback loudness, and that can be used to find a song’s volume, but I am not sure if it changes value based off of a players device volume.
Not possible anymore from what I know, they changed the access to it in 2022.
I don’t mind the WriteSecurity change but it doesn’t really make any sense why the read security is also CoreScript only.