112 lines
3.0 KiB
HTML
112 lines
3.0 KiB
HTML
<div class="container">
|
|
<div class="col-md-12">
|
|
<h3>Top Played Album (Naive Way)</h3>
|
|
<div class="alert alert-info">
|
|
<strong>Caution:</strong> In this list, albums with more than 10 artists are ignored.
|
|
</div>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Album</th>
|
|
<th>Artist Name</th>
|
|
<th>Track Count</th>
|
|
<th>Play Count</th>
|
|
<th>Average Play</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let album of mostPlayedAlbumsNaive">
|
|
<td>
|
|
<b>{{album.Name}}</b>
|
|
</td>
|
|
<td>{{album['Album Artist'] ? album['Album Artist'] : album.Artist}}</td>
|
|
<td>{{album['Track Count']}}</td>
|
|
<td>{{album['Play Count']}}</td>
|
|
<td>{{album['Play Count'] / album['Track Count'] | round}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
<h3>Top Played Album (avg. play way)</h3>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Album</th>
|
|
<th>Artist Name</th>
|
|
<th>Track Count</th>
|
|
<th>Play Count</th>
|
|
<th>Average Play</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let album of mostPlayedAlbums">
|
|
<td>
|
|
<b>{{album.Name}}</b>
|
|
</td>
|
|
<td>{{album['Album Artist'] ? album['Album Artist'] : album.Artist}}</td>
|
|
<td>{{album['Track Count']}}</td>
|
|
<td>{{album['Play Count']}}</td>
|
|
<td>{{album['Play Count'] / album['Track Count'] | round}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
<h3>Top Played Artist (Naive Way)</h3>
|
|
<!-- <div class="alert alert-info"> -->
|
|
<!-- <strong>Caution:</strong> In this list, artist with more than 10 artists are ignored. -->
|
|
<!-- </div> -->
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Artist</th>
|
|
<th>Album Count</th>
|
|
<th>Track Count</th>
|
|
<th>Play Count</th>
|
|
<th>Average Play</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let artist of mostPlayedArtistsNaive">
|
|
<td>
|
|
<b>{{artist.Name}}</b>
|
|
</td>
|
|
<td>{{artist.Album.length}}</td>
|
|
<td>{{artist['Track Count']}}</td>
|
|
<td>{{artist['Play Count']}}</td>
|
|
<td>{{artist['Play Count'] / artist['Track Count'] | round}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
<h3>Top Played Artist (avg. play way)</h3>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Artist</th>
|
|
<th>Album Count</th>
|
|
<th>Track Count</th>
|
|
<th>Play Count</th>
|
|
<th>Average Play</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let artist of mostPlayedArtists">
|
|
<td>
|
|
<b>{{artist.Name}}</b>
|
|
</td>
|
|
<td>{{artist.Album.length}}</td>
|
|
<td>{{artist['Track Count']}}</td>
|
|
<td>{{artist['Play Count']}}</td>
|
|
<td>{{artist['Play Count'] / artist['Track Count'] | round}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|