From 62fbe451e28cc2dea04725ac75bc57150e52bcd5 Mon Sep 17 00:00:00 2001 From: ZOASR <44146518+ZOASR@users.noreply.github.com> Date: Tue, 28 Nov 2023 13:09:55 +0200 Subject: [PATCH] Added the optional "@attr" with the "user.getRecentTracks" response method for current song playing (#29) the api returns an optional "@attr" with the "user.getRecentTracks" method if the user is currently playing a song --- src/types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/types.ts b/src/types.ts index 73634de..8f57948 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1244,6 +1244,9 @@ export type LastFMUserGetRecentTracksResponse = Readonly<{ uts: string; '#text': string; }; + '@attr'?: { + nowplaying: "true" + }; }>; '@attr': { user: string;