Don't scrobble releases with zero duration

This commit is contained in:
Claudio Ortolina
2025-10-23 10:27:08 +01:00
parent fe243892f1
commit 7b697827fd
4 changed files with 848 additions and 6 deletions
@@ -25,6 +25,12 @@ defmodule MusicBrainz.Fixtures.Release do
|> JSON.decode!()
end
def release_with_media(:marbles) do
Path.join([@fixtures_folder, "release_with_media - marillion - marbles.json"])
|> File.read!()
|> JSON.decode!()
end
def release_id(name) do
release(name) |> Map.get("id")
end