GioF71 / tidal-connect

Simple script for configuring Tidal Connect with Docker (also on Volumio, MoodeAudio, OSMC)
MIT License
64 stars 6 forks source link

[Improvement] Don't just use sysdefault when there's one card only #172

Closed GioF71 closed 1 month ago

GioF71 commented 2 months ago

With reference to this post, when CARD_INDEX and CARD_NAME are not specified, but there is only one card available (need to understand how to count those cards), we should behave as if CARD_INDEX was set to 0.

GioF71 commented 1 month ago

After long thinking about this feature, I believe it would be wrong to implement it. After all, all that is required on the user side is to add a CARD_INDEX=0 to the .env file in order to force the one card instead of using sysdefault, which remains the legitimate choice (IMO) when the user does not express a preference on the output device.