When I create a new album (image library) programmatically, it creates it using the default storage provider.
//Create the album.
album = librariesManager.CreateAlbum(albumId);
//Set the properties of the album.
album.Title = albumTitle;
album.DateCreated = DateTime.UtcNow;
album.LastModified = DateTime.UtcNow;
album.UrlName = Regex.Replace(albumTitle.ToLower(), @
//Recompiles and validates the url of the album.
//Save the changes.
This creates a new image library set to use Database storage, if that is the default storage provider in the system.
I need to set it to another file based storage provider I have created. I can't make this the default storage provider because it would cause problems elsewhere.
Can you programmatically set the storage provider for a new album?