mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
287e203449 | ||
|
|
92be208a35 |
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
-
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 16.6.x
|
||||
-
|
||||
run: yarn install
|
||||
-
|
||||
|
||||
@@ -268,7 +268,7 @@ export const album = (bonobUrl: URLBuilder, album: AlbumSummary) => ({
|
||||
itemType: "album",
|
||||
id: `album:${album.id}`,
|
||||
artist: album.artistName,
|
||||
artistId: album.artistId,
|
||||
artistId: `artist:${album.artistId}`,
|
||||
title: album.name,
|
||||
albumArtURI: defaultAlbumArtURI(bonobUrl, album).href(),
|
||||
canPlay: true,
|
||||
|
||||
@@ -299,7 +299,7 @@ describe("album", () => {
|
||||
albumArtURI: defaultAlbumArtURI(bonobUrl, someAlbum).href(),
|
||||
canPlay: true,
|
||||
artist: someAlbum.artistName,
|
||||
artistId: someAlbum.artistId,
|
||||
artistId: `artist:${someAlbum.artistId}`,
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -1168,7 +1168,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})
|
||||
),
|
||||
@@ -1205,7 +1205,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 2,
|
||||
@@ -1509,7 +1509,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 0,
|
||||
@@ -1557,7 +1557,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 0,
|
||||
@@ -1605,7 +1605,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 0,
|
||||
@@ -1653,7 +1653,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 0,
|
||||
@@ -1701,7 +1701,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 0,
|
||||
@@ -1747,7 +1747,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 0,
|
||||
@@ -1793,7 +1793,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 2,
|
||||
@@ -1837,7 +1837,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 0,
|
||||
@@ -1884,7 +1884,7 @@ describe("api", () => {
|
||||
it
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: it.artistId,
|
||||
artistId: `artist:${it.artistId}`,
|
||||
artist: it.artistName,
|
||||
})),
|
||||
index: 0,
|
||||
@@ -2344,7 +2344,7 @@ describe("api", () => {
|
||||
album
|
||||
).href(),
|
||||
canPlay: true,
|
||||
artistId: album.artistId,
|
||||
artistId: `artist:${album.artistId}`,
|
||||
artist: album.artistName,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user