mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-16 16:47:31 -05:00
add total track count
This commit is contained in:
@@ -505,10 +505,11 @@ export default class Tidal implements Streamer {
|
||||
metadata: await this.#getTrack(id)
|
||||
}
|
||||
case 'album':
|
||||
const tracks = await this.#getAlbumTracks(id)
|
||||
return {
|
||||
type,
|
||||
tracks: await this.#getAlbumTracks(id),
|
||||
metadata: await this.#getAlbum(id)
|
||||
tracks: tracks,
|
||||
metadata: { ...(await this.#getAlbum(id)), trackCount: tracks.length }
|
||||
}
|
||||
case 'artist':
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user