diff --git a/lib/music_library_web/live/scrobble_live/index.ex b/lib/music_library_web/live/scrobble_live/index.ex
index a473ab13..ea4595cb 100644
--- a/lib/music_library_web/live/scrobble_live/index.ex
+++ b/lib/music_library_web/live/scrobble_live/index.ex
@@ -13,7 +13,7 @@ defmodule MusicLibraryWeb.ScrobbleLive.Index do
selected_release_group: nil,
releases: [],
loading: false,
- can_scrobble: ScrobbleActivity.can_scrobble?()
+ can_scrobble?: ScrobbleActivity.can_scrobble?()
)}
end
diff --git a/lib/music_library_web/live/scrobble_live/index.html.heex b/lib/music_library_web/live/scrobble_live/index.html.heex
index dee2eb89..2c51a42e 100644
--- a/lib/music_library_web/live/scrobble_live/index.html.heex
+++ b/lib/music_library_web/live/scrobble_live/index.html.heex
@@ -3,22 +3,15 @@
{gettext("Scrobble to Last.fm")}
-
- Search for MusicBrainz releases and scrobble them to Last.fm
-
- <%= if not @can_scrobble do %>
-
-
- <.icon name="hero-exclamation-triangle" class="h-5 w-5 text-yellow-400" />
-
-
- You need to connect your Last.fm account to scrobble. Please set up your Last.fm session key in the settings.
-
-
-
-
- <% end %>
+
+ <.button :if={!@can_scrobble?} size="sm" href={LastFm.auth_url()}>
+ {gettext("Connect your Last.fm account")}
+
+
<.form for={%{}} as={:search} phx-submit="search" class="space-y-4">
diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot
index 7e42050f..19b50e13 100644
--- a/priv/gettext/default.pot
+++ b/priv/gettext/default.pot
@@ -748,6 +748,7 @@ msgid "Release scrobbled successfully"
msgstr ""
#: lib/music_library_web/components/release.ex
+#: lib/music_library_web/live/scrobble_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Connect your Last.fm account"
msgstr ""
diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po
index 4fa844ac..31c79368 100644
--- a/priv/gettext/en/LC_MESSAGES/default.po
+++ b/priv/gettext/en/LC_MESSAGES/default.po
@@ -748,6 +748,7 @@ msgid "Release scrobbled successfully"
msgstr ""
#: lib/music_library_web/components/release.ex
+#: lib/music_library_web/live/scrobble_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Connect your Last.fm account"
msgstr ""