Skip to content

Commit 48533d1

Browse files
committed
Fix Java code for new KSY file
Even though we can’t yet specify we want extended databases.
1 parent 83144fa commit 48533d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/deepsymmetry/cratedigger/Database.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ public class Database implements Closeable {
4747
*/
4848
@API(status = API.Status.STABLE)
4949
public Database(File sourceFile) throws IOException {
50+
// TODO add arity where we can set isExt.
5051
this.sourceFile = sourceFile;
51-
pdb = new RekordboxPdb(new RandomAccessFileKaitaiStream(sourceFile.getAbsolutePath()));
52+
pdb = new RekordboxPdb(new RandomAccessFileKaitaiStream(sourceFile.getAbsolutePath()), false);
5253

5354
final SortedMap<String, SortedSet<Long>> mutableTrackTitleIndex = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);
5455
final SortedMap<Long, SortedSet<Long>> mutableTrackArtistIndex = new TreeMap<>();

0 commit comments

Comments
 (0)