3 Commits

Author SHA1 Message Date
a71ced086a Merge branch 'main' of https://git.tdpi.dev/TDPI/jellyfin-plugin-smartnotify
All checks were successful
Create Release PR / Create Release PR (push) Successful in 19s
2026-04-07 08:38:20 +02:00
85fd002f4e fix: slow start of jellyfin 2026-04-07 08:38:18 +02:00
Gitea Actions
f9aacf2436 chore: update manifest for v0.1.3
All checks were successful
Create Release PR / Create Release PR (push) Successful in 4s
2026-04-05 16:13:21 +00:00
2 changed files with 13 additions and 5 deletions

View File

@@ -50,11 +50,7 @@ public class SmartNotifyBackgroundService : IHostedService, IDisposable
{
_logger.LogInformation("SmartNotify background service starting");
// Pre-populate DB with all existing library items so they're recognized as "known".
// This prevents mass notifications on first run or after DB reset.
SeedExistingLibraryItems();
// Subscribe to library events
// Subscribe to library events (before seeding so we don't miss items added during seed).
_libraryManager.ItemAdded += OnItemAdded;
_libraryManager.ItemRemoved += OnItemRemoved;
@@ -64,6 +60,10 @@ public class SmartNotifyBackgroundService : IHostedService, IDisposable
_processTimer.AutoReset = true;
_processTimer.Start();
// Pre-populate DB with existing library items in the background
// so we don't block Jellyfin startup.
_ = Task.Run(() => SeedExistingLibraryItems(), cancellationToken);
_logger.LogInformation("SmartNotify is now monitoring library changes");
return Task.CompletedTask;

View File

@@ -8,6 +8,14 @@
"category": "Notifications",
"imageUrl": "",
"versions": [
{
"version": "0.1.3.0",
"changelog": "## 0.1.3 (2026-04-05)\n\n### Bug Fixes\n\nGebe keine Notification wenn der Name der Serie tmdbid oder ähnliches enthält.\nDies verhindert das die Notification kommt wenn noch nicht die Metadaten gezogen wurden.",
"targetAbi": "10.11.0.0",
"sourceUrl": "https://git.tdpi.dev/TDPI/jellyfin-plugin-smartnotify/releases/download/v0.1.3/smartnotify_0.1.3.zip",
"checksum": "0c8a24dcfed8884f768e5b2aad5f251c",
"timestamp": "2026-04-05T16:13:21Z"
},
{
"version": "0.1.2.0",
"changelog": "## 0.1.2 (2026-04-04)\n\n### Bug Fixes\n\n* Problem behoben das der Serienname vor der Benachrichtigung nicht aktualisiert wurde.",