notandy / ympd

Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS
http://www.ympd.org
GNU General Public License v2.0
523 stars 144 forks source link

Missing Speaker selection #170

Open LordMyschkin opened 6 years ago

LordMyschkin commented 6 years ago

in the new build, I cannot longer see my airplay speaker in ympd; there used to be a button on the right side vor local out and for my airplay speaker - but now, there is not. This may be related to pull request #159 with commit 2e9d477. There is local out and one airplay speaker - and it is definitily usful to be able to enable and disable both, since most of the time, I only use streaming, so "no output" at all and still listening

embhd commented 6 years ago

My bad, you're right, obj.data.length in 2e9d477 always returns "undefined", which is bound to fail the if-clause. Pull request #171 should fix it.