Rename scrobble -> scrobble_release and tighten options check

This commit is contained in:
Claudio Ortolina
2025-05-10 08:08:42 +01:00
parent 441751acd5
commit f223d6d739
4 changed files with 29 additions and 9 deletions
@@ -124,7 +124,7 @@ defmodule MusicLibraryWeb.ReleaseComponent do
if release_with_tracks =
release_with_tracks_async_result && release_with_tracks_async_result.result do
case ScrobbleActivity.scrobble(release_with_tracks, finished_at: DateTime.utc_now()) do
case ScrobbleActivity.scrobble_release(release_with_tracks, finished_at: DateTime.utc_now()) do
{:ok, _} ->
{:noreply,
socket