mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
* TODO:
* README.md: * DiscImageChef.DiscImages/CDRDAO.cs: * DiscImageChef.DiscImages/DiscImageChef.DiscImages.csproj: Added support for cdrdao images. Solves #53 * DiscImageChef.DiscImages/CDRWin.cs: Implemented FLAGS field support and quadraphonic/broadcasting flag. Return CD track flags for any track type. * DiscImageChef.Filesystems/ISO9660.cs: Filter null characters from Volume Descriptors. If Joliet descriptor is null, or ISO descriptor is longer, use ISO descriptor for XML metadata. * DiscImageChef/Commands/CreateSidecar.cs: If a filesystem plugin crashes, do not abort. * DiscImageChef/DetectImageFormat.cs: If an image plugin crashes, keep trying the others.
This commit is contained in:
@@ -55,12 +55,18 @@ namespace DiscImageChef.ImagePlugins
|
||||
// Check all but RAW plugin
|
||||
foreach (ImagePlugin _imageplugin in plugins.ImagePluginsList.Values)
|
||||
{
|
||||
if(_imageplugin.PluginUUID != new Guid("12345678-AAAA-BBBB-CCCC-123456789000"))
|
||||
if (_imageplugin.PluginUUID != new Guid("12345678-AAAA-BBBB-CCCC-123456789000"))
|
||||
{
|
||||
if (_imageplugin.IdentifyImage(imagePath))
|
||||
try
|
||||
{
|
||||
if (_imageplugin.IdentifyImage(imagePath))
|
||||
{
|
||||
_imageFormat = _imageplugin;
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
_imageFormat = _imageplugin;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -70,12 +76,18 @@ namespace DiscImageChef.ImagePlugins
|
||||
{
|
||||
foreach (ImagePlugin _imageplugin in plugins.ImagePluginsList.Values)
|
||||
{
|
||||
if(_imageplugin.PluginUUID == new Guid("12345678-AAAA-BBBB-CCCC-123456789000"))
|
||||
if (_imageplugin.PluginUUID == new Guid("12345678-AAAA-BBBB-CCCC-123456789000"))
|
||||
{
|
||||
if (_imageplugin.IdentifyImage(imagePath))
|
||||
try
|
||||
{
|
||||
if (_imageplugin.IdentifyImage(imagePath))
|
||||
{
|
||||
_imageFormat = _imageplugin;
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
_imageFormat = _imageplugin;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user