Disconnect erase from editor window
This commit is contained in:
parent
8e8a6207a5
commit
f626595cb1
@ -59,61 +59,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<details id="edl">
|
|
||||||
<summary>EDL File Generation</summary>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
<div class="selectContainer">
|
|
||||||
<label class="selectLabel" for="EdlAction">EDL Action</label>
|
|
||||||
<select is="emby-select" id="EdlAction" class="emby-select-withcolor emby-select">
|
|
||||||
<option value="None">
|
|
||||||
None (do not create or modify EDL files)
|
|
||||||
</option>
|
|
||||||
|
|
||||||
<option value="CommercialBreak">
|
|
||||||
Commercial Break (recommended, skips past the intro once)
|
|
||||||
</option>
|
|
||||||
|
|
||||||
<option value="Cut">
|
|
||||||
Cut (player will remove the intro from the video)
|
|
||||||
</option>
|
|
||||||
|
|
||||||
<option value="Intro">
|
|
||||||
Intro (show a skip button, *experimental*)
|
|
||||||
</option>
|
|
||||||
|
|
||||||
<option value="Mute">
|
|
||||||
Mute (audio will be muted)
|
|
||||||
</option>
|
|
||||||
|
|
||||||
<option value="SceneMarker">
|
|
||||||
Scene Marker (create a chapter marker)
|
|
||||||
</option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<div class="fieldDescription">
|
|
||||||
If set to a value other than None, specifies which action to write to
|
|
||||||
<a href="https://kodi.wiki/view/Edit_decision_list">MPlayer compatible EDL files</a>
|
|
||||||
alongside your episode files. <br />
|
|
||||||
|
|
||||||
If this value is changed after EDL files are generated, you must check the
|
|
||||||
"Regenerate EDL files" checkbox below.
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
|
||||||
<label class="emby-checkbox-label">
|
|
||||||
<input id="RegenerateEdlFiles" type="checkbox" is="emby-checkbox" />
|
|
||||||
<span>Regenerate EDL files during next scan</span>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<div class="fieldDescription">
|
|
||||||
If checked, the plugin will <strong>overwrite all EDL files</strong> associated with
|
|
||||||
your episodes with the currently discovered introduction timestamps and EDL action.
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details id="intro_reqs">
|
<details id="intro_reqs">
|
||||||
<summary>Modify Intro Requirements</summary>
|
<summary>Modify Intro Requirements</summary>
|
||||||
|
|
||||||
@ -179,6 +124,61 @@
|
|||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details id="edl">
|
||||||
|
<summary>EDL File Generation</summary>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<div class="selectContainer">
|
||||||
|
<label class="selectLabel" for="EdlAction">EDL Action</label>
|
||||||
|
<select is="emby-select" id="EdlAction" class="emby-select-withcolor emby-select">
|
||||||
|
<option value="None">
|
||||||
|
None (do not create or modify EDL files)
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option value="CommercialBreak">
|
||||||
|
Commercial Break (recommended, skips past the intro once)
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option value="Cut">
|
||||||
|
Cut (player will remove the intro from the video)
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option value="Intro">
|
||||||
|
Intro (show a skip button, *experimental*)
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option value="Mute">
|
||||||
|
Mute (audio will be muted)
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option value="SceneMarker">
|
||||||
|
Scene Marker (create a chapter marker)
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<div class="fieldDescription">
|
||||||
|
If set to a value other than None, specifies which action to write to
|
||||||
|
<a href="https://kodi.wiki/view/Edit_decision_list">MPlayer compatible EDL files</a>
|
||||||
|
alongside your episode files. <br />
|
||||||
|
|
||||||
|
If this value is changed after EDL files are generated, you must check the
|
||||||
|
"Regenerate EDL files" checkbox below.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
|
<label class="emby-checkbox-label">
|
||||||
|
<input id="RegenerateEdlFiles" type="checkbox" is="emby-checkbox" />
|
||||||
|
<span>Regenerate EDL files during next scan</span>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="fieldDescription">
|
||||||
|
If checked, the plugin will <strong>overwrite all EDL files</strong> associated with
|
||||||
|
your episodes with the currently discovered introduction timestamps and EDL action.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</details>
|
||||||
|
|
||||||
<details id="silence">
|
<details id="silence">
|
||||||
<summary>Silence Detection Options</summary>
|
<summary>Silence Detection Options</summary>
|
||||||
|
|
||||||
@ -207,7 +207,7 @@
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details id="detection">
|
<details id="detection">
|
||||||
<summary>Task Configuration</summary>
|
<summary>Process Configuration</summary>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
@ -271,7 +271,6 @@
|
|||||||
but setting a value of 0 (default) will use the maximum threads available.
|
but setting a value of 0 (default) will use the maximum threads available.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
@ -322,7 +321,7 @@
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="fieldDescription">
|
<div class="fieldDescription">
|
||||||
If checked, skip button will appear through entire intro (offset and timeout are ignored).<br />
|
If checked, skip button will appear throughout entire intro (offset and timeout are ignored).<br />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -442,13 +441,13 @@
|
|||||||
</button>
|
</button>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<button id="btnEraseSeasonTimestamps" type="button">
|
|
||||||
Erase all timestamps for this season
|
|
||||||
</button>
|
|
||||||
<hr />
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<button id="btnEraseSeasonTimestamps" type="button" style="display:none;">
|
||||||
|
Erase all timestamps for this season
|
||||||
|
</button>
|
||||||
|
<hr />
|
||||||
|
|
||||||
<button id="btnEraseIntroTimestamps">
|
<button id="btnEraseIntroTimestamps">
|
||||||
Erase all introduction timestamps (globally)
|
Erase all introduction timestamps (globally)
|
||||||
</button>
|
</button>
|
||||||
@ -674,6 +673,7 @@
|
|||||||
// show changed, populate seasons
|
// show changed, populate seasons
|
||||||
async function showChanged() {
|
async function showChanged() {
|
||||||
clearSelect(selectSeason);
|
clearSelect(selectSeason);
|
||||||
|
btnSeasonEraseTimestamps.style.display = "none";
|
||||||
|
|
||||||
// add all seasons from this show to the season select
|
// add all seasons from this show to the season select
|
||||||
for (var season of shows[selectShow.value]) {
|
for (var season of shows[selectShow.value]) {
|
||||||
@ -690,6 +690,7 @@
|
|||||||
|
|
||||||
clearSelect(selectEpisode1);
|
clearSelect(selectEpisode1);
|
||||||
clearSelect(selectEpisode2);
|
clearSelect(selectEpisode2);
|
||||||
|
btnSeasonEraseTimestamps.style.display = "block";
|
||||||
|
|
||||||
let i = 1;
|
let i = 1;
|
||||||
for (let episode of episodes) {
|
for (let episode of episodes) {
|
||||||
@ -770,7 +771,7 @@
|
|||||||
|
|
||||||
// make an authenticated GET to the server and parse the response as JSON
|
// make an authenticated GET to the server and parse the response as JSON
|
||||||
async function getJson(url) {
|
async function getJson(url) {
|
||||||
return await fetchWithAuth(url, "GET").then(r => { return r.json(); });
|
return await fetchWithAuth(url, "GET").then(r => { return r.json(); }).catch(err => { console.debug(err) });
|
||||||
}
|
}
|
||||||
|
|
||||||
// make an authenticated fetch to the server
|
// make an authenticated fetch to the server
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"name": "Intro Skipper",
|
"name": "Intro Skipper",
|
||||||
"overview": "Automatically detect and skip intros in television episodes",
|
"overview": "Automatically detect and skip intros in television episodes",
|
||||||
"description": "Analyzes the audio of television episodes and detects introduction sequences.",
|
"description": "Analyzes the audio of television episodes and detects introduction sequences.",
|
||||||
"owner": "ConfusedPolarBear",
|
"owner": "jumoog (forked from ConfusedPolarBear)",
|
||||||
"category": "General",
|
"category": "General",
|
||||||
"imageUrl": "https://raw.githubusercontent.com/jumoog/intro-skipper/master/images/logo.png",
|
"imageUrl": "https://raw.githubusercontent.com/jumoog/intro-skipper/master/images/logo.png",
|
||||||
"versions": [
|
"versions": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user