Season 0 only recognizes one folder

This commit is contained in:
TwistedUmbrellaX 2024-03-04 11:51:55 -05:00
parent baa1486097
commit bcacfc8517

View File

@ -30,11 +30,14 @@
<div class="checkboxContainer checkboxContainer-withDescription"> <div class="checkboxContainer checkboxContainer-withDescription">
<label class="emby-checkbox-label"> <label class="emby-checkbox-label">
<input id="AnalyzeSeasonZero" type="checkbox" is="emby-checkbox" /> <input id="AnalyzeSeasonZero" type="checkbox" is="emby-checkbox" />
<span>Analyze show extras</span> <span>Analyze season 0</span>
</label> </label>
<div class="fieldDescription"> <div class="fieldDescription">
Analyze show extras (specials). If checked, season 0 (specials / extras) will be included in analysis.
<br />
Note: Shows containing both a specials and extra folder will identify extras as season 0
and ignore specials, regardless of this setting.
</div> </div>
</div> </div>
@ -727,10 +730,10 @@
rhs = await getJson("Intros/Episode/" + selectEpisode2.value + "/Chromaprint"); rhs = await getJson("Intros/Episode/" + selectEpisode2.value + "/Chromaprint");
if (lhs === undefined) { if (lhs === undefined) {
timestampError.value += "Error: " + selectEpisode1.value + " fingerprints missing!\n"; timestampError.value += "Error: " + selectEpisode1.value + " fingerprints failed!\n";
} }
if (rhs === undefined) { if (rhs === undefined) {
timestampError.value += "Error: " + selectEpisode2.value + " fingerprints missing!"; timestampError.value += "Error: " + selectEpisode2.value + " fingerprints failed!";
} }
if (timestampError.value == "") { if (timestampError.value == "") {
timestampError.style.display = "none"; timestampError.style.display = "none";