Apply scrobble rules after refreshing the feed
This commit is contained in:
@@ -34,6 +34,8 @@ defmodule LastFm.Feed do
|
|||||||
conflict_target: [:scrobbled_at_uts, :title]
|
conflict_target: [:scrobbled_at_uts, :title]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
MusicLibrary.ScrobbleRules.apply_all_rules()
|
||||||
|
|
||||||
Phoenix.PubSub.broadcast(LastFm.PubSub, "feed:update", %{track_count: count})
|
Phoenix.PubSub.broadcast(LastFm.PubSub, "feed:update", %{track_count: count})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user