jellyfin-web/dashboard-ui/autoorganizetv.html
2016-09-11 03:33:53 -04:00

163 lines
8.4 KiB
HTML

<div id="libraryFileOrganizerPage" data-role="page" class="page type-interior organizePage withTabs" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Auto-Organize">
<div data-role="content">
<div class="content-primary">
<form class="libraryFileOrganizerForm">
<p>${AutoOrganizeHelp}</p>
<div>
<label class="checkboxContainer">
<input type="checkbox" is="emby-checkbox" id="chkEnableTvSorting" />
<span>${OptionEnableEpisodeOrganization}</span>
</label>
</div>
<div class="inputContainer">
<div style="display:flex; align-items:center;">
<div style="flex-grow:1;">
<input is="emby-input" id="txtWatchFolder" type="text" label="${LabelWatchFolder}" />
<div class="fieldDescription">${LabelWatchFolderHelp}</div>
</div>
<button type="button" is="emby-button" id="btnSelectWatchFolder" title="${ButtonSelectDirectory}" class="autoSize"><i class="md-icon">search</i></button>
</div>
</div>
<div class="inputContainer">
<input is="emby-input" id="txtMinFileSize" type="number" label="${LabelMinFileSizeForOrganize}" pattern="[0-9]*" min="0" required />
<div class="fieldDescription">${LabelMinFileSizeForOrganizeHelp}</div>
</div>
<div class="inputContainer">
<input is="emby-input" id="txtSeasonFolderPattern" type="text" label="${LabelSeasonFolderPattern}" required />
<div class="fieldDescription seasonFolderFieldDescription"></div>
</div>
<div class="inputContainer">
<input is="emby-input" id="txtSeasonZeroName" type="text" label="${LabelSeasonZeroFolderName}" required />
<div class="fieldDescription"></div>
</div>
<div is="emby-collapse" title="${HeaderEpisodeFilePattern}">
<div class="collapseContent">
<br />
<div class="inputContainer">
<input is="emby-input" id="txtEpisodePattern" type="text" label="${LabelEpisodePattern}" required />
<div class="fieldDescription episodePatternDescription"></div>
</div>
<div class="inputContainer">
<input is="emby-input" id="txtMultiEpisodePattern" type="text" label="${LabelMultiEpisodePattern}" required />
<div class="fieldDescription multiEpisodePatternDescription"></div>
</div>
<br />
<p>${HeaderSupportedPatterns}</p>
<table id="movie-table" class="ui-responsive">
<thead>
<tr>
<th>${HeaderTerm}</th>
<th>${HeaderPattern}</th>
<th>${HeaderResult}</th>
</tr>
</thead>
<tbody>
<tr>
<td>${LabelSeriesNamePlain}</td>
<td>%sn</td>
<td>${LabelSeriesNamePlain}</td>
</tr>
<tr>
<td>${LabelSeriesNamePlain}</td>
<td>%s.n</td>
<td>${ValueSeriesNamePeriod}</td>
</tr>
<tr>
<td>${LabelSeriesNamePlain}</td>
<td>%s_n</td>
<td>${ValueSeriesNameUnderscore}</td>
</tr>
<tr>
<td>${LabelSeasonNumberPlain}</td>
<td>%s</td>
<td>1</td>
</tr>
<tr>
<td>${LabelSeasonNumberPlain}</td>
<td>%0s</td>
<td>01</td>
</tr>
<tr>
<td>${LabelEpisodeNumberPlain}</td>
<td>%e</td>
<td>4</td>
</tr>
<tr>
<td>${LabelEpisodeNumberPlain}</td>
<td>%0e</td>
<td>04</td>
</tr>
<tr>
<td>${LabelEndingEpisodeNumberPlain}</td>
<td>%ed</td>
<td>5</td>
</tr>
<tr>
<td>${LabelEndingEpisodeNumberPlain}</td>
<td>%0ed</td>
<td>05</td>
</tr>
<tr>
<td>${LabelEpisodeNamePlain}</td>
<td>%en</td>
<td>${LabelEpisodeNamePlain}</td>
</tr>
<tr>
<td>${LabelEpisodeNamePlain}</td>
<td>%e.n</td>
<td>${ValueEpisodeNamePeriod}</td>
</tr>
<tr>
<td>${LabelEpisodeNamePlain}</td>
<td>%e_n</td>
<td>${ValueEpisodeNameUnderscore}</td>
</tr>
<tr>
<td>${FileExtension}</td>
<td>%ext</td>
<td>mkv</td>
</tr>
</tbody>
</table>
</div>
</div>
<br /><br />
<div class="selectContainer">
<select is="emby-select" id="copyOrMoveFile" label="${LabelTransferMethod}">
<option value="true">${OptionCopy}</option>
<option value="false">${OptionMove}</option>
</select>
<div class="fieldDescription editorfieldDescription">${LabelTransferMethodHelp}</div>
</div>
<div>
<label class="checkboxContainer">
<input type="checkbox" is="emby-checkbox" id="chkOverwriteExistingEpisodes" />
<span>${OptionOverwriteExistingEpisodes}</span>
</label>
</div>
<div class="inputContainer">
<input is="emby-input" id="txtDeleteLeftOverFiles" type="text" label="${LabelDeleteLeftOverFiles}" />
<div class="fieldDescription">${LabelDeleteLeftOverFilesHelp}</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescription">
<label>
<input type="checkbox" is="emby-checkbox" id="chkDeleteEmptyFolders" />
<span>${LabelDeleteEmptyFolders}</span>
</label>
<div class="fieldDescription checkboxFieldDescription">${LabelDeleteEmptyFoldersHelp}</div>
</div>
<div>
<button is="emby-button" type="submit" class="raised button-submit block"><i class="md-icon">check</i><span>${ButtonSave}</span></button>
</div>
</form>
</div>
</div>
</div>