mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
192 lines
10 KiB
HTML
192 lines
10 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>${TitleAutoOrganize}</title>
|
|
</head>
|
|
<body>
|
|
<div id="libraryFileOrganizerPage" data-role="page" class="page type-interior organizePage">
|
|
|
|
<div data-role="content">
|
|
<div class="content-primary">
|
|
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
|
<a href="autoorganizelog.html" data-role="button">${TabActivityLog}</a>
|
|
<a href="#" data-role="button" class="ui-btn-active">${TabTV}</a>
|
|
</div>
|
|
|
|
<form class="libraryFileOrganizerForm">
|
|
|
|
<p>${AutoOrganizeHelp}</p>
|
|
|
|
<p>${AutoOrganizeTvHelp}</p>
|
|
<ul data-role="listview" class="ulForm" style="margin-bottom: 0!important;">
|
|
<li>
|
|
<input type="checkbox" id="chkEnableTvSorting" name="chkEnableTvSorting" />
|
|
<label for="chkEnableTvSorting">${OptionEnableEpisodeOrganization}</label>
|
|
</li>
|
|
<li>
|
|
<label for="txtWatchFolder">${LabelWatchFolder}</label>
|
|
<div style="display: inline-block; width: 92%;">
|
|
<input type="text" id="txtWatchFolder" name="txtWatchFolder" />
|
|
</div>
|
|
<button id="btnSelectWatchFolder" type="button" data-icon="search" data-iconpos="notext" data-inline="true">${ButtonSelectDirectory}</button>
|
|
<div class="fieldDescription">
|
|
<div>${LabelWatchFolderHelp}</div>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<label for="txtMinFileSize">${LabelMinFileSizeForOrganize}</label>
|
|
<input type="number" id="txtMinFileSize" name="txtMinFileSize" pattern="[0-9]*" required="required" min="0" data-mini="true" />
|
|
<div class="fieldDescription">${LabelMinFileSizeForOrganizeHelp}</div>
|
|
</li>
|
|
<li>
|
|
<label for="txtSeasonFolderPattern">${LabelSeasonFolderPattern}</label>
|
|
<input type="text" id="txtSeasonFolderPattern" name="txtSeasonFolderPattern" required="required" data-mini="true" />
|
|
<div class="fieldDescription seasonFolderFieldDescription"></div>
|
|
</li>
|
|
<li>
|
|
<label for="txtSeasonZeroName">${LabelSeasonZeroFolderName}</label>
|
|
<input type="text" id="txtSeasonZeroName" name="txtSeasonZeroName" required="required" data-mini="true" />
|
|
</li>
|
|
</ul>
|
|
<div data-role="collapsible">
|
|
<h3>${HeaderEpisodeFilePattern}</h3>
|
|
<div>
|
|
<br />
|
|
<div>
|
|
<label for="txtEpisodePattern">${LabelEpisodePattern}</label>
|
|
<input type="text" id="txtEpisodePattern" name="txtEpisodePattern" required="required" data-mini="true" />
|
|
<div class="fieldDescription episodePatternDescription"></div>
|
|
</div>
|
|
<br />
|
|
<div>
|
|
<label for="txtMultiEpisodePattern">${LabelMultiEpisodePattern}</label>
|
|
<input type="text" id="txtMultiEpisodePattern" name="txtMultiEpisodePattern" required="required" data-mini="true" />
|
|
<div class="fieldDescription multiEpisodePatternDescription"></div>
|
|
</div>
|
|
|
|
<br />
|
|
<p>${HeaderSupportedPatterns}</p>
|
|
|
|
<table data-role="table" id="movie-table" data-mode="reflow" class="ui-responsive">
|
|
<thead>
|
|
<tr>
|
|
<th>${HeaderTerm}</th>
|
|
<th>${HeaderPattern}</th>
|
|
<th>${HeaderResult}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Series name</td>
|
|
<td>%sn</td>
|
|
<td>Series Name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Series name</td>
|
|
<td>%s.n</td>
|
|
<td>Series.Name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Series name</td>
|
|
<td>%s_n</td>
|
|
<td>Series_Name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Season number</td>
|
|
<td>%s</td>
|
|
<td>1</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Season number</td>
|
|
<td>%0s</td>
|
|
<td>01</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Episode number</td>
|
|
<td>%e</td>
|
|
<td>4</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Episode number</td>
|
|
<td>%0e</td>
|
|
<td>04</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Ending episode number</td>
|
|
<td>%ed</td>
|
|
<td>5</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Ending episode number</td>
|
|
<td>%0ed</td>
|
|
<td>05</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Episode name</td>
|
|
<td>%en</td>
|
|
<td>Episode Name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Episode name</td>
|
|
<td>%e.n</td>
|
|
<td>Episode.Name</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Episode name</td>
|
|
<td>%e_n</td>
|
|
<td>Episode_Name</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<ul data-role="listview" class="ulForm">
|
|
<li>
|
|
<label for="copyOrMoveFile">${LabelTransferMethod}</label>
|
|
<select id="copyOrMoveFile" data-mini="true">
|
|
<option value="true">${OptionCopy}</option>
|
|
<option value="false">${OptionMove}</option>
|
|
</select>
|
|
<div class="fieldDescription">${LabelTransferMethodHelp}</div>
|
|
</li>
|
|
<li>
|
|
<input type="checkbox" id="chkOverwriteExistingEpisodes" name="chkOverwriteExistingEpisodes" />
|
|
<label for="chkOverwriteExistingEpisodes">${OptionOverwriteExistingEpisodes}</label>
|
|
</li>
|
|
<li>
|
|
<label for="txtDeleteLeftOverFiles">${LabelDeleteLeftOverFiles}</label>
|
|
<input type="text" id="txtDeleteLeftOverFiles" name="txtDeleteLeftOverFiles" data-mini="true" />
|
|
<div class="fieldDescription">${LabelDeleteLeftOverFilesHelp}</div>
|
|
</li>
|
|
<li>
|
|
<input type="checkbox" id="chkDeleteEmptyFolders" name="chkDeleteEmptyFolders" data-mini="true" />
|
|
<label for="chkDeleteEmptyFolders">${LabelDeleteEmptyFolders}</label>
|
|
<div class="fieldDescription">${LabelDeleteEmptyFoldersHelp}</div>
|
|
</li>
|
|
</ul>
|
|
|
|
<ul data-role="listview" class="ulForm">
|
|
<li>
|
|
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
|
|
${ButtonSave}
|
|
</button>
|
|
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete" data-mini="true">
|
|
${ButtonCancel}
|
|
</button>
|
|
</li>
|
|
|
|
</ul>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
$('.libraryFileOrganizerForm').off('submit', LibraryFileOrganizerPage.onSubmit).on('submit', LibraryFileOrganizerPage.onSubmit);
|
|
</script>
|
|
</div>
|
|
</body>
|
|
</html>
|