private ExportResult<VideosContainerResource> exportVideos(UUID jobId, AD authData,
      Optional<ExportInformation> exportInfo) throws Exception {
    return videosExporter.export(jobId, authData, exportInfo.map((ei) -> {
      ContainerResource cr = ei.getContainerResource();
      if (cr instanceof MediaContainerResource) {
        cr = MediaContainerResource.mediaToVideo((MediaContainerResource) cr);
      }
      return ei.copyWithResource(cr);
    }));
  }
Allows using existing Photo and Video adapters to create a Media adapter.
portability-spi-transfer/src/main/java/org/datatransferproject/spi/transfer/provider/converter/MediaExporterDecorator.java