fix(navidrome): clean up audio stats integration (#6493)
This commit is contained in:
1 parent
6a3cee8107
commit
61128ddcc8
8 files changed
+29
-209
No files matched your search
@@ -55,17 +55,15 @@ export class NavidromeIntegration extends Integration implements IMediaServerInt
|
||||
}
|
||||
|
||||
public async getDashboardDataAsync(): Promise<NavidromeDashboardData> {
|
||||
const [artistCount, libraryCounts, nowPlaying] = await Promise.all([
|
||||
const [artistCount, libraryCounts] = await Promise.all([
|
||||
this.getArtistCountAsync(),
|
||||
this.getAlbumAndSongCountsAsync(),
|
||||
this.getNowPlayingAsync(),
|
||||
]);
|
||||
|
||||
return {
|
||||
artistCount,
|
||||
albumCount: libraryCounts.albumCount,
|
||||
songCount: libraryCounts.songCount,
|
||||
nowPlaying,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user