/// <summary> /// THIS HASNT BEEN TESTED IN A LONG TIME. DOES IT WORK? /// </summary> public static Disc FromIsoPath(string isoPath) { var ret = new Disc(); ret.FromIsoPathInternal(isoPath); ret.Structure.Synthesize_TOCPointsFromSessions(); ret.Synthesize_SubcodeFromStructure(); return(ret); }
public static Disc FromCuePath(string cuePath, CueBinPrefs prefs) { var ret = new Disc(); ret.FromCuePathInternal(cuePath, prefs); ret.Structure.Synthesize_TOCPointsFromSessions(); ret.Synthesize_SubcodeFromStructure(); ret.Synthesize_TOCRawFromStructure(); //try loading SBI. make sure its done after the subcode is synthesized! string sbiPath = Path.ChangeExtension(cuePath, "sbi"); if (File.Exists(sbiPath) && SBI_Format.QuickCheckISSBI(sbiPath)) { var sbi = new SBI_Format().LoadSBIPath(sbiPath); ret.ApplySBI(sbi); } return(ret); }
/// <summary> /// THIS HASNT BEEN TESTED IN A LONG TIME. DOES IT WORK? /// </summary> public static Disc FromIsoPath(string isoPath) { var ret = new Disc(); ret.FromIsoPathInternal(isoPath); ret.Structure.Synthesize_TOCPointsFromSessions(); ret.Synthesize_SubcodeFromStructure(); return ret; }
public static Disc FromCuePath(string cuePath, CueBinPrefs prefs) { var ret = new Disc(); ret.FromCuePathInternal(cuePath, prefs); ret.Structure.Synthesize_TOCPointsFromSessions(); ret.Synthesize_SubcodeFromStructure(); ret.Synthesize_TOCRawFromStructure(); //try loading SBI. make sure its done after the subcode is synthesized! string sbiPath = Path.ChangeExtension(cuePath, "sbi"); if (File.Exists(sbiPath) && SBI_Format.QuickCheckISSBI(sbiPath)) { var sbi = new SBI_Format().LoadSBIPath(sbiPath); ret.ApplySBI(sbi); } return ret; }