Skip to content

Commit

Permalink
Set original author instead of author
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Jan 2, 2025
1 parent 7326094 commit 5c06e9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static MidiSong readSong(final InputStream is, final String fileName) thr
final double microsPerTick = (double) newMpq / sequence.getResolution();
song.getTempoEvents().setTempo((int) event.getTick(), (float) (1_000_000D / microsPerTick));
} else if (metaMessage.getType() == META_COPYRIGHT_NOTICE) {
song.setAuthor(new String(metaMessage.getData(), StandardCharsets.US_ASCII));
song.setOriginalAuthor(new String(metaMessage.getData(), StandardCharsets.US_ASCII));
} else if (metaMessage.getType() == META_TRACK_NAME) {
song.setTitle(new String(metaMessage.getData(), StandardCharsets.US_ASCII));
}
Expand Down

0 comments on commit 5c06e9c

Please sign in to comment.