Compare commits
3 Commits
v0.1.3
...
a71ced086a
| Author | SHA1 | Date | |
|---|---|---|---|
| a71ced086a | |||
| 85fd002f4e | |||
|
|
f9aacf2436 |
@@ -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;
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user