@@ -1,4 +1,6 @@
|
||||
defmodule LastFm.Import do
|
||||
@moduledoc false
|
||||
|
||||
@spec batch(keyword()) :: {:ok, non_neg_integer()} | {:error, term()}
|
||||
def batch(opts) do
|
||||
with {:ok, tracks} <- LastFm.get_tracks(opts) do
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
defmodule LastFm.Scrobble do
|
||||
@moduledoc false
|
||||
|
||||
defstruct [:track, :artist, :timestamp, :album, :album_artist, :mbid]
|
||||
|
||||
@type t :: %__MODULE__{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
defmodule LastFm.Session do
|
||||
@moduledoc false
|
||||
|
||||
require Record
|
||||
|
||||
defstruct [:name, :key, :pro]
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
defmodule LastFm.Supervisor do
|
||||
@moduledoc false
|
||||
|
||||
use Supervisor
|
||||
|
||||
def start_link(config) do
|
||||
|
||||
Reference in New Issue
Block a user