@@ -496,7 +496,6 @@ private void exportSong(final ListFrame.LoadedSong song, final File file, final
496496 case VBR -> OggOpusAudioOutputStream .Encoding .vbr ((int ) this .opusBitrate .getValue ());
497497 };
498498 final Map <String , List <String >> tags = new LinkedHashMap <>();
499- tags .put ("RENDERER" , List .of ("NoteBlockTool" ));
500499 if (songRenderer .getSong ().getTitle () != null ) {
501500 tags .put ("TITLE" , List .of (songRenderer .getSong ().getTitle ()));
502501 }
@@ -506,6 +505,7 @@ private void exportSong(final ListFrame.LoadedSong song, final File file, final
506505 if (songRenderer .getSong ().getDescription () != null ) {
507506 tags .put ("DESCRIPTION" , List .of (songRenderer .getSong ().getDescription ()));
508507 }
508+ tags .put ("Renderer" , List .of ("NoteBlockTool" ));
509509 yield OggOpusAudioOutputStream .createCompatible (new BufferedOutputStream (new FileOutputStream (file ), 1024 * 1024 ), buffer .format (), encoding , OpusSignal .OPUS_SIGNAL_MUSIC , tags );
510510 }
511511 case MP3 -> {
@@ -517,7 +517,8 @@ private void exportSong(final ListFrame.LoadedSong song, final File file, final
517517 final Mp3AudioOutputStream .Id3Tags id3Tags = new Mp3AudioOutputStream .Id3Tags ()
518518 .withTitle (songRenderer .getSong ().getTitle ())
519519 .withArtist (songRenderer .getSong ().getAuthor ())
520- .withComment (songRenderer .getSong ().getDescription ());
520+ .withComment (songRenderer .getSong ().getDescription ())
521+ .withCustomField ("Renderer" , "NoteBlockTool" );
521522 yield new Mp3AudioOutputStream (new SeekableBufferedOutputStream (new SeekableFileOutputStream (file ), 1024 * 1024 ), buffer .format (), encoding , id3Tags );
522523 }
523524 default -> throw new UnsupportedOperationException ("Unsupported output format: " + outputFormat );
0 commit comments