I made a solution to make global media keys using automator
First you need to create quick action service for each shortcut you need, for example for next track music I created this quick action service :
Then you need to create automator application(AppleScript) to do the job :
Finally you need to define keyboard shortcuts for actions you created:
Now close the windows and enjoy your new functional keys.
There should be better solution that creating single application for each task, like sending parameter to single application to do all the actions. I'll update my answer if I could accomplish that.