webhook方式添加jellyfin删除事件ItemDeleted

This commit is contained in:
Attente
2025-06-08 16:07:42 +08:00
committed by GitHub
parent 29c6bea1f7
commit 03b742ddc5

View File

@@ -583,7 +583,7 @@ class MediaSyncDel(_PluginBase):
event_type = event_data.event
# Emby Webhook event_type = library.deleted
if not event_type or str(event_type) != 'library.deleted':
if not event_type or str(event_type) not in ['library.deleted', 'ItemDeleted']:
return
# 媒体类型