rename ConfusedPolarBear.Plugin.IntroSkipper -> IntroSkipper
This commit is contained in:
parent
5205965d0d
commit
84da3f0a29
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -69,9 +69,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Minify HTML
|
- name: Minify HTML
|
||||||
run: |
|
run: |
|
||||||
npx html-minifier-terser --collapse-boolean-attributes --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true -o ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html
|
npx html-minifier-terser --collapse-boolean-attributes --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true -o IntroSkipper/Configuration/configPage.html IntroSkipper/Configuration/configPage.html
|
||||||
npx terser ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js -o ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js -c -m
|
npx terser IntroSkipper/Configuration/inject.js -o IntroSkipper/Configuration/inject.js -c -m
|
||||||
npx terser ConfusedPolarBear.Plugin.IntroSkipper/Configuration/visualizer.js -o ConfusedPolarBear.Plugin.IntroSkipper/Configuration/visualizer.js -c -m
|
npx terser IntroSkipper/Configuration/visualizer.js -o IntroSkipper/Configuration/visualizer.js -c -m
|
||||||
|
|
||||||
- name: Restore Beta dependencies
|
- name: Restore Beta dependencies
|
||||||
if: ${{env.IS_BETA == 'true' }}
|
if: ${{env.IS_BETA == 'true' }}
|
||||||
@ -87,7 +87,7 @@ jobs:
|
|||||||
- name: Embed version info
|
- name: Embed version info
|
||||||
run: |
|
run: |
|
||||||
GITHUB_SHA=${{ github.sha }}
|
GITHUB_SHA=${{ github.sha }}
|
||||||
sed -i "s/string\.Empty/\"$GITHUB_SHA\"/g" ConfusedPolarBear.Plugin.IntroSkipper/Helper/Commit.cs
|
sed -i "s/string\.Empty/\"$GITHUB_SHA\"/g" IntroSkipper/Helper/Commit.cs
|
||||||
|
|
||||||
- name: Retrieve commit identification
|
- name: Retrieve commit identification
|
||||||
run: |
|
run: |
|
||||||
@ -101,22 +101,22 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4.3.6
|
uses: actions/upload-artifact@v4.3.6
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
with:
|
with:
|
||||||
name: ConfusedPolarBear.Plugin.IntroSkipper-${{ env.GIT_HASH }}.dll
|
name: IntroSkipper-${{ env.GIT_HASH }}.dll
|
||||||
path: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net8.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
|
path: IntroSkipper/bin/Debug/net8.0/IntroSkipper.dll
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4.3.6
|
uses: actions/upload-artifact@v4.3.6
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
with:
|
with:
|
||||||
name: ConfusedPolarBear.Plugin.IntroSkipper-${{ env.SANITIZED_BRANCH_NAME }}.dll
|
name: IntroSkipper-${{ env.SANITIZED_BRANCH_NAME }}.dll
|
||||||
path: ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net8.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
|
path: IntroSkipper/bin/Debug/net8.0/IntroSkipper.dll
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Create archive
|
- name: Create archive
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
run: zip -j "intro-skipper-${{ env.GIT_HASH }}.zip" ConfusedPolarBear.Plugin.IntroSkipper/bin/Debug/net8.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
|
run: zip -j "intro-skipper-${{ env.GIT_HASH }}.zip" IntroSkipper/bin/Debug/net8.0/IntroSkipper.dll
|
||||||
|
|
||||||
- name: Create/replace the preview release and upload artifacts
|
- name: Create/replace the preview release and upload artifacts
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -42,9 +42,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Minify HTML
|
- name: Minify HTML
|
||||||
run: |
|
run: |
|
||||||
npx html-minifier-terser --collapse-boolean-attributes --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true -o ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html
|
npx html-minifier-terser --collapse-boolean-attributes --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true -o IntroSkipper/Configuration/configPage.html IntroSkipper/Configuration/configPage.html
|
||||||
npx terser ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js -o ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js -c -m
|
npx terser IntroSkipper/Configuration/inject.js -o IntroSkipper/Configuration/inject.js -c -m
|
||||||
npx terser ConfusedPolarBear.Plugin.IntroSkipper/Configuration/visualizer.js -o ConfusedPolarBear.Plugin.IntroSkipper/Configuration/visualizer.js -c -m
|
npx terser IntroSkipper/Configuration/visualizer.js -o IntroSkipper/Configuration/visualizer.js -c -m
|
||||||
|
|
||||||
- name: Restore Beta dependencies
|
- name: Restore Beta dependencies
|
||||||
if: ${{env.IS_BETA == 'true' }}
|
if: ${{env.IS_BETA == 'true' }}
|
||||||
@ -65,13 +65,13 @@ jobs:
|
|||||||
- name: Embed version info
|
- name: Embed version info
|
||||||
run: |
|
run: |
|
||||||
GITHUB_SHA=${{ github.sha }}
|
GITHUB_SHA=${{ github.sha }}
|
||||||
sed -i "s/string\.Empty/\"$GITHUB_SHA\"/g" ConfusedPolarBear.Plugin.IntroSkipper/Helper/Commit.cs
|
sed -i "s/string\.Empty/\"$GITHUB_SHA\"/g" IntroSkipper/Helper/Commit.cs
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --configuration Release --no-restore
|
run: dotnet build --configuration Release --no-restore
|
||||||
|
|
||||||
- name: Create archive
|
- name: Create archive
|
||||||
run: zip -j "intro-skipper-v${{ env.NEW_FILE_VERSION }}.zip" ConfusedPolarBear.Plugin.IntroSkipper/bin/Release/net8.0/ConfusedPolarBear.Plugin.IntroSkipper.dll
|
run: zip -j "intro-skipper-v${{ env.NEW_FILE_VERSION }}.zip" IntroSkipper/bin/Release/net8.0/IntroSkipper.dll
|
||||||
|
|
||||||
- name: Remove old release if exits
|
- name: Remove old release if exits
|
||||||
if: ${{ github.repository == 'intro-skipper/intro-skipper-test' }}
|
if: ${{ github.repository == 'intro-skipper/intro-skipper-test' }}
|
||||||
@ -105,6 +105,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git add README.md manifest.json ConfusedPolarBear.Plugin.IntroSkipper/ConfusedPolarBear.Plugin.IntroSkipper.csproj .github/ISSUE_TEMPLATE/bug_report_form.yml
|
git add README.md manifest.json IntroSkipper/IntroSkipper.csproj .github/ISSUE_TEMPLATE/bug_report_form.yml
|
||||||
git commit -m "release v${{ env.NEW_FILE_VERSION }}"
|
git commit -m "release v${{ env.NEW_FILE_VERSION }}"
|
||||||
git push
|
git push
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ConfusedPolarBear.Plugin.IntroSkipper\ConfusedPolarBear.Plugin.IntroSkipper.csproj" />
|
<ProjectReference Include="..\IntroSkipper\IntroSkipper.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
@ -4,12 +4,12 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
using IntroSkipper.Analyzers;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Tests;
|
namespace IntroSkipper.Tests;
|
||||||
|
|
||||||
public class TestAudioFingerprinting
|
public class TestAudioFingerprinting
|
||||||
{
|
{
|
@ -1,9 +1,9 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Tests;
|
namespace IntroSkipper.Tests;
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
using IntroSkipper.Analyzers;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Tests;
|
namespace IntroSkipper.Tests;
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
using IntroSkipper.Analyzers;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Xunit;
|
using Xunit;
|
@ -1,7 +1,7 @@
|
|||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Tests;
|
namespace IntroSkipper.Tests;
|
||||||
|
|
||||||
public class TestTimeRanges
|
public class TestTimeRanges
|
||||||
{
|
{
|
@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Manager;
|
using IntroSkipper.Manager;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Tests;
|
namespace IntroSkipper.Tests;
|
||||||
|
|
||||||
public class TestEdl
|
public class TestEdl
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Tests;
|
namespace IntroSkipper.Tests;
|
||||||
|
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
public class TestFlags
|
public class TestFlags
|
0
ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/build.sh → IntroSkipper.Tests/e2e_tests/build.sh
Executable file → Normal file
0
ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/build.sh → IntroSkipper.Tests/e2e_tests/build.sh
Executable file → Normal file
@ -1,8 +1,8 @@
|
|||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
#
|
#
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConfusedPolarBear.Plugin.IntroSkipper", "ConfusedPolarBear.Plugin.IntroSkipper\ConfusedPolarBear.Plugin.IntroSkipper.csproj", "{D921B930-CF91-406F-ACBC-08914DCD0D34}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntroSkipper", "IntroSkipper\IntroSkipper.csproj", "{D921B930-CF91-406F-ACBC-08914DCD0D34}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConfusedPolarBear.Plugin.IntroSkipper.Tests", "ConfusedPolarBear.Plugin.IntroSkipper.Tests\ConfusedPolarBear.Plugin.IntroSkipper.Tests.csproj", "{9E30DA42-983E-46E0-A3BF-A2BA56FE9718}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntroSkipper.Tests", "IntroSkipper.Tests\IntroSkipper.Tests.csproj", "{9E30DA42-983E-46E0-A3BF-A2BA56FE9718}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
@ -1,11 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Analyzers
|
namespace IntroSkipper.Analyzers
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Analyzer Helper.
|
/// Analyzer Helper.
|
@ -2,11 +2,11 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
namespace IntroSkipper.Analyzers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Media file analyzer used to detect end credits that consist of text overlaid on a black background.
|
/// Media file analyzer used to detect end credits that consist of text overlaid on a black background.
|
@ -4,12 +4,12 @@ using System.Globalization;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
namespace IntroSkipper.Analyzers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Chapter name analyzer.
|
/// Chapter name analyzer.
|
@ -4,11 +4,11 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
namespace IntroSkipper.Analyzers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Chromaprint audio analyzer.
|
/// Chromaprint audio analyzer.
|
@ -1,8 +1,8 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
namespace IntroSkipper.Analyzers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Media file analyzer interface.
|
/// Media file analyzer interface.
|
@ -1,9 +1,9 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
namespace IntroSkipper.Analyzers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Chapter name analyzer.
|
/// Chapter name analyzer.
|
@ -1,8 +1,8 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using MediaBrowser.Model.Plugins;
|
using MediaBrowser.Model.Plugins;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
namespace IntroSkipper.Configuration;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Plugin configuration.
|
/// Plugin configuration.
|
@ -1,4 +1,4 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
namespace IntroSkipper.Configuration;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// User interface configuration.
|
/// User interface configuration.
|
@ -1,15 +1,15 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Net.Mime;
|
using System.Net.Mime;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using MediaBrowser.Common.Api;
|
using MediaBrowser.Common.Api;
|
||||||
using MediaBrowser.Controller.Entities.Movies;
|
using MediaBrowser.Controller.Entities.Movies;
|
||||||
using MediaBrowser.Controller.Entities.TV;
|
using MediaBrowser.Controller.Entities.TV;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Controllers;
|
namespace IntroSkipper.Controllers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Skip intro controller.
|
/// Skip intro controller.
|
@ -3,8 +3,8 @@ using System.Globalization;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Net.Mime;
|
using System.Net.Mime;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Helper;
|
using IntroSkipper.Helper;
|
||||||
using MediaBrowser.Common;
|
using MediaBrowser.Common;
|
||||||
using MediaBrowser.Common.Api;
|
using MediaBrowser.Common.Api;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
@ -12,7 +12,7 @@ using Microsoft.AspNetCore.Authorization;
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Controllers;
|
namespace IntroSkipper.Controllers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Troubleshooting controller.
|
/// Troubleshooting controller.
|
@ -3,13 +3,13 @@ using System.Collections.Generic;
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net.Mime;
|
using System.Net.Mime;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using MediaBrowser.Common.Api;
|
using MediaBrowser.Common.Api;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Controllers;
|
namespace IntroSkipper.Controllers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Audio fingerprint visualization controller. Allows browsing fingerprints on a per episode basis.
|
/// Audio fingerprint visualization controller. Allows browsing fingerprints on a per episode basis.
|
@ -1,4 +1,4 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Type of media file analysis to perform.
|
/// Type of media file analysis to perform.
|
@ -1,4 +1,4 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A frame of video that partially (or entirely) consists of black pixels.
|
/// A frame of video that partially (or entirely) consists of black pixels.
|
@ -1,4 +1,4 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Taken from https://kodi.wiki/view/Edit_decision_list#MPlayer_EDL.
|
/// Taken from https://kodi.wiki/view/Edit_decision_list#MPlayer_EDL.
|
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents the state of an episode regarding analysis and blacklist status.
|
/// Represents the state of an episode regarding analysis and blacklist status.
|
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Episode name and internal ID as returned by the visualization controller.
|
/// Episode name and internal ID as returned by the visualization controller.
|
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Exception raised when an error is encountered analyzing audio.
|
/// Exception raised when an error is encountered analyzing audio.
|
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents an item to ignore.
|
/// Represents an item to ignore.
|
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Result of fingerprinting and analyzing two episodes in a season.
|
/// Result of fingerprinting and analyzing two episodes in a season.
|
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Support bundle warning.
|
/// Support bundle warning.
|
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Episode queued for analysis.
|
/// Episode queued for analysis.
|
@ -3,7 +3,7 @@ using System.Globalization;
|
|||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Result of fingerprinting and analyzing two episodes in a season.
|
/// Result of fingerprinting and analyzing two episodes in a season.
|
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Controllers
|
namespace IntroSkipper.Controllers
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains information about a show.
|
/// Contains information about a show.
|
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
#pragma warning disable CA1036 // Override methods on comparable types
|
#pragma warning disable CA1036 // Override methods on comparable types
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Time range helpers.
|
/// Time range helpers.
|
@ -1,4 +1,4 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data
|
namespace IntroSkipper.Data
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Result of fingerprinting and analyzing two episodes in a season.
|
/// Result of fingerprinting and analyzing two episodes in a season.
|
@ -1,4 +1,4 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
namespace IntroSkipper.Data;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Warning manager.
|
/// Warning manager.
|
@ -6,10 +6,10 @@ using System.Globalization;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper;
|
namespace IntroSkipper;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Wrapper for libchromaprint and the silencedetect filter.
|
/// Wrapper for libchromaprint and the silencedetect filter.
|
@ -1,4 +1,4 @@
|
|||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Helper
|
namespace IntroSkipper.Helper
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the commit used to build the plugin.
|
/// Gets the commit used to build the plugin.
|
@ -4,9 +4,9 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Helper
|
namespace IntroSkipper.Helper
|
||||||
{
|
{
|
||||||
internal sealed class XmlSerializationHelper
|
internal sealed class XmlSerializationHelper
|
||||||
{
|
{
|
@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<RootNamespace>ConfusedPolarBear.Plugin.IntroSkipper</RootNamespace>
|
<RootNamespace>IntroSkipper</RootNamespace>
|
||||||
<AssemblyVersion>1.0.1.1</AssemblyVersion>
|
<AssemblyVersion>1.0.1.1</AssemblyVersion>
|
||||||
<FileVersion>1.0.1.1</FileVersion>
|
<FileVersion>1.0.1.1</FileVersion>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
25
IntroSkipper/IntroSkipper.sln
Normal file
25
IntroSkipper/IntroSkipper.sln
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.5.002.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntroSkipper", "IntroSkipper.csproj", "{BF8E8662-3409-439D-95BA-FC918FFBBDB4}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{BF8E8662-3409-439D-95BA-FC918FFBBDB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{BF8E8662-3409-439D-95BA-FC918FFBBDB4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{BF8E8662-3409-439D-95BA-FC918FFBBDB4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{BF8E8662-3409-439D-95BA-FC918FFBBDB4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {8BD9D646-8C5E-41FA-8C7A-72749524B7D7}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Manager
|
namespace IntroSkipper.Manager
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Update EDL files associated with a list of episodes.
|
/// Update EDL files associated with a list of episodes.
|
@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using MediaBrowser.Controller;
|
using MediaBrowser.Controller;
|
||||||
using MediaBrowser.Model;
|
using MediaBrowser.Model;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Manager
|
namespace IntroSkipper.Manager
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="MediaSegmentUpdateManager" /> class.
|
/// Initializes a new instance of the <see cref="MediaSegmentUpdateManager" /> class.
|
@ -2,7 +2,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using Jellyfin.Data.Enums;
|
using Jellyfin.Data.Enums;
|
||||||
using Jellyfin.Extensions;
|
using Jellyfin.Extensions;
|
||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
@ -11,7 +11,7 @@ using MediaBrowser.Controller.Entities.TV;
|
|||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Manager
|
namespace IntroSkipper.Manager
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Manages enqueuing library items for analysis.
|
/// Manages enqueuing library items for analysis.
|
@ -4,9 +4,9 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Helper;
|
using IntroSkipper.Helper;
|
||||||
using MediaBrowser.Common;
|
using MediaBrowser.Common;
|
||||||
using MediaBrowser.Common.Configuration;
|
using MediaBrowser.Common.Configuration;
|
||||||
using MediaBrowser.Common.Plugins;
|
using MediaBrowser.Common.Plugins;
|
||||||
@ -20,7 +20,7 @@ using MediaBrowser.Model.Serialization;
|
|||||||
using MediaBrowser.Model.Updates;
|
using MediaBrowser.Model.Updates;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper;
|
namespace IntroSkipper;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Intro skipper plugin. Uses audio analysis to find common sequences of audio shared between episodes.
|
/// Intro skipper plugin. Uses audio analysis to find common sequences of audio shared between episodes.
|
@ -1,11 +1,11 @@
|
|||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Manager;
|
using IntroSkipper.Manager;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Providers;
|
using IntroSkipper.Providers;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Services;
|
using IntroSkipper.Services;
|
||||||
using MediaBrowser.Controller;
|
using MediaBrowser.Controller;
|
||||||
using MediaBrowser.Controller.Plugins;
|
using MediaBrowser.Controller.Plugins;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper
|
namespace IntroSkipper
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Register Intro Skipper services.
|
/// Register Intro Skipper services.
|
@ -10,7 +10,7 @@ using MediaBrowser.Controller.Entities.TV;
|
|||||||
using MediaBrowser.Model;
|
using MediaBrowser.Model;
|
||||||
using MediaBrowser.Model.MediaSegments;
|
using MediaBrowser.Model.MediaSegments;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Providers
|
namespace IntroSkipper.Providers
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Introskipper media segment provider.
|
/// Introskipper media segment provider.
|
@ -4,13 +4,13 @@ using System.Collections.ObjectModel;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Analyzers;
|
using IntroSkipper.Analyzers;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Manager;
|
using IntroSkipper.Manager;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.ScheduledTasks;
|
namespace IntroSkipper.ScheduledTasks;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Common code shared by all media item analyzer tasks.
|
/// Common code shared by all media item analyzer tasks.
|
@ -4,12 +4,12 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Manager;
|
using IntroSkipper.Manager;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using MediaBrowser.Model.Tasks;
|
using MediaBrowser.Model.Tasks;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.ScheduledTasks;
|
namespace IntroSkipper.ScheduledTasks;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Analyze all television episodes for introduction sequences.
|
/// Analyze all television episodes for introduction sequences.
|
@ -2,14 +2,14 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Manager;
|
using IntroSkipper.Manager;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Services;
|
using IntroSkipper.Services;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using MediaBrowser.Model.Tasks;
|
using MediaBrowser.Model.Tasks;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.ScheduledTasks;
|
namespace IntroSkipper.ScheduledTasks;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Analyze all television episodes for credits.
|
/// Analyze all television episodes for credits.
|
@ -2,14 +2,14 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Manager;
|
using IntroSkipper.Manager;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Services;
|
using IntroSkipper.Services;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using MediaBrowser.Model.Tasks;
|
using MediaBrowser.Model.Tasks;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.ScheduledTasks;
|
namespace IntroSkipper.ScheduledTasks;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Analyze all television episodes for introduction sequences.
|
/// Analyze all television episodes for introduction sequences.
|
@ -2,14 +2,14 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Manager;
|
using IntroSkipper.Manager;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Services;
|
using IntroSkipper.Services;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using MediaBrowser.Model.Tasks;
|
using MediaBrowser.Model.Tasks;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.ScheduledTasks;
|
namespace IntroSkipper.ScheduledTasks;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Analyze all television episodes for introduction sequences.
|
/// Analyze all television episodes for introduction sequences.
|
@ -2,7 +2,7 @@ using System;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.ScheduledTasks;
|
namespace IntroSkipper.ScheduledTasks;
|
||||||
|
|
||||||
internal sealed class ScheduledTaskSemaphore : IDisposable
|
internal sealed class ScheduledTaskSemaphore : IDisposable
|
||||||
{
|
{
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Timers;
|
using System.Timers;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using MediaBrowser.Common.Extensions;
|
using MediaBrowser.Common.Extensions;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using MediaBrowser.Controller.Session;
|
using MediaBrowser.Controller.Session;
|
||||||
@ -15,7 +15,7 @@ using Microsoft.Extensions.Hosting;
|
|||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Timer = System.Timers.Timer;
|
using Timer = System.Timers.Timer;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Services
|
namespace IntroSkipper.Services
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Automatically skip past introduction sequences.
|
/// Automatically skip past introduction sequences.
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Timers;
|
using System.Timers;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using MediaBrowser.Common.Extensions;
|
using MediaBrowser.Common.Extensions;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using MediaBrowser.Controller.Session;
|
using MediaBrowser.Controller.Session;
|
||||||
@ -15,7 +15,7 @@ using Microsoft.Extensions.Hosting;
|
|||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Timer = System.Timers.Timer;
|
using Timer = System.Timers.Timer;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Services
|
namespace IntroSkipper.Services
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Automatically skip past credit sequences.
|
/// Automatically skip past credit sequences.
|
@ -2,10 +2,10 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
using IntroSkipper.Configuration;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Data;
|
using IntroSkipper.Data;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.Manager;
|
using IntroSkipper.Manager;
|
||||||
using ConfusedPolarBear.Plugin.IntroSkipper.ScheduledTasks;
|
using IntroSkipper.ScheduledTasks;
|
||||||
using MediaBrowser.Controller.Entities.Movies;
|
using MediaBrowser.Controller.Entities.Movies;
|
||||||
using MediaBrowser.Controller.Entities.TV;
|
using MediaBrowser.Controller.Entities.TV;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
@ -15,7 +15,7 @@ using MediaBrowser.Model.Tasks;
|
|||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace ConfusedPolarBear.Plugin.IntroSkipper.Services
|
namespace IntroSkipper.Services
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Server entrypoint.
|
/// Server entrypoint.
|
@ -21,7 +21,7 @@ GOTO UserInput
|
|||||||
|
|
||||||
:FoundFile
|
:FoundFile
|
||||||
echo "%NewestFile%"
|
echo "%NewestFile%"
|
||||||
xcopy /y ConfusedPolarBear.Plugin.IntroSkipper.dll "%NewestFile%"
|
xcopy /y IntroSkipper.dll "%NewestFile%"
|
||||||
|
|
||||||
:UserInput
|
:UserInput
|
||||||
@pause
|
@pause
|
||||||
|
@ -6,8 +6,8 @@ if [ "$(uname)" == "Darwin" ]; then
|
|||||||
echo "Intro Skipper plugin not found!"
|
echo "Intro Skipper plugin not found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
cp -f ConfusedPolarBear.Plugin.IntroSkipper*.dll \
|
cp -f IntroSkipper*.dll \
|
||||||
"$plugin/ConfusedPolarBear.Plugin.IntroSkipper.dll"
|
"$plugin/IntroSkipper.dll"
|
||||||
else
|
else
|
||||||
echo "Jellyfin plugin directory not found!"
|
echo "Jellyfin plugin directory not found!"
|
||||||
fi
|
fi
|
||||||
@ -19,8 +19,8 @@ elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
|||||||
echo "Intro Skipper plugin not found!"
|
echo "Intro Skipper plugin not found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
cp -f ConfusedPolarBear.Plugin.IntroSkipper*.dll \
|
cp -f IntroSkipper*.dll \
|
||||||
"$plugin/ConfusedPolarBear.Plugin.IntroSkipper.dll"
|
"$plugin/IntroSkipper.dll"
|
||||||
else
|
else
|
||||||
echo "Jellyfin plugin directory not found!"
|
echo "Jellyfin plugin directory not found!"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user