From 37fb4ba5dfb37af37f6f67ccbfe783c4e5eccb8a Mon Sep 17 00:00:00 2001 From: Pasithea0 Date: Mon, 9 Nov 2026 17:29:17 +0000 Subject: [PATCH] chore(license): state GPL-3.0-or-later in every file and manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The intent is or-later, but nothing in the repo said so, so a consumer cannot tell whether GPLv4 is permitted. The grant only helps if it is made while the contribution is, while a re-grant would mean writing to every contributor. - 41 source files (40 `.cs`, 1 `.js`) | `// SPDX-License-Identifier: GPL-3.0-or-later` plus a copyright line. - `TheIntroDB/Configuration/configPage.html` | `` at the top (the file is an HTML fragment, with no doctype). - `TheIntroDB/TheIntroDB.csproj`, `TheIntroDB.Tests/TheIntroDB.Tests.csproj` | `GPL-3.0-or-later` added to each. LICENSE is left byte-identical to the FSF text. Prepending the notice above it was tried first and reverted on evidence: GitHub's detector has no GPL-3.0-or-later entry to match against (the vendored database only carries GPL-3.0, and the package matcher strips -or-later), and an augmented LICENSE stops matching the canonical text at all - the repo went from GPL-3.0 to NOASSERTION. The per-file SPDX identifier, the manifest field and the README are where the grant is readable. Verified: - `dotnet test TheIntroDB.sln` — **Failed: 0, Passed: 118, Total: 118**. - `gh api repos/TheIntroDB/emby-plugin/license?ref=chore/licensing` — `GPL-3.0`, unchanged from `main`. --- README.md | 16 ++++++++++++++++ TheIntroDB.Tests/ChapterMarkerPolicyTests.cs | 3 +++ TheIntroDB.Tests/LegacyMarkerAdoptionTests.cs | 3 +++ TheIntroDB.Tests/OnDemandFetchGateTests.cs | 3 +++ TheIntroDB.Tests/ScanSafetyTests.cs | 3 +++ TheIntroDB.Tests/SegmentRefreshPolicyTests.cs | 3 +++ TheIntroDB.Tests/SegmentTimestampTests.cs | 3 +++ TheIntroDB.Tests/TheIntroDB.Tests.csproj | 1 + TheIntroDB.Tests/TheIntroDbNotFoundCacheTests.cs | 3 +++ TheIntroDB.Tests/V4MigrationTests.cs | 3 +++ TheIntroDB/Api/ApiKeyValidationService.cs | 3 +++ TheIntroDB/Api/LibraryProbeService.cs | 3 +++ TheIntroDB/Api/MediaFetchResult.cs | 3 +++ TheIntroDB/Api/MediaResponse.cs | 3 +++ TheIntroDB/Api/NotFoundCacheService.cs | 3 +++ TheIntroDB/Api/SegmentTimestamp.cs | 3 +++ TheIntroDB/Api/SegmentsService.cs | 3 +++ .../Api/TheIntroDbApiKeyValidationService.cs | 3 +++ TheIntroDB/Api/TheIntroDbClient.cs | 3 +++ TheIntroDB/Api/TheIntroDbUserStats.cs | 3 +++ TheIntroDB/Configuration/PluginConfiguration.cs | 3 +++ TheIntroDB/Configuration/configPage.html | 2 ++ TheIntroDB/Configuration/configPage.js | 3 +++ TheIntroDB/Data/ITheIntroDbSegmentRepository.cs | 3 +++ TheIntroDB/Data/TheIntroDbSegmentRepository.cs | 3 +++ ...eIntroDbChapterMarkerPersistenceEntryPoint.cs | 3 +++ .../TheIntroDbUsageReportingEntryPoint.cs | 3 +++ TheIntroDB/Models/MediaSegmentData.cs | 3 +++ TheIntroDB/Models/OwnedChapterMarker.cs | 3 +++ TheIntroDB/Models/StoredMediaSegment.cs | 3 +++ TheIntroDB/Plugin.cs | 3 +++ TheIntroDB/Providers/SegmentFetchResult.cs | 3 +++ .../Providers/TheIntroDbSegmentProvider.cs | 3 +++ TheIntroDB/Services/AnonymousUsageReporter.cs | 3 +++ TheIntroDB/Services/ChapterMarkerPolicy.cs | 3 +++ TheIntroDB/Services/PluginLogger.cs | 3 +++ TheIntroDB/Services/ScanLookupBudget.cs | 3 +++ TheIntroDB/Services/SegmentRefreshPolicy.cs | 3 +++ .../Services/TheIntroDbChapterMarkerWriter.cs | 3 +++ .../Services/TheIntroDbLegacyMarkerAdoption.cs | 3 +++ TheIntroDB/Services/TheIntroDbLibraryScanner.cs | 3 +++ TheIntroDB/Services/TheIntroDbNotFoundCache.cs | 3 +++ .../Tasks/TheIntroDbMediaSegmentPreviewTask.cs | 3 +++ .../Tasks/TheIntroDbMediaSegmentScanTask.cs | 3 +++ TheIntroDB/TheIntroDB.csproj | 1 + 45 files changed, 143 insertions(+) diff --git a/README.md b/README.md index 6337620..15c5199 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,24 @@ dotnet build 2. Copy the DLL: `cp TheIntroDB/bin/Debug/netstandard2.0/TheIntroDB.dll /var/lib/emby/plugins/` (adjust path for your OS) 3. Restart Emby Server. +## License + +**GNU General Public License v3.0 or later** (`GPL-3.0-or-later`) — see [LICENSE](LICENSE) for the full text. + +> This program is free software: you can redistribute it and/or modify it under the +> terms of the GNU General Public License as published by the Free Software +> Foundation, either version 3 of the License, or (at your option) any later version. +> +> This program is distributed in the hope that it will be useful, but WITHOUT ANY +> WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +> PARTICULAR PURPOSE. See the GNU General Public License for more details. + +Every source file carries `SPDX-License-Identifier: GPL-3.0-or-later`. The "or later" grant is deliberate: it lets the project adopt a future GPL version without re-licensing from every contributor. + --- +-- +

TheIntroDB

diff --git a/TheIntroDB.Tests/ChapterMarkerPolicyTests.cs b/TheIntroDB.Tests/ChapterMarkerPolicyTests.cs index 2c80e3f..ee28754 100644 --- a/TheIntroDB.Tests/ChapterMarkerPolicyTests.cs +++ b/TheIntroDB.Tests/ChapterMarkerPolicyTests.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System.Collections.Generic; using MediaBrowser.Model.Entities; using TheIntroDB.Configuration; diff --git a/TheIntroDB.Tests/LegacyMarkerAdoptionTests.cs b/TheIntroDB.Tests/LegacyMarkerAdoptionTests.cs index 4d1b04e..cfc2c34 100644 --- a/TheIntroDB.Tests/LegacyMarkerAdoptionTests.cs +++ b/TheIntroDB.Tests/LegacyMarkerAdoptionTests.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.Collections.Generic; using System.Linq; diff --git a/TheIntroDB.Tests/OnDemandFetchGateTests.cs b/TheIntroDB.Tests/OnDemandFetchGateTests.cs index f3df610..9c9f735 100644 --- a/TheIntroDB.Tests/OnDemandFetchGateTests.cs +++ b/TheIntroDB.Tests/OnDemandFetchGateTests.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using MediaBrowser.Controller.Entities.Movies; using MediaBrowser.Controller.Entities.TV; using MediaBrowser.Controller.Library; diff --git a/TheIntroDB.Tests/ScanSafetyTests.cs b/TheIntroDB.Tests/ScanSafetyTests.cs index 365dc4b..a9f935f 100644 --- a/TheIntroDB.Tests/ScanSafetyTests.cs +++ b/TheIntroDB.Tests/ScanSafetyTests.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.Collections.Generic; using System.IO; diff --git a/TheIntroDB.Tests/SegmentRefreshPolicyTests.cs b/TheIntroDB.Tests/SegmentRefreshPolicyTests.cs index 834de4d..080d604 100644 --- a/TheIntroDB.Tests/SegmentRefreshPolicyTests.cs +++ b/TheIntroDB.Tests/SegmentRefreshPolicyTests.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.Collections.Generic; using TheIntroDB.Services; diff --git a/TheIntroDB.Tests/SegmentTimestampTests.cs b/TheIntroDB.Tests/SegmentTimestampTests.cs index 44d11de..35e7b1b 100644 --- a/TheIntroDB.Tests/SegmentTimestampTests.cs +++ b/TheIntroDB.Tests/SegmentTimestampTests.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.Collections.Generic; using System.Reflection; diff --git a/TheIntroDB.Tests/TheIntroDB.Tests.csproj b/TheIntroDB.Tests/TheIntroDB.Tests.csproj index 5936cbe..b9135c6 100644 --- a/TheIntroDB.Tests/TheIntroDB.Tests.csproj +++ b/TheIntroDB.Tests/TheIntroDB.Tests.csproj @@ -1,5 +1,6 @@ + GPL-3.0-or-later net8.0 false enable diff --git a/TheIntroDB.Tests/TheIntroDbNotFoundCacheTests.cs b/TheIntroDB.Tests/TheIntroDbNotFoundCacheTests.cs index b664d2d..7e92fda 100644 --- a/TheIntroDB.Tests/TheIntroDbNotFoundCacheTests.cs +++ b/TheIntroDB.Tests/TheIntroDbNotFoundCacheTests.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.IO; using MediaBrowser.Model.Logging; diff --git a/TheIntroDB.Tests/V4MigrationTests.cs b/TheIntroDB.Tests/V4MigrationTests.cs index 8b0e23f..9931be9 100644 --- a/TheIntroDB.Tests/V4MigrationTests.cs +++ b/TheIntroDB.Tests/V4MigrationTests.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.Linq; using MediaBrowser.Controller.Entities.TV; diff --git a/TheIntroDB/Api/ApiKeyValidationService.cs b/TheIntroDB/Api/ApiKeyValidationService.cs index 3c787b4..207d916 100644 --- a/TheIntroDB/Api/ApiKeyValidationService.cs +++ b/TheIntroDB/Api/ApiKeyValidationService.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System.Threading; using System.Threading.Tasks; using MediaBrowser.Model.Services; diff --git a/TheIntroDB/Api/LibraryProbeService.cs b/TheIntroDB/Api/LibraryProbeService.cs index b8a3fa3..fe9c318 100644 --- a/TheIntroDB/Api/LibraryProbeService.cs +++ b/TheIntroDB/Api/LibraryProbeService.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.Collections.Generic; using System.Linq; diff --git a/TheIntroDB/Api/MediaFetchResult.cs b/TheIntroDB/Api/MediaFetchResult.cs index 86d6adf..2e3640e 100644 --- a/TheIntroDB/Api/MediaFetchResult.cs +++ b/TheIntroDB/Api/MediaFetchResult.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; namespace TheIntroDB.Api diff --git a/TheIntroDB/Api/MediaResponse.cs b/TheIntroDB/Api/MediaResponse.cs index 45379d8..49e44fe 100644 --- a/TheIntroDB/Api/MediaResponse.cs +++ b/TheIntroDB/Api/MediaResponse.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System.Collections.Generic; using System.Text.Json.Serialization; diff --git a/TheIntroDB/Api/NotFoundCacheService.cs b/TheIntroDB/Api/NotFoundCacheService.cs index 348bcd9..321c98a 100644 --- a/TheIntroDB/Api/NotFoundCacheService.cs +++ b/TheIntroDB/Api/NotFoundCacheService.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using MediaBrowser.Model.Services; using TheIntroDB.Services; diff --git a/TheIntroDB/Api/SegmentTimestamp.cs b/TheIntroDB/Api/SegmentTimestamp.cs index 9c24ee9..3670d26 100644 --- a/TheIntroDB/Api/SegmentTimestamp.cs +++ b/TheIntroDB/Api/SegmentTimestamp.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System.Text.Json.Serialization; namespace TheIntroDB.Api diff --git a/TheIntroDB/Api/SegmentsService.cs b/TheIntroDB/Api/SegmentsService.cs index 0aabeb8..6d5b184 100644 --- a/TheIntroDB/Api/SegmentsService.cs +++ b/TheIntroDB/Api/SegmentsService.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System.Collections.Generic; using MediaBrowser.Common.Configuration; using MediaBrowser.Model.Logging; diff --git a/TheIntroDB/Api/TheIntroDbApiKeyValidationService.cs b/TheIntroDB/Api/TheIntroDbApiKeyValidationService.cs index 98c0e73..3cbc6e1 100644 --- a/TheIntroDB/Api/TheIntroDbApiKeyValidationService.cs +++ b/TheIntroDB/Api/TheIntroDbApiKeyValidationService.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.Net.Http; using System.Net.Http.Headers; diff --git a/TheIntroDB/Api/TheIntroDbClient.cs b/TheIntroDB/Api/TheIntroDbClient.cs index 244bc4d..c88846e 100644 --- a/TheIntroDB/Api/TheIntroDbClient.cs +++ b/TheIntroDB/Api/TheIntroDbClient.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System; using System.Collections.Generic; using System.Linq; diff --git a/TheIntroDB/Api/TheIntroDbUserStats.cs b/TheIntroDB/Api/TheIntroDbUserStats.cs index 1603aa1..52f02e8 100644 --- a/TheIntroDB/Api/TheIntroDbUserStats.cs +++ b/TheIntroDB/Api/TheIntroDbUserStats.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using System.Collections.ObjectModel; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/TheIntroDB/Configuration/PluginConfiguration.cs b/TheIntroDB/Configuration/PluginConfiguration.cs index b73776b..0b368d7 100644 --- a/TheIntroDB/Configuration/PluginConfiguration.cs +++ b/TheIntroDB/Configuration/PluginConfiguration.cs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2026 TheIntroDB + using MediaBrowser.Model.Plugins; namespace TheIntroDB.Configuration diff --git a/TheIntroDB/Configuration/configPage.html b/TheIntroDB/Configuration/configPage.html index 0057fad..f96f0cf 100644 --- a/TheIntroDB/Configuration/configPage.html +++ b/TheIntroDB/Configuration/configPage.html @@ -1,3 +1,5 @@ + +