If you are going to customise, clone the module. I do that with search and replace but I think jrAparna can do it all for you.
Then when you update your inactive jrAudio module you just compare your active myAudio module to your newly updated jrAudio module, and add the new lines of code.
So in your dev site you have jrAudio (inactive) which is always up to date, and a clone named myAudio (active) which you update at your leisure, if necessary. You can do the same with skins as well.
If it is only the templates that you are changing it's even simpler - just override the module templates in the skin directory.
You can specify requirements for modules in the init function:
function ujIpsumJam_meta(){
$_tmp = array(
'name' => 'Ipsum Jam',
'url' => 'ipsumjam',
'version' => '1.0.2',
'requires' => 'jrCore:5.1.0,jrEmbed',
'developer' => 'Ultrajam, ©' . strftime('%Y'),
'description' => 'Gratuitous Lorem Ipsum Jamming',
'category' => 'tools'
);
return $_tmp;
}
'requires' => 'jrCore:5.1.0,jrEmbed',
That specifies at least version 5.1.0 of the core, and any version of jrEmbed. The module will install but cannot be activated if it doesn't meet the requirements.
--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)