feat BestFilmVersion 新增支持webhook

This commit is contained in:
mayun110
2023-08-07 19:34:31 +08:00
parent 99be66b35f
commit 792aef943b
2 changed files with 352 additions and 98 deletions

View File

@ -373,7 +373,10 @@ class Jellyfin(metaclass=Singleton):
"""
eventItem = WebhookEventInfo(
event=message.get('NotificationType', ''),
item_id=message.get('ItemId'),
item_name=message.get('Name'),
item_type=message.get('ItemType'),
tmdb_id=message.get('Provider_tmdb'),
user_name=message.get('NotificationUsername'),
channel="jellyfin"
)