mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Add raw DVD sector report parsing (#9)
This commit is contained in:
@@ -292,6 +292,10 @@ public sealed class TestedMediasController : Controller
|
||||
case nameof(testedMedia.HLDTSTReadRawDVDData):
|
||||
buffer = testedMedia.HLDTSTReadRawDVDData;
|
||||
|
||||
break;
|
||||
case nameof(testedMedia.LiteOnReadRawDVDData):
|
||||
buffer = testedMedia.LiteOnReadRawDVDData;
|
||||
|
||||
break;
|
||||
case nameof(testedMedia.IdentifyData):
|
||||
buffer = testedMedia.IdentifyData;
|
||||
|
||||
@@ -311,6 +311,12 @@
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.SupportsHLDTSTReadRawDVD)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.SupportsLiteOnReadRawDVD)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.SupportsLiteOnReadRawDVD)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.SupportsNECReadCDDA)
|
||||
</dt>
|
||||
|
||||
@@ -310,6 +310,12 @@
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.SupportsHLDTSTReadRawDVD)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.SupportsLiteOnReadRawDVD)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.SupportsLiteOnReadRawDVD)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.SupportsNECReadCDDA)
|
||||
</dt>
|
||||
|
||||
@@ -426,6 +426,12 @@ public sealed class ReportController : Controller
|
||||
|
||||
if(report.SCSI.ReadCapabilities.SupportsReadLong16 == true)
|
||||
scsiOneValue.Add("Device supports READ LONG (16) command.");
|
||||
|
||||
if(report.SCSI.ReadCapabilities.SupportsHLDTSTReadRawDVD == true)
|
||||
scsiOneValue.Add("Device supports reading RAW DVD data using HL-DT-ST vendor command");
|
||||
|
||||
if(report.SCSI.ReadCapabilities.SupportsLiteOnReadRawDVD == true)
|
||||
scsiOneValue.Add("Device supports reading RAW DVD data using Lite-On READ BUFFER command");
|
||||
}
|
||||
else
|
||||
testedMedia = report.SCSI.RemovableMedias;
|
||||
|
||||
@@ -281,6 +281,9 @@ public static class TestedMedia
|
||||
if(testedMedia.SupportsHLDTSTReadRawDVD == true)
|
||||
mediaOneValue.Add("Device can use the HL-DT-ST vendor READ DVD (RAW) command with this medium");
|
||||
|
||||
if(testedMedia.SupportsLiteOnReadRawDVD == true)
|
||||
mediaOneValue.Add("Device can use the Lite-On READ BUFFER (RAW) command with this medium");
|
||||
|
||||
if(testedMedia.SupportsNECReadCDDA == true)
|
||||
mediaOneValue.Add("Device can use the NEC vendor READ CD-DA command with this medium");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user