mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Prevent empty ISRC from being added to CDRWin and CDRDAO images
Don't write ISRC to CDRDAO or CDRWin images if they're null or white space.
This commit is contained in:
@@ -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