File tree 2 files changed +6
-2
lines changed
src/main/java/se/anosh/spctag
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ Name of dumper: Datschge
29
29
Comments: Bramble Maze
30
30
Date SPC was dumped:
31
31
Emulator used to dump SPC: Unknown
32
+ Length (seconds): 253
33
+ Fade length (milliseconds): 10000
32
34
-----------
33
35
XID6 tags:
34
36
-----------
Original file line number Diff line number Diff line change @@ -73,8 +73,6 @@ public void go(final CommandLine cmd) {
73
73
System .out .println ("File header: " + myFile .getHeader ());
74
74
String format = myFile .isBinaryTagFormat () ? "Binary" : "Text" ;
75
75
System .out .println ("Tag format: " + format );
76
- System .out .printf ("Length (seconds): %d\n " , myFile .getLengthSeconds () );
77
- System .out .printf ("Fade length (milliseconds): %d\n " , myFile .getFadeLengthMilliseconds ());
78
76
}
79
77
System .out .println ("Artist: " + myFile .getArtist ()); // composer
80
78
System .out .println ("Song title: " + myFile .getSongTitle ());
@@ -85,6 +83,10 @@ public void go(final CommandLine cmd) {
85
83
86
84
System .out .println ("Date SPC was dumped: " + myFile .dateDumpWasCreated ());
87
85
System .out .println ("Emulator used to dump SPC: " + myFile .getEmulatorUsedToCreateDump ().getName ());
86
+ if (cmd .hasOption (VERBOSE )) {
87
+ System .out .printf ("Length (seconds): %d\n " , myFile .getLengthSeconds () );
88
+ System .out .printf ("Fade length (milliseconds): %d\n " , myFile .getFadeLengthMilliseconds ());
89
+ }
88
90
89
91
if (cmd .hasOption (VERBOSE ) || cmd .hasOption (XID6 )) {
90
92
try {
You can’t perform that action at this time.
0 commit comments