Skip to content

Commit

Permalink
Fix Java code for new KSY file
Browse files Browse the repository at this point in the history
Even though we can’t yet specify we want extended databases.
  • Loading branch information
brunchboy committed Aug 30, 2024
1 parent 83144fa commit 48533d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/deepsymmetry/cratedigger/Database.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ public class Database implements Closeable {
*/
@API(status = API.Status.STABLE)
public Database(File sourceFile) throws IOException {
// TODO add arity where we can set isExt.
this.sourceFile = sourceFile;
pdb = new RekordboxPdb(new RandomAccessFileKaitaiStream(sourceFile.getAbsolutePath()));
pdb = new RekordboxPdb(new RandomAccessFileKaitaiStream(sourceFile.getAbsolutePath()), false);

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

0 comments on commit 48533d1

Please sign in to comment.