Prepare for the plugin interface.
Prepare to make this a new plugin API, for example to use a SMB share for the music_directory.