This commit is contained in:
Mars 2025-02-20 20:54:38 -05:00
parent 400c317dd2
commit 63e4106cca
11008 changed files with 430 additions and 3704316 deletions

View file

@ -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
}
}