Remove unused functions

This commit is contained in:
Claudio Ortolina
2025-09-26 15:21:09 +03:00
parent aca5c80e4d
commit cc84c3a429
5 changed files with 0 additions and 45 deletions
-12
View File
@@ -8,8 +8,6 @@ defmodule LastFm.Feed do
to one track at a time, and the timestamp has second-level precision.
"""
import Ecto.Query
@insertable_fields [
:musicbrainz_id,
:title,
@@ -44,16 +42,6 @@ defmodule LastFm.Feed do
{:ok, count}
end
@spec all_tracks(non_neg_integer()) :: [LastFm.Track.t()]
def all_tracks(limit) do
q =
from t in LastFm.Track,
order_by: {:desc, t.scrobbled_at_uts},
limit: ^limit
MusicLibrary.Repo.all(q)
end
@spec subscribe() :: :ok
def subscribe do
Phoenix.PubSub.subscribe(LastFm.PubSub, "feed:update")