Log when applying all scrobble rules via UI

This commit is contained in:
Claudio Ortolina
2025-09-28 08:25:23 +03:00
parent 5f5b66d037
commit 43e60b1228
@@ -96,6 +96,8 @@ defmodule MusicLibraryWeb.ScrobbleRulesLive.Index do
def handle_event("apply_all_rules", _params, socket) do
results = ScrobbleRules.apply_all_rules()
ScrobbleRules.log_apply_results(results)
total_updated =
results
|> Enum.filter(fn {status, _} -> status == :ok end)