mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-21 23:05:46 +00:00
fix(ui): split album and track artists (OpenSubsonic) (#696)
* fix(ui): split OpenSubsonic album and track artists in header and player Album detail header uses albumArtists from album or child songs; player bar, mobile player, and mini player use structured track artists with per-id links. Adds deriveAlbumHeaderArtistRefs helper and OpenArtistRefInline. Fixes #552 * docs: changelog and credits for OpenSubsonic artist links (PR #696)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { InternetRadioStation } from '../api/subsonicTypes';
|
||||
import type { InternetRadioStation, SubsonicOpenArtistRef } from '../api/subsonicTypes';
|
||||
import type { PlaybackSourceKind } from '../utils/playback/resolvePlaybackUrl';
|
||||
|
||||
export interface Track {
|
||||
@@ -8,6 +8,8 @@ export interface Track {
|
||||
album: string;
|
||||
albumId: string;
|
||||
artistId?: string;
|
||||
/** OpenSubsonic `artists` on the child song — multiple performers with ids. */
|
||||
artists?: SubsonicOpenArtistRef[];
|
||||
duration: number;
|
||||
coverArt?: string;
|
||||
track?: number;
|
||||
|
||||
Reference in New Issue
Block a user