update to tv
Local Docker Build (Dev) / build-dev (push) Successful in 6s

This commit is contained in:
2025-11-03 20:40:42 -05:00
parent a326825347
commit d501c4364c
5 changed files with 28 additions and 17 deletions
+4 -3
View File
@@ -467,14 +467,14 @@ function updateSeriesTable(data) {
const tbody = document.getElementById('series-tbody');
if (!data.series || data.series.length === 0) {
tbody.innerHTML = '<tr><td colspan="6" class="text-center">No series found</td></tr>';
tbody.innerHTML = '<tr><td colspan="7" class="text-center">No series found</td></tr>';
return;
}
tbody.innerHTML = data.series.map(series => {
const progressPercent = series.total_episodes > 0 ?
const progressPercent = series.total_episodes > 0 ?
((series.episodes_with_dates / series.total_episodes) * 100).toFixed(1) : 0;
return `
<tr>
<td>${escapeHtml(series.title)}</td>
@@ -485,6 +485,7 @@ function updateSeriesTable(data) {
<small class="text-muted">(${progressPercent}%)</small>
</td>
<td>${series.episodes_with_video}</td>
<td>${series.episodes_skipped || 0}</td>
<td>
<button class="btn btn-sm btn-primary" onclick="viewSeriesEpisodes('${series.imdb_id}')">
<i class="fas fa-list"></i> Episodes