add new slop

This commit is contained in:
IsraelGPT 2026-03-29 21:29:24 +00:00
parent a63f87410f
commit 386c6123d8
3 changed files with 73 additions and 2 deletions

View file

@ -7,7 +7,7 @@
"postCreateCommand": "git config --local core.editor \"code --wait\" && git config --local commit.gpgsign false && npm install && bun install",
"customizations": {
"vscode": {
"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "anthropic.claude-code"]
}
},
"mounts": ["source=${env:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached"]

View file

@ -706,7 +706,7 @@ export class UIRenderer {
return this.createBaseCardHTML({
type: 'album',
id: album.id,
href: `/album/${album.id}`,
href: album._href || `/album/${album.id}`,
title: `${escapeHtml(album.title)} ${explicitBadge} ${qualityBadge}`,
subtitle: `${escapeHtml(artistName)}${yearDisplay}${typeLabel}`,
imageHTML: this.getCoverHTML(
@ -2546,6 +2546,28 @@ export class UIRenderer {
itemsToStore.push({ el: null, data: result.album, type: 'album' });
}
}
} else if (item.type === 'userplaylist') {
if (item.id && item.title) {
const playlist = {
id: item.id,
name: item.title,
cover: item.cover,
numberOfTracks: item.numberOfTracks || 0,
};
cardsHTML.push(
this.createAlbumCardHTML({
...playlist,
title: item.title,
artist: item.artist,
cover: item.cover,
explicit: item.explicit,
releaseDate: item.releaseDate,
type: 'ALBUM',
_href: `/userplaylist/${item.id}`,
})
);
itemsToStore.push({ el: null, data: playlist, type: 'user-playlist' });
}
} else if (item.type === 'artist') {
if (item.name && item.picture) {
// Use cached data directly

View file

@ -1,4 +1,53 @@
[
{
"type": "userplaylist",
"id": "6i4y9s7y5hb5wyz",
"title": "BULLY",
"artist": { "id": 25022, "name": "Kanye West" },
"releaseDate": "2026-03-28",
"cover": "https://i.imgur.gg/pLz6Vrf-d4v.jpg",
"explicit": true,
"numberOfTracks": 18
},
{
"type": "artist",
"id": 10932434,
"name": "black midi",
"picture": "025bd6b8-be5f-4c95-bda0-e313f94cfdf5"
},
{
"type": "album",
"id": 310478316,
"title": "Lone Wolf",
"artist": { "id": 4225137, "name": "Jay Lewis" },
"releaseDate": "2023-09-08",
"cover": "b1c432b6-2e3a-483f-9026-853741756ad3",
"explicit": true,
"audioQuality": "LOSSLESS",
"mediaMetadata": { "tags": ["LOSSLESS"] }
},
{
"type": "album",
"id": 509288326,
"title": "BBY LOBOTOMY",
"artist": { "id": 48966543, "name": "Percatric" },
"releaseDate": "2026-03-20",
"cover": "9b0bbcef-1cc2-44ef-b741-40880cea49b9",
"explicit": true,
"audioQuality": "LOSSLESS",
"mediaMetadata": { "tags": ["LOSSLESS", "HIRES_LOSSLESS"] }
},
{
"type": "album",
"id": 101715365,
"title": "Icedancer",
"artist": { "id": 5555246, "name": "Bladee" },
"releaseDate": "2018-12-29",
"cover": "11465814-2e0b-4d46-8a72-5df21f1ac0b8",
"explicit": true,
"audioQuality": "LOSSLESS",
"mediaMetadata": { "tags": ["LOSSLESS"] }
},
{
"type": "album",
"id": 18083938,