Reduced the level of push is disabled log message to debug instead of Error

This commit is contained in:
Abdulmhsen B. A. A.
2024-08-19 15:38:03 +03:00
parent a2e3a94f11
commit d876aebe95
2 changed files with 2 additions and 2 deletions

View File

@@ -547,7 +547,7 @@ if (!function_exists('queuePush')) {
$logger = Container::get(iLogger::class);
if (false === (bool)Config::get('push.enabled', false)) {
$logger->error("Push is disabled. Unable to push '{via}: {entity}'.", [
$logger->debug("Push is disabled. Unable to push '{via}: {entity}'.", [
'via' => $entity->via,
'entity' => $entity->getName()
]);

View File

@@ -145,7 +145,7 @@ final readonly class ProcessPushEvent
'id' => $item->id,
'via' => $item->via,
'title' => $item->getName(),
'state' => $item->isWatched() ? 'watched' : 'unwatched',
'state' => $item->isWatched() ? 'played' : 'unplayed',
]);
foreach ($this->queue->getQueue() as $response) {