um
This commit is contained in:
parent
400c317dd2
commit
63e4106cca
11008 changed files with 430 additions and 3704316 deletions
|
@ -260,10 +260,10 @@ namespace {
|
|||
if (std::holds_alternative<NowPlayingCode>(error))
|
||||
switch (std::get<NowPlayingCode>(error)) {
|
||||
case NowPlayingCode::NoPlayers:
|
||||
DEBUG_LOG("No MPRIS players found");
|
||||
DEBUG_LOG("No players found");
|
||||
break;
|
||||
case NowPlayingCode::NoActivePlayer:
|
||||
DEBUG_LOG("No active MPRIS player found");
|
||||
DEBUG_LOG("No active player found");
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -271,6 +271,11 @@ namespace {
|
|||
if (std::holds_alternative<LinuxError>(error))
|
||||
DEBUG_LOG("DBus error: {}", std::get<LinuxError>(error).getMessage());
|
||||
#endif
|
||||
|
||||
#ifdef __WIN32__
|
||||
if (std::holds_alternative<WindowsError>(error))
|
||||
DEBUG_LOG("WinRT error: {}", to_string(std::get<WindowsError>(error).message()));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue