dashboard-ui/modules/externalplayer/externalplayer.html
2023-08-31 15:30:17 +02:00

70 lines
3.2 KiB
HTML

<div is="emby-scroller" class="view flex flex-direction-column scrollFrameY flex-grow" data-mousewheel="true" data-horizontal="false" data-forcescrollbar="true" data-focusscroll="true" data-bindheader="true">
<div class="scrollSlider flex-grow flex-direction-column padded-left padded-left-page padded-right padded-top-page padded-bottom-page settingsContainer">
<form class="auto-center padded-top">
<div class="selectContainer">
<select is="emby-select" class="selectMediaType" label="${MediaType}">
<option value="Video">${Video}</option>
<option value="Game">${Game}</option>
</select>
</div>
<div class="inputContainer">
<input is="emby-input" type="text" class="txtPath" label="${PlayerPath}" required />
</div>
<div class="checkboxList mediaTypeField" data-mediatype="Video">
<h3>${EnableFor}</h3>
<label>
<input type="checkbox" is="emby-checkbox" class="videoType" data-type="file" />
<span>${VideoFiles}</span>
</label>
<label>
<input type="checkbox" is="emby-checkbox" class="videoType" data-type="stream" />
<span>${InternetStreams}</span>
</label>
<label>
<input type="checkbox" is="emby-checkbox" class="videoType" data-type="bluray" />
<span>Blu-ray</span>
</label>
<label>
<input type="checkbox" is="emby-checkbox" class="videoType" data-type="dvd" />
<span>Dvd</span>
</label>
<label>
<input type="checkbox" is="emby-checkbox" class="videoType" data-type="iso" />
<span>ISO</span>
</label>
</div>
<div class="mediaTypeField" data-mediatype="Game">
<div class="selectContainer">
<select is="emby-select" class="selectGameSystem" label="${GameSystem}"></select>
</div>
</div>
<div class="checkboxList mediaTypeField" data-mediatype="Video">
<h3>${AdditionalFilters}</h3>
<label>
<input type="checkbox" is="emby-checkbox" class="videoType" data-type="3d" />
<span>3D</span>
</label>
</div>
<br />
<div class="inputContainer">
<label>
<textarea is="emby-textarea" class="txtArguments" label="${CommandLineArguments}"></textarea>
</label>
<div class="fieldDescription">${ArgumentsHelp}</div>
<div class="fieldDescription">${TokenPath}</div>
<div class="fieldDescription mediaTypeField" data-mediatype="Video">${TokenStartPosMs}</div>
<div class="fieldDescription mediaTypeField" data-mediatype="Video">${TokenStartPosSeconds}</div>
</div>
<br />
<button is="emby-button" type="submit" class="raised block btnSave hide"><span>${Save}</span></button>
</form>
</div>
</div>