aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index fc94dec..f314cfc 100644
--- a/js/main.js
+++ b/js/main.js
@@ -708,8 +708,9 @@ function showSeasonInfo(data, row) {
$("#subtitleTable tbody").empty();
for (let i = 0; i < episodes.length; i++) {
+ console.log(episodes[i]);
let rowHTML = `<tr onclick="getEpisodeInfo(${episodes[i].ratingKey}, this)">
- <td>${episodes[i].title}</td>
+ <td>S${episodes[i].parentIndex}E${episodes[i].index} - ${episodes[i].title}</td>
</tr>`;
$("#episodesTable tbody").append(rowHTML);
}