This commit is contained in:
simon
2025-02-22 04:34:55 +00:00
parent 9e5df22701
commit 3a14b62de4
2 changed files with 3 additions and 1 deletions

View File

@@ -148,6 +148,8 @@ export class SubsonicMusicLibrary implements MusicLibrary {
artistId: artist.id, artistId: artist.id,
artistImageURL: [ artistImageURL: [
artist.artistImageUrl, artist.artistImageUrl,
// todo: subsonic.artistInfo should just return a valid image or undefined, then the music lib just chooses first undefined
// out of artist.image and artistInfo.image
artistInfo.images.l, artistInfo.images.l,
artistInfo.images.m, artistInfo.images.m,
artistInfo.images.s, artistInfo.images.s,

View File

@@ -255,7 +255,7 @@ export type ArtistWithAlbum = {
album: Album; album: Album;
}; };
describe("artistURN", () => { describe("artistImageURN", () => {
describe("when artist URL is", () => { describe("when artist URL is", () => {
describe("a valid external URL", () => { describe("a valid external URL", () => {
it("should return an external URN", () => { it("should return an external URN", () => {