mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
Add dropdown with common broadcast video heights
This commit is contained in:
parent
2b71524c4f
commit
420ff05d91
@ -153,7 +153,7 @@ function onSubmit(e) {
|
||||
DateCreated: getDateValue(form, '#txtDateAdded', 'DateCreated'),
|
||||
EndDate: getDateValue(form, '#txtEndDate', 'EndDate'),
|
||||
ProductionYear: form.querySelector('#txtProductionYear').value,
|
||||
Height: form.querySelector('#txtHeight').value,
|
||||
Height: form.querySelector('#selectHeight').value,
|
||||
AspectRatio: form.querySelector('#txtOriginalAspectRatio').value,
|
||||
Video3DFormat: form.querySelector('#select3dFormat').value,
|
||||
|
||||
@ -835,7 +835,7 @@ function fillItemInfo(context, item, parentalRatingOptions) {
|
||||
const placeofBirth = item.ProductionLocations?.length ? item.ProductionLocations[0] : '';
|
||||
context.querySelector('#txtPlaceOfBirth').value = placeofBirth;
|
||||
|
||||
context.querySelector('#txtHeight').value = item.Height || '';
|
||||
context.querySelector('#selectHeight').value = item.Height || '';
|
||||
|
||||
context.querySelector('#txtOriginalAspectRatio').value = item.AspectRatio || '';
|
||||
|
||||
|
@ -142,8 +142,15 @@
|
||||
<select is="emby-select" id="selectCustomRating" label="${LabelCustomRating}"></select>
|
||||
</div>
|
||||
</div>
|
||||
<div id="fldHeight" class="inputContainer hide">
|
||||
<input is="emby-input" id="txtHeight" type="number" pattern="[0-9]*" label="${LabelHeight}" />
|
||||
<div id="fldHeight" class="selectContainer hide">
|
||||
<select is="emby-select" id="selectHeight" label="${LabelHeight}">
|
||||
<option value="0"></option>
|
||||
<option>480</option>
|
||||
<option>576</option>
|
||||
<option>720</option>
|
||||
<option>1080</option>
|
||||
<option>2160</option>
|
||||
</select>
|
||||
<div class="fieldDescription">${ChannelHeightHelp}</div>
|
||||
</div>
|
||||
<div class="inlineForm">
|
||||
|
Loading…
Reference in New Issue
Block a user