mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 10:17:16 +02:00
Improve missing player error message
This commit is contained in:
parent
46ad0a5c40
commit
b7dc5d7f7a
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ void Controller::getNextMessage()
|
|||
player_ = createPlayer<FilePlayer>(settings_.player, "file");
|
||||
|
||||
if (!player_)
|
||||
throw SnapException("No audio player support");
|
||||
throw SnapException("No audio player support" + (settings_.player.player_name.empty() ? "" : " for: " + settings_.player.player_name));
|
||||
|
||||
player_->setVolumeCallback([this](double volume, bool muted) {
|
||||
static double last_volume(-1);
|
||||
|
|
Loading…
Add table
Reference in a new issue