mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-07-08 17:56:18 +00:00
Merge pull request #403 from SilasLaspada/master
Don't write ISRC to CDRDAO or CDRWin images if it's null or white space
This commit is contained in:
@@ -593,7 +593,7 @@ namespace Aaru.DiscImages
|
||||
flags.HasFlag(CdFlags.FourChannel) ? "FOUR" : "TWO");
|
||||
}
|
||||
|
||||
if(_trackIsrcs.TryGetValue((byte)track.TrackSequence, out string isrc))
|
||||
if(_trackIsrcs.TryGetValue((byte)track.TrackSequence, out string isrc) && !string.IsNullOrWhiteSpace(isrc))
|
||||
_descriptorStream.WriteLine("ISRC {0}", isrc);
|
||||
|
||||
(byte minute, byte second, byte frame) msf =
|
||||
|
||||
@@ -513,7 +513,7 @@ namespace Aaru.DiscImages
|
||||
flags.HasFlag(CdFlags.PreEmphasis) ? " PRE" : "");
|
||||
}
|
||||
|
||||
if(_trackIsrcs.TryGetValue((byte)track.TrackSequence, out string isrc))
|
||||
if(_trackIsrcs.TryGetValue((byte)track.TrackSequence, out string isrc) && !string.IsNullOrWhiteSpace(isrc))
|
||||
_descriptorStream.WriteLine(" ISRC {0}", isrc);
|
||||
|
||||
if(track.TrackPregap > 0)
|
||||
|
||||
Reference in New Issue
Block a user