Weekhook library.new not firing when adding new media

Hi,

Plex version: 4.66.1

I want to use the hooks in Plex send data to my API (dotnet core). I’m getting hooks only sent when media is played or stopped, I’m not getting any data for new media items added to my library from (library.new).

Thanks for any information you can give.

Unfortunately @madmorgan007, I am not here with a cure but I have come here with the same issue. I am receiving media events ( media.(pause|play|rate|resume|scrobble|stop) ) but I am not getting any library.new events.

I am using Node-RED to connect to Discord and send notifications when new media has been uploaded. I can send notifications when anyone plays or pauses anything but that isn’t much good as it ends up just spamming the channel. I only want to notify my family when something new has arrived on Plex.

This has been an active issue for more than a year, see this closed thread:

Would love to see some movement!

Confirming this issue is still present on the latest version of plex server for synology (1.25.3.5409)

I’m so glad I payed for live time pass to get no support or any information on how to fix this API issue, share the code with me I’m a software engineer I might be able to fix the issue with the API

Hi, could you share your Node-RED flow (export)? I try to achieve the same, but documentation is quite poor on this regard.

My payload looks like this
image

webhook is localhost:node-red_port/plex

Custom logging that I use for Plex to fire my hue lights, but library.new and library.on.deck webhooks are definitely firing for me. Maybe add a bit more info about your PMS’s.

xxxxxxxx@server:/Volumes/Scripts/logs$ cat plexhue.log |grep library -3 |tail -100
 └─Event: library.new
User: xxxxxxxx
  └─UID: 1
Player: 
--
2022-03-15 12:12:03,584  INFO:: 

Server: xxxxxxxx.NET
 └─Event: library.on.deck
User: xxxxxxxx
  └─UID: 1
Player: 
--
2022-03-15 12:12:04,495  INFO:: 

Server: xxxxxxxx.NET
 └─Event: library.new
User: xxxxxxxx
  └─UID: 1
Player: 
--
2022-03-16 18:54:00,357  DEBUG:: {'event': 'library.new', 'user': True, 'owner': True, 'Account': {'id': 1, 'thumb': 'https://plex.tv/users/45ecfa2e42ce6a2f/avatar?c=1335285311', 'title': 'xxxxxxxx'}, 'Server': {'title': 'xxxxxxxxxx', 'uuid': ''}, 'Metadata': {'librarySectionType': 'show', 'ratingKey': '667527', 'key': '/library/metadata/667527', 'parentRatingKey': '610030', 'grandparentRatingKey': '406790', 'guid': 'plex://episode/6214f97647c3f6d65bd1d6bc', 'parentGuid': 'plex://season/61e9363f5e4430d09ffb8573', 'grandparentGuid': 'plex://show/5d9c08686c3e37001ecd6f8a', 'type': 'episode', 'title': 'Episode 28', 'grandparentKey': '/library/metadata/406790', 'parentKey': '/library/metadata/610030', 'librarySectionTitle': 'TV Shows', 'librarySectionID': 2, 'librarySectionKey': '/library/sections/2', 'grandparentTitle': 'Married at First Sight (AU)', 'parentTitle': 'Season 9', 'contentRating': 'au/M', 'summary': '', 'index': 28, 'parentIndex': 9, 'thumb': '/library/metadata/667527/thumb/1647427958', 'art': '/library/metadata/406790/art/1644049376', 'parentThumb': '/library/metadata/610030/thumb/1645011271', 'grandparentThumb': '/library/metadata/406790/thumb/1644049376', 'grandparentArt': '/library/metadata/406790/art/1644049376', 'originallyAvailableAt': '2022-03-16', 'addedAt': 1647427957, 'updatedAt': 1647427958, 'Guid': [{'id': 'tvdb://9020739'}]}}

are you running the docker version ?? as I’m funning a full install on windows

not docker. Native Ubuntu 20.04

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.