Skip to content

Commit

Permalink
Temp workaround for RPi.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Oct 20, 2024
1 parent 16f2c4b commit 0faed42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/undermidi/player/queue.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@
((next-song (= `#m(device "") state))
(play-next next-song (mset state
'device
(proplists:get_value 1 (mref (um:devices) 'outputs)))))
;; XXX this isn't smart enough ... e.g., ordering changes on the
;; RaspberryPI with external synths connected. In fact, the synth
;; name isn't always the same when the Pi starts up.
(proplists:get_value 2 (mref (um:devices) 'outputs)))))
((next-song (= `#m(device ,device channel ,channel) state))
(if (playing? state)
(progn
Expand Down

0 comments on commit 0faed42

Please sign in to comment.