diff --git a/tubearchivist/static/script.js b/tubearchivist/static/script.js index 6e5c818..6929026 100644 --- a/tubearchivist/static/script.js +++ b/tubearchivist/static/script.js @@ -431,7 +431,12 @@ function createVideoTag(videoData, videoProgress) { var videoSubtitles = videoData.data.subtitles; // Array of subtitles if (typeof(videoSubtitles) != 'undefined' && videoData.config.downloads.subtitle) { for (var i = 0; i < videoSubtitles.length; i++) { - subtitles += ``; + console.log(videoSubtitles[i]); + let label = videoSubtitles[i].name; + if (videoSubtitles[i].source == "auto") { + label += " - auto"; + } + subtitles += ``; } }