ripping almost works

This commit is contained in:
chudov
2008-12-01 20:24:16 +00:00
parent a6673c4c2d
commit 9d64805a5e
17 changed files with 1945 additions and 1430 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;
using System.Text;
using CUETools.Processor;
namespace JDP {
static class Program {
@@ -14,8 +15,11 @@ namespace JDP {
if (args.Length > 1 && (args[0] == "/verify" || args[0] == "/convert" || args[0] == "/fix"))
{
frmBatch batch = new frmBatch();
batch.AccurateRip = (args[0] != "/convert");
batch.AccurateOffset = (args[0] == "/fix");
batch.AccurateRip =
args[0] == "/convert" ? AccurateRipMode.VerifyAndConvert :
args[0] == "/fix" ? AccurateRipMode.VerifyThenConvert :
AccurateRipMode.Verify;
if (args.Length == 2 && args[1][0] != '@')
batch.InputPath = args[1];
else for (int i = 1; i < args.Length; i++)