Compare commits

...

8 Commits

Author SHA1 Message Date
Kilian von Pflugk
3139c15eb1
remove older plugin version
prevent user installation of versions with known bugs
2024-11-26 21:58:10 +00:00
TwistedUmbrellaX
d7d3949887
Change a wiki heading 2024-11-26 13:09:46 -05:00
TwistedUmbrellaX
18d0847ae0
Cleaning up the UI (#401)
* Update configPage.html

* Update configPage.html

* Update configPage.html

* Wrap the larger paragraph
2024-11-26 09:59:39 -05:00
github-actions[bot]
724c237592 release v1.10.10.11 2024-11-25 17:07:33 +00:00
dependabot[bot]
1048eaf26d
chore(deps): bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 (#400)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.11.1 to 17.12.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.11.1...v17.12.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 18:05:35 +01:00
dependabot[bot]
4995fc7b70
ci(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (#399)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.4 to 3.27.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ea9e4e3799...f09c1c0a94)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 18:04:58 +01:00
rlauu
d4f88e0f3e Create db before trying to restore timestamps 2024-11-25 17:32:04 +01:00
TwistedUmbrellaX
cb0fdb92ad
Clearer separation between erase types 2024-11-25 11:25:44 -05:00
7 changed files with 44 additions and 53 deletions

View File

@ -55,13 +55,13 @@ jobs:
run: dotnet restore
- name: Initialize CodeQL
uses: github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4
uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
with:
languages: ${{ matrix.language }}
queries: +security-extended
- name: Autobuild
uses: github/codeql-action/autobuild@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4
uses: github/codeql-action/autobuild@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4
uses: github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5

View File

@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

View File

@ -455,8 +455,10 @@
<h3 style="margin: 0">Analyzer actions</h3>
<p style="margin: 0">
Choose how segments should be analyzed for this season.<br />
Default uses all available detection methods (Chromaprint, Chapter, and BlackFrame for credits).<br />
Select specific methods to limit analysis, or None to skip detection entirely.
<i>
Default uses all available detection methods (Chromaprint, Chapter, and BlackFrame for credits).<br />
Select specific methods to limit analysis, or None to skip detection entirely.
</i>
</p>
<br />
@ -623,10 +625,9 @@
</div>
<div id="timestampErrorDiv" style="display: none">
<br />
<textarea id="timestampError" rows="2" cols="75" readonly></textarea>
<br />
<br />
<p>
<textarea id="timestampError" rows="2" cols="75" readonly></textarea>
</p>
</div>
<div id="fingerprintVisualizer" style="display: none">
@ -665,12 +666,11 @@
<span>Shift amount:</span>
<input type="number" min="-3000" max="3000" value="0" id="offset" />
<br />
<p>
<span id="suggestedShifts">
<span>Suggested shifts: </span>
</span>
<br />
<br />
</p>
<canvas id="troubleshooter" style="display: none"></canvas>
<span id="timestampContainer">
<span id="timestamps"></span>
@ -679,26 +679,27 @@
</span>
<br />
</div>
<br />
<div id="eraseSeasonContainer" style="display: none">
<button is="emby-button" id="btnEraseSeasonTimestamps" class="button-submit emby-button" type="button">Erase all timestamps for this season</button>
<p>
<button is="emby-button" id="btnEraseSeasonTimestamps" class="button-submit emby-button" type="button">Erase all timestamps for this season</button>
<input type="checkbox" id="eraseSeasonCacheCheckbox" style="margin-left: 10px" />
<label for="eraseSeasonCacheCheckbox" style="margin-left: 5px">Erase cached fingerprint files</label>
<br />
<input type="checkbox" id="eraseSeasonCacheCheckbox" style="margin-left: 10px" />
<label for="eraseSeasonCacheCheckbox" style="margin-left: 5px">Erase cached fingerprint files</label>
</p>
</div>
<div id="eraseMovieContainer" style="display: none">
<button is="emby-button" id="btnEraseMovieTimestamps" class="button-submit emby-button" type="button">Erase all timestamps for this movie</button>
<p>
<button is="emby-button" id="btnEraseMovieTimestamps" class="button-submit emby-button" type="button">Erase all timestamps for this movie</button>
<input type="checkbox" id="eraseMovieCacheCheckbox" style="margin-left: 10px" />
<label for="eraseMovieCacheCheckbox" style="margin-left: 5px">Erase cached fingerprint files</label>
<br />
<input type="checkbox" id="eraseMovieCacheCheckbox" style="margin-left: 10px" />
<label for="eraseMovieCacheCheckbox" style="margin-left: 5px">Erase cached fingerprint files</label>
</p>
</div>
<div style="display: flex; align-items: center;">
<div>
<p>
<button is="emby-button" class="button-submit emby-button" id="btnEraseIntroTimestamps">Erase all introduction timestamps (globally)</button>
<br />
@ -709,18 +710,16 @@
<br />
<button is="emby-button" class="button-submit emby-button" id="btnErasePreviewTimestamps">Erase all preview timestamps (globally)</button>
</div>
</p>
<div>
<input type="checkbox" id="eraseModeCacheCheckbox" style="margin-left: 10px" />
<label for="eraseModeCacheCheckbox" style="margin-left: 5px">Erase global cached fingerprint files</label>
</div>
</div>
<br />
<br />
</details>
<details id="support">
<summary>Support Bundle Info</summary>
<summary>Intro Skipper Support Log</summary>
<textarea id="supportBundle" rows="20" cols="75" readonly></textarea>
</details>

View File

@ -2,8 +2,8 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>IntroSkipper</RootNamespace>
<AssemblyVersion>1.10.10.10</AssemblyVersion>
<FileVersion>1.10.10.10</FileVersion>
<AssemblyVersion>1.10.10.11</AssemblyVersion>
<FileVersion>1.10.10.11</FileVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>

View File

@ -77,15 +77,6 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
Directory.CreateDirectory(FingerprintCachePath);
}
try
{
LegacyMigrations.MigrateAll(this, serverConfiguration, logger, applicationPaths);
}
catch (Exception ex)
{
logger.LogError("Failed to perform migrations. Error: {Error}", ex);
}
// Initialize database, restore timestamps if available.
try
{
@ -97,6 +88,15 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
logger.LogWarning("Error initializing database: {Exception}", ex);
}
try
{
LegacyMigrations.MigrateAll(this, serverConfiguration, logger, applicationPaths);
}
catch (Exception ex)
{
logger.LogError("Failed to perform migrations. Error: {Error}", ex);
}
FFmpegWrapper.CheckFFmpegVersion();
}

View File

@ -48,7 +48,7 @@ https://manifest.intro-skipper.org/manifest.json
- #### [Scheduled tasks fail instantly](https://github.com/intro-skipper/intro-skipper/wiki/Troubleshooting#scheduled-tasks-fail-instantly)
- #### [Plugin settings not saved](https://github.com/intro-skipper/intro-skipper/wiki/Troubleshooting#plugin-settings-not-saved)
- #### [Skip button is not visible](https://github.com/intro-skipper/intro-skipper/wiki/Troubleshooting#skip-button-is-not-visible)
- #### [Autoskip is not working](https://github.com/intro-skipper/intro-skipper/wiki/Troubleshooting#autoskip-is-not-working)
- #### [Auto skip is not working](https://github.com/intro-skipper/intro-skipper/wiki/Troubleshooting#auto-skip-is-not-working)
## [API Documentation](https://github.com/intro-skipper/intro-skipper/blob/master/docs/api.md)

View File

@ -9,21 +9,13 @@
"imageUrl": "https://raw.githubusercontent.com/intro-skipper/intro-skipper/master/images/logo.png",
"versions": [
{
"version": "1.10.10.10",
"changelog": "- See the full changelog at [GitHub](https://github.com/intro-skipper/intro-skipper/releases/tag/10.10/v1.10.10.10)\n",
"version": "1.10.10.11",
"changelog": "- See the full changelog at [GitHub](https://github.com/intro-skipper/intro-skipper/releases/tag/10.10/v1.10.10.11)\n",
"targetAbi": "10.10.3.0",
"sourceUrl": "https://github.com/intro-skipper/intro-skipper/releases/download/10.10/v1.10.10.10/intro-skipper-v1.10.10.10.zip",
"checksum": "96ec29871e726ece01fbf7ccb24ae392",
"timestamp": "2024-11-24T18:33:26Z"
},
{
"version": "1.10.10.9",
"changelog": "- See the full changelog at [GitHub](https://github.com/intro-skipper/intro-skipper/releases/tag/10.10/v1.10.10.9)\n",
"targetAbi": "10.10.2.0",
"sourceUrl": "https://github.com/intro-skipper/intro-skipper/releases/download/10.10/v1.10.10.9/intro-skipper-v1.10.10.9.zip",
"checksum": "a39436ee4476a4e74acbafbaf1008dfb",
"timestamp": "2024-11-17T21:14:18Z"
"sourceUrl": "https://github.com/intro-skipper/intro-skipper/releases/download/10.10/v1.10.10.11/intro-skipper-v1.10.10.11.zip",
"checksum": "30a71fd3996e0fbe9076371539b1ca56",
"timestamp": "2024-11-25T17:07:33Z"
}
]
}
]
]