Skip to content

Commit b231fc4

Browse files
committed
ui: Swap location of chapter images + trickplay options
Chapter images is the more lightweight option so should go first, with the more intensive and advanced TrickPlay going second.
1 parent ed4417b commit b231fc4

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/components/libraryoptionseditor/libraryoptionseditor.template.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,25 @@ <h2>${HeaderLibrarySettings}</h2>
115115
<div class="mediaSegmentProviders advanced hide" style="margin-bottom: 2em;">
116116
</div>
117117

118+
<div class="chapterSettingsSection hide">
119+
<h2>${HeaderChapterImages}</h2>
120+
<div class="checkboxContainer checkboxContainer-withDescription fldExtractChapterImages">
121+
<label>
122+
<input type="checkbox" is="emby-checkbox" class="chkExtractChapterImages" />
123+
<span>${OptionExtractChapterImage}</span>
124+
</label>
125+
<div class="fieldDescription checkboxFieldDescription">${ExtractChapterImagesHelp}</div>
126+
</div>
127+
128+
<div class="checkboxContainer checkboxContainer-withDescription fldExtractChaptersDuringLibraryScan advanced">
129+
<label>
130+
<input type="checkbox" is="emby-checkbox" class="chkExtractChaptersDuringLibraryScan" />
131+
<span>${LabelExtractChaptersDuringLibraryScan}</span>
132+
</label>
133+
<div class="fieldDescription checkboxFieldDescription">${LabelExtractChaptersDuringLibraryScanHelp}</div>
134+
</div>
135+
</div>
136+
118137
<div class="trickplaySettingsSection hide">
119138
<h2>${Trickplay}</h2>
120139
<div class="checkboxContainer checkboxContainer-withDescription fldExtractTrickplayImages">
@@ -142,25 +161,6 @@ <h2>${Trickplay}</h2>
142161
</div>
143162
</div>
144163

145-
<div class="chapterSettingsSection hide">
146-
<h2>${HeaderChapterImages}</h2>
147-
<div class="checkboxContainer checkboxContainer-withDescription fldExtractChapterImages">
148-
<label>
149-
<input type="checkbox" is="emby-checkbox" class="chkExtractChapterImages" />
150-
<span>${OptionExtractChapterImage}</span>
151-
</label>
152-
<div class="fieldDescription checkboxFieldDescription">${ExtractChapterImagesHelp}</div>
153-
</div>
154-
155-
<div class="checkboxContainer checkboxContainer-withDescription fldExtractChaptersDuringLibraryScan advanced">
156-
<label>
157-
<input type="checkbox" is="emby-checkbox" class="chkExtractChaptersDuringLibraryScan" />
158-
<span>${LabelExtractChaptersDuringLibraryScan}</span>
159-
</label>
160-
<div class="fieldDescription checkboxFieldDescription">${LabelExtractChaptersDuringLibraryScanHelp}</div>
161-
</div>
162-
</div>
163-
164164
<div class="subtitleDownloadSettings hide">
165165
<h2>${HeaderSubtitleDownloads}</h2>
166166

0 commit comments

Comments
 (0)