Add logic to import a batch of Last.fm tracks

This commit is contained in:
Claudio Ortolina
2025-05-31 16:16:24 +01:00
parent d01d16f1ae
commit a27b38f192
3 changed files with 31 additions and 1 deletions
+5
View File
@@ -7,6 +7,11 @@ defmodule LastFm do
def refresh_scrobbled_tracks, do: Refresh.refresh()
def get_tracks(to_uts) do
last_fm_config = last_fm_config()
API.get_recent_tracks(to_uts, last_fm_config)
end
def get_artist_info(musicbrainz_id, name) do
last_fm_config = last_fm_config()