mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added hint for XML metadata creator to know which kind of
media the image represents.
This commit is contained in:
@@ -263,6 +263,22 @@ namespace DiscImageChef.ImagePlugins
|
||||
|
||||
ImageInfo.diskType = CalculateDiskType();
|
||||
|
||||
switch (ImageInfo.diskType)
|
||||
{
|
||||
case DiskType.CD:
|
||||
case DiskType.DVDPR:
|
||||
case DiskType.DVDR:
|
||||
case DiskType.DVDRDL:
|
||||
case DiskType.DVDPRDL:
|
||||
case DiskType.BDR:
|
||||
case DiskType.BDRXL:
|
||||
ImageInfo.xmlMediaType = XmlMediaType.OpticalDisc;
|
||||
break;
|
||||
default:
|
||||
ImageInfo.xmlMediaType = XmlMediaType.BlockMedia;
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user