Skip to content

Commit

Permalink
Update changelog. Don't output minor version number
Browse files Browse the repository at this point in the history
  • Loading branch information
ullenius committed Jul 20, 2023
1 parent 021697e commit 4a1ef7b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 2.3.1
A warning is printed if the minor version (binary) field doesn't match the
minor version in the header (plain text).

### Bug fix:
Mixing (pre-amp) level is parsed correctly (xid6).

The length is 4 bytes. The old spec had an error where this field's length was
set to 1 byte. This was fixed in commit 29082c0e but the code was never updated.

## v2.3.0
### New features
Add support for two ID666-fields:
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/se/anosh/spctag/TagReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
public final class TagReader {

private static final String VERSION ="spctag version 2.3.0";
private static final String VERSION ="spctag version 2.3.1";
private static final String ABOUT = "code by A. Ullenius 2019-2023";
private static final String LICENCE = "Licence: Gnu General Public License - version 3.0 only";
private static final String TRIBUTE = "spctag is dedicated to my favourite OC remixer: Avien (1986-2004). RIP";
Expand Down Expand Up @@ -73,7 +73,7 @@ public void go(final CommandLine cmd) {
System.out.println("File header: " + myFile.getHeader());
String format = myFile.isBinaryTagFormat() ? "Binary" : "Text";
System.out.println("Tag format: " + format);
System.out.printf("SPC version minor: %d\n", myFile.getVersion());
//System.out.printf("SPC version minor: %d\n", myFile.getVersion());
}
System.out.println("Artist: " + myFile.getArtist()); // composer
System.out.println("Song title: " + myFile.getSongTitle());
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/se/anosh/spctag/dao/SpcFileReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ private void readAndSetAllFields() throws IOException {
if (id666.hasId666Tags()) {
readSongTitle();
readGameTitle();

readNameOfDumper();
readComments();


readTagFormat();

// these depend on the tag-format being binary or text
Expand Down

0 comments on commit 4a1ef7b

Please sign in to comment.