diff --git a/templates/index.html b/templates/index.html
index 1449680..761ad32 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -771,6 +771,9 @@
${show.title}${show.year ? ` (${show.year})` : ''}
const show = showsWithMissing[showTitle];
const showId = `show-${show.tmdb_show_id}`;
const collapseId = `collapse-${show.tmdb_show_id}`;
+ const xdccCount = show.episodes.reduce((total, episode) => {
+ return total + (Array.isArray(episode.xdcc_results) ? episode.xdcc_results.length : 0);
+ }, 0);
const posterUrl = show.poster_path ?
`https://image.tmdb.org/t/p/w300${show.poster_path}` : null;
@@ -797,6 +800,9 @@ ${show.title}${show.year ? ` (${show.year})` : ''}
${show.episodes.length} missing episode${show.episodes.length > 1 ? 's' : ''}
+ ยท
+
+ ${xdccCount} XDCC${xdccCount === 1 ? '' : 's'} available
${getSeasonBadges(show.episodes)}