Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] Tenasi - PlexAnnouncer

Featured Replies

@JohnnyP what about to try the binhex plex docker?

  • Replies 140
  • Views 23.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Read the first post. There is the howto. You don't have to fill in the IP of the Plex Server. The Server URL you have to insert is something like https://app.plex.tv/desktop#!/server/e46.....  

  • Hi Kibi,   Thank you so much. And Sorry for not read correctly the instructions.

  • jonpetersathan
    jonpetersathan

    Yes, it is supposed to stay running, after you modified the config file accordingly. The first time you run it, it will create a basic config file and then error out since of the missing discord webho

Posted Images

  • Author

Yes you can try, but shouldn't make a difference and I'm using the official Plex image with the exact same config and it works fine. Really strange....

Hmmmm next weekend I'll try to uninstall and reinstall Plex. Maybe something went wrong while installing Plex

Hello!

 

I'm having a problem here.

I can't figure how to make the bot join the Discord server.

Everything is configured OK, logs show:

 

======== Running on http://0.0.0.0:32500 ========
(Press CTRL+C to quit)
Plex webhook URL: http://localhost:32500/6s8r7t165sr7t1vf6s5r7t

 

But no bot in discord server. What did I miss? :)

Capture d’écran 2021-05-13 à 12.13.02.png

Edited by Valiran
add screenshot

1 hour ago, Valiran said:

Hello!

 

I'm having a problem here.

I can't figure how to make the bot join the Discord server.

Everything is configured OK, logs show:

 

======== Running on http://0.0.0.0:32500 ========
(Press CTRL+C to quit)
Plex webhook URL: http://localhost:32500/6s8r7t165sr7t1vf6s5r7t

 

But no bot in discord server. What did I miss? :)

Capture d’écran 2021-05-13 à 12.13.02.png

I think your problem is "plex webhook Token"
It should look like: http://localhost:32400/6s8r7t165sr7t1vf6s5r7t

if you didnt change the port.

  • Author

No his port is fine, it's the port PA is using (32500). What port Plex uses (32400 per default) doesn't matter here.

 

I think everything is working here. PA is using Discord Webhooks which work fundamentally different then bots. You will for example never see a Webhook join your server, like a bot does. The message Plex send to your server will look like they were send by a bot called Plex (or however you configured your Webhook) but they were actually send using a web request to the Webhook URL you specified in your PA config.

 

Hope this clarifies it :)

  • 1 month later...

does anyone else keep getting this error

 

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 314, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 546, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'invalid HTTP method'"

 

Hi I was wondering if I could get some help. Whenever I play or resume anything or add anything new under movies or tv, all I get is a thumbnail in Discord no text at all. I have attached a pic of how it displays:

Capture11.JPG.4ccb52cc7e60c856b50afe557d9e9e05.JPG

 

I have monitored my log file after adding something new to plex and my log file never changes.

log.JPG.490582f8c50ae6bc6787b35245681b23.JPG

 

 

Obviously it's connected and communicating but why am I only getting the thumbnail? I would appreciate any assistance. Thanks!

  • Author
10 hours ago, Wizaro said:

Obviously it's connected and communicating but why am I only getting the thumbnail? I would appreciate any assistance. Thanks!

 

Check your config again, you've probably inserted your Discord Webhook URL instead of the local PA URL (shown in the first line of your log) in your Plex settings.

9 hours ago, JohnnyP said:

 

Check your config again, you've probably inserted your Discord Webhook URL instead of the local PA URL (shown in the first line of your log) in your Plex settings.

I got that entry from the URL of the XML file of one of my movies but apparently that token changes cause I opened a movie today the same way and that token had changed to this:
token.jpg.0929879b905cb6c0208595a02075d9b0.jpg

 

I tried changing it to the token above and the behavior didn't change, still just shows the thumbnail in discord.

 

Heres my current config:
Capture12.thumb.JPG.e7b66144ed019c27742fd0ec448211c2.JPG

  • Author
23 hours ago, Wizaro said:

I got that entry from the URL of the XML file of one of my movies but apparently that token changes cause I opened a movie today the same way and that token had changed to this:
token.jpg.0929879b905cb6c0208595a02075d9b0.jpg

 

I tried changing it to the token above and the behavior didn't change, still just shows the thumbnail in discord.

 

Heres my current config:
Capture12.thumb.JPG.e7b66144ed019c27742fd0ec448211c2.JPG

Ok, so the PLEX_WEBHOOK_TOKEN can literally be anything you want, just type some random value in here. This token is then used in the URL, where PlexAnnouncer is listening for incoming Webhooks from Plex. So in your case: http://localhost:32500/1fkD...

 

You then need to put this URL in your Plex settings, where you added the Webhook. From the behavior of your issue I guess that you added the Discord Webhook URL instead here. That's how it looks in my config:

Screenshot_20210716-012119.png.41007d1b9158fbdfe8f6deaaed2ca36a.png

 

Note: You may have to replace localhost with the IP address of PlexAnnouncer (like I did) if they aren't run on the same host.

 

 

 

56 minutes ago, JohnnyP said:

Ok, so the PLEX_WEBHOOK_TOKEN can literally be anything you want, just type some random value in here. This token is then used in the URL, where PlexAnnouncer is listening for incoming Webhooks from Plex. So in your case: http://localhost:32500/1fkD...

 

You then need to put this URL in your Plex settings, where you added the Webhook. From the behavior of your issue I guess that you added the Discord Webhook URL instead here. That's how it looks in my config:

 

 

Note: You may have to replace localhost with the IP address of PlexAnnouncer (like I did) if they aren't run on the same host.

 

 

 

 

You were 100% right! Thats exactly what I did, working now thanks so much!!!

  • 1 month later...

Ok I am at a loss.  I feel like I have everything set up correctly but not getting push notifications in Discord channels.  Here's what I got:

image.png.74d56334f955311b0d2d8cd03b07020c.pngimage.png.51f2957b130aa93d1667a501731c7aeb.pngimage.png.c9fd060af4a23e537195e6c88973a0a8.png So I think I have my Plex settings right.  Here's my docker settings:

image.png.679f9d82c2dfefe2dba4aa1743baf932.png

image.png.20db489a82f583224c11c0a3ec2f7466.png

 

And of course the Discord Webhook URL matches the "copy webhook URL" from discord.  

 

Finally, checking the logs of PlexAnnouncer, it is running and I see:

image.png.049505130871f5a20097dc6e0ba80eb7.png --- That's it.  

 

I added a couple shows to one of my libraries in Plex and nothing showed up in Discord.  What did I do wrong?

 

 

Edited by Hawkins12
Remove duplicate attachment

I left it run all night, checked this morning and logs show: 

image.png.e8f3c8edb9c9ca5e755ad08369580399.png 

 

This seems to be an improvement from yesterday; however, I removed and re-added a video and still didn't show up in discord.   Total loss at this :( 

It has to be something new. Removing and re-adding a movie will not trigger an event.

 

1 minute ago, jamerperson said:

It has to be something new. Removing and re-adding a movie will not trigger an event.

Oh thanks, I'll try to find something new to add and report back.  Thanks for this!

37 minutes ago, jamerperson said:

It has to be something new. Removing and re-adding a movie will not trigger an event.

I just added a new TV series to my TV Series folder.  Nothing came through to discord.  Is there generally a delay?

 

I also added a new movie too.  Still didn't report to discord

Edited by Hawkins12

  • Author

Hmm, looks alright at first glance. Stupid question, but are you able to communicate from the Plex container to the PlexAnnouncer container? Try running the following from inside you Plex container:

curl -X POST 192.168.40.201:32500/PLEX_WEBHOOK_TOKEN

Obviously replace PLEX_WEBHOOK_TOKEN with your token. You should see something like this in your PA logs:

image.png.e17bced66c7c9b497de3fb087ff8c85a.png

 

 

5 hours ago, JohnnyP said:

Hmm, looks alright at first glance. Stupid question, but are you able to communicate from the Plex container to the PlexAnnouncer container? Try running the following from inside you Plex container:

curl -X POST 192.168.40.201:32500/PLEX_WEBHOOK_TOKEN

Obviously replace PLEX_WEBHOOK_TOKEN with your token. You should see something like this in your PA logs:

image.png.e17bced66c7c9b497de3fb087ff8c85a.png

 

 

Looks like something's amiss.  Here is the results -- I ran twice for good measure.  I did replace the IP with my internal IP for the plex container (and webhook) as well.  

image.png.4e910c7a8c928564a7ef086f13f2ddf6.png

7 minutes ago, Hawkins12 said:

Looks like something's amiss.  Here is the results -- I ran twice for good measure.  I did replace the IP with my internal IP for the plex container (and webhook) as well.  

image.png.4e910c7a8c928564a7ef086f13f2ddf6.png

Ok, disregard, I checked the logs of the PlexAnnouncer container and I did get the result you postedimage.png.5a1d3eff63ffe2cab26eaa0ba83431bb.png

 

And in the process, I think I figured out the issue.  In Plex Settings, I added:

image.png.ca6fa89f1d992d605d18b59be3a22fcf.png

 

I think this needs to read :32500 and not :32400.  I just need to test it.  

Edited by Hawkins12

  • Author
7 hours ago, Hawkins12 said:

I think this needs to read :32500 and not :32400.  I just need to test it.  

Oh yes, didn't see... You are absolutely right, that's the issue! 

  • 4 months later...
  • 2 months later...

Was there a recent change to Discord/Plex/PA with respect to the service.  My PA was working perfectly for months and on March 3rd, it stopped updating in discord.  No changes to settings in PA, Discord, or Plex.  I tried to re-config (start from scratch) and nothing is causing it to work again.

  • Author

Not really, maybe Discord did some changes to the Webhook API... But for me everything still works as expected. Is your Plex Pass still valid? Or did your license expire by any chance?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.