Ok, I've written a small script to link a Custom Resources directory, and everything in a Standard View skins directory to the OSX application. This will allow you to maintain a Skins directory and Custom Resources directory *outside* of the app, so they don't get overwritten with updates. You'll need to run the script any time you update the app, but that's it.
My script expects:
Custom Resources at:
$HOME/Library/Application Support/J River/Media Center 20/Preserve/Custom Resources
Skins for Standard View at:
$HOME/Library/Application Support/J River/Media Center 20/Preserve/Skins/Standard View
Where $HOME is your home directory.
You can change either one of these (or both) if you want. I chose the directory "Preserve" because these are files and settings to be preserved when a new installation happens.
Here's the script:
#!/bin/bash
# Location of Custom Resources directory to be linked
CUSTRES="$HOME/Library/Application Support/J River/Media Center 20/Preserve/Custom Resources"
# Location of Skins directory to link.
SKINS="$HOME/Library/Application Support/J River/Media Center 20/Preserve/Skins/Standard View"
# JRiver Media Center application
MC="/Applications/Media Center 20.app"
if [ ! -d "$MC" ]; then
echo "Can't find Media Center at $MC. Exiting."
exit 1
fi
if [ -d "$CUSTRES" ]; then
echo "Linking $CUSTRES"
ln -s "$CUSTRES" "$MC/Contents/Resources/Data/Custom Resources"
else
echo "Can't find Custom Resources directory at $CUSTRES . Skipping"
fi
if [ -d "$SKINS" ]; then
echo "Linking Skins:"
ls "$SKINS"
ln -s "$SKINS"/* "$MC/Contents/Resources/Skins/Standard View"
else
echo "Can't find Skins directory at $SKINS . Skipping"
fi
I've tested this a little, but I'm the only user so far so...
It will produce errors if you run it more than once because the links will fail, as they are all already there. This is harmless and you can run it more than once if you want. If you add Skins, you can run it again to add them. If there's some call to do so, I can change the script to clean out all custom Skins first and then add them all back in.
Of course the cleanest way to do this is to re-install the App from the DMG file, then run the script again. That way you get a fresh start.
If scripts are new to you, copy the script text up above. Save it to a file. Then open a terminal and navigate to where you have the script at. Pretend you have named it jriver_link_osx.sh . Then type this in the terminal:
chmod 755 jriver_link_osx.sh
./jriver_link_osx.sh
That should do it.
Let me know how this works, or any bugs.
Thanks,
Brian.