File storage implementations supporting default media folders are able to supply those folders by imeplemting the new interface com.openexchange.file.storage.MediaFolderAwareFold erAccess , with the following method signatures:

FileStorageFolder getPicturesFolder() throws OXException;
FileStorageFolder getDocumentsFolder() throws OXException;
FileStorageFolder getTemplatesFolder() throws OXException;
FileStorageFolder getMusicFolder() throws OXException;
FileStorageFolder getVideosFolder() throws OXException;

Folders returned there should have the corresponding folder type; the new types are available at:

com.openexchange.folderstorage.type.PicturesType
com.openexchange.folderstorage.type.DocumentsType
com.openexchange.folderstorage.type.TemplatesType
com.openexchange.folderstorage.type.MusicType
com.openexchange.folderstorage.type.VideosType