public void transmogrify(TransmogrificationConfig config) {
    if (!config.getAlbumAllowRootPhotos()) {
      ensureRootAlbum();
    }
    transmogrifyTitles(config);

    // TODO(#1000): This splitting code isn't entirely correct since it assumes all the album items
    //  are present in this resource, when they could be split up it also assumes that all the
    //  albums that the images correspond to are also in this resource which may not be the case
    //  so in the meantime, i'm removing this code and it can be added in in the future.
    //  ensureAlbumSize(config.getAlbumMaxSize());
  }
Extracts a new VideosContainerResource from the relevant matching fields in a given
MediaContainerResource.
portability-types-common/src/main/java/org/datatransferproject/types/common/models/media/MediaContainerResource.java