Skip to content

Commit

Permalink
Added the optional "@attr" with the "user.getRecentTracks" response m…
Browse files Browse the repository at this point in the history
…ethod for current song playing (#29)

the api returns an optional "@attr" with the "user.getRecentTracks" method if the user is currently playing a song
  • Loading branch information
ZOASR committed Nov 28, 2023
1 parent e18518d commit 62fbe45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,9 @@ export type LastFMUserGetRecentTracksResponse = Readonly<{
uts: string;
'#text': string;
};
'@attr'?: {
nowplaying: "true"
};
}>;
'@attr': {
user: string;
Expand Down

0 comments on commit 62fbe45

Please sign in to comment.