Skip to content

Commit 79cf7d7

Browse files
committed
Try always asking AZ for metadata too.
1 parent e541d16 commit 79cf7d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/beat_link_trigger/players.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
(seesaw/config! title-label :text title)
482482
(seesaw/config! artist-label :text "n/a")
483483
(when (and status
484-
(not= "CDJ-3000" (.getDeviceName status))
484+
(not (#{"CDJ-3000" "XDJ-AZ"} (.getDeviceName status)))
485485
(not (#{CdjStatus$TrackType/NO_TRACK CdjStatus$TrackType/REKORDBOX} (.getTrackType status)))
486486
(not (sending-status?)))
487487
(report-limited-metadata @player-window player))))))

src/beat_link_trigger/triggers.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@
16461646
[]
16471647
(when (every? (fn [^DeviceAnnouncement device]
16481648
(or (> (.getDeviceNumber device) 6)
1649-
(= (.getDeviceName device) "CDJ-3000")))
1649+
(#{"CDJ-3000" "XDJ-AZ"} (.getDeviceName device))))
16501650
(.getCurrentDevices device-finder))
16511651
(.setPassive metadata-finder false)))
16521652

0 commit comments

Comments
 (0)