diff --git a/mpd-interface/httpstream.cpp b/mpd-interface/httpstream.cpp index b3acdbf41..2a9426114 100644 --- a/mpd-interface/httpstream.cpp +++ b/mpd-interface/httpstream.cpp @@ -106,6 +106,10 @@ void HttpStream::setVolume(int vol) int HttpStream::volume() { + if (!enabled) { + return -1; + } + int vol=currentVolume; if (player && !isMuted()) { #ifdef LIBVLC_FOUND