Skip to content

Commit

Permalink
show album browse id
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed Sep 8, 2023
1 parent f1f9b59 commit 11cb28d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mixins/browsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ export async function get_artist(
}

export interface AlbumResult extends AlbumHeader {
id: string;
tracks: PlaylistItem[];
other_versions: ParsedAlbum[] | null;
}
Expand Down Expand Up @@ -281,6 +282,7 @@ export async function get_album(
const header = parse_album_header(response);

const album: AlbumResult = {
id: find_context_param(response, "browse_id"),
...header,
tracks: parse_playlist_items(results.contents),
other_versions: null,
Expand Down

0 comments on commit 11cb28d

Please sign in to comment.