WIP Cover POC

This commit is contained in:
2024-01-29 23:44:04 +01:00
parent e7af7f471f
commit 7c7bc48d09
3 changed files with 99 additions and 0 deletions

View File

@@ -7,7 +7,9 @@
</div>
<div class="alert alert-warning">
<img class="images" src="data:image/png;base64, {{album.Cover}}" height="500"/>
<h3>Debug Zone</h3>
ID: {{album.id}}<br />
Returned song: {{songs.length}}<br />
Theorical number song: {{ album ? album['Track Count'] : "" }}
<span *ngIf="album && (songs.length == album['Track Count'])" class="glyphicon glyphicon-ok" style="color:green"></span>

View File

@@ -1,5 +1,7 @@
export class Album {
id: number;
Name: string;
Cover: string;
Album: string;
Artist: Array<string>;
Rating: number;