Skip to content

Commit

Permalink
Try .PIONEER folder as well as PIONEER for media archives.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunchboy committed May 5, 2024
1 parent d792981 commit 42b60f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/beat_link_trigger/track_loader.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2288,8 +2288,11 @@
pathname of such a file."
^File [media-root]
(let [pdb (io/file media-root "PIONEER" "rekordbox" "export.pdb")]
(when (.canRead pdb)
pdb)))
(if (.canRead pdb)
pdb
(let [pdb (io/file media-root ".PIONEER" "rekordbox" "export.pdb")]
(when (.can-read pdb)
pdb)))))

(defn find-pdb-recursive
"Searches recursively through a set of subdirectories for rekordbox
Expand Down

0 comments on commit 42b60f8

Please sign in to comment.