mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
tiny things
This commit is contained in:
@@ -486,6 +486,7 @@ namespace CUEToolsLib
|
|||||||
{
|
{
|
||||||
StreamReader logReader = new StreamReader(Path.ChangeExtension(pathIn, ".log"), CUESheet.Encoding);
|
StreamReader logReader = new StreamReader(Path.ChangeExtension(pathIn, ".log"), CUESheet.Encoding);
|
||||||
_eacLog = logReader.ReadToEnd();
|
_eacLog = logReader.ReadToEnd();
|
||||||
|
logReader.Close();
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
}
|
}
|
||||||
@@ -2071,6 +2072,7 @@ namespace CUEToolsLib
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
sr.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!foundAll || always)
|
if (!foundAll || always)
|
||||||
@@ -2090,7 +2092,7 @@ namespace CUEToolsLib
|
|||||||
audioFiles = newFiles.ToArray();
|
audioFiles = newFiles.ToArray();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
audioFiles = Directory.GetFiles(dir, audioExts[i]);
|
audioFiles = Directory.GetFiles(dir == "" ? "." : dir, audioExts[i]);
|
||||||
if (audioFiles.Length == filePos.Count)
|
if (audioFiles.Length == filePos.Count)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user