mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Return tracks as null in raw image when image is not from an optical disc.
This commit is contained in:
@@ -55,8 +55,7 @@ namespace DiscImageChef.DiscImages
|
||||
{
|
||||
get
|
||||
{
|
||||
if(imageInfo.XmlMediaType != XmlMediaType.OpticalDisc)
|
||||
throw new FeatureUnsupportedImageException("Feature not supported by image format");
|
||||
if(imageInfo.XmlMediaType != XmlMediaType.OpticalDisc) return null;
|
||||
|
||||
Track trk = new Track
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user