diff --git a/lib/presence/spotify.ex b/lib/presence/spotify.ex index de85bcf..3f4a105 100644 --- a/lib/presence/spotify.ex +++ b/lib/presence/spotify.ex @@ -2,7 +2,7 @@ defmodule Lanyard.Presence.Spotify do def build_pretty_spotify(activity) when is_map(activity) do %{ track_id: get_track_id(activity), - artist: activity.state, + artist: Map.get(activity, :state), song: activity.details, album: get_album_title(activity), album_art_url: get_album_art_url(activity),