aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcglatot <[email protected]>2020-10-11 19:53:48 +0100
committercglatot <[email protected]>2020-10-11 19:53:48 +0100
commitc25e002b1b0d12fed485d6c1ca685659a63d530c (patch)
tree68291644c4c6072ea199a9a0de249ae9e3286483
parente2d1f7e7e403d504a78dcec2a26fef3d2bf76872 (diff)
downloadpasta-c25e002b1b0d12fed485d6c1ca685659a63d530c.tar.gz
pasta-c25e002b1b0d12fed485d6c1ca685659a63d530c.zip
Add SxEx to titles in list
-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);
}