Tautulli - Monitor your Plex Media Server

@lepitismak said:
what is pip?
i dont have any idea.

It’s a basic python tool for installing extra python stuff.
Used to install Python libraries/packages.

can help me with it?
No, especially in this thread meant for tautulli.
Use a python manual online for how to install packages
pip python install packages - Google Search

i will check this

for notification of new content, informs that Image Hosting must be enabled for the images to appear. Is there any easier way than having to host all images?

I finally setup a gmail account to use with Tautulli notifications and newsletters and I’m getting notifications now just fine. The newsletter looks okay in the Preview but what arrives in my mail box is a mess of errors.



As you can see in the preview the footer is present and it seems to be present in the template file. I’m not modifying the template file, though I might if it looks like it’s working. From the log:

2018-06-07 00:57:15 - DEBUG :: CP Server Thread-12 : Sending test Recently Added newsletter. 2018-06-07 00:57:15 - INFO :: Thread-2 : Tautulli NewsletterHandler :: Preparing newsletter for newsletter_id 1. 2018-06-07 00:57:16 - INFO :: Thread-2 : Tautulli Newsletters :: Recently Added newsletter saved to 'newsletter_83f9505e.html' 2018-06-07 00:57:18 - INFO :: Thread-2 : Tautulli Notifiers :: Email notification sent.
The saved newsletter is also a mess. The Newsletter log only records a successful test. Looks pretty normal but. If you need the full logs, I’ll have to figure out Gist.

@MajorEvent said:
I finally setup a gmail account to use with Tautulli notifications and newsletters and I’m getting notifications now just fine. The newsletter looks okay in the Preview but what arrives in my mail box is a mess of errors.
As you can see in the preview the footer is present and it seems to be present in the template file. I’m not modifying the template file, though I might if it looks like it’s working. From the log:

2018-06-07 00:57:15 - DEBUG :: CP Server Thread-12 : Sending test Recently Added newsletter. 2018-06-07 00:57:15 - INFO :: Thread-2 : Tautulli NewsletterHandler :: Preparing newsletter for newsletter_id 1. 2018-06-07 00:57:16 - INFO :: Thread-2 : Tautulli Newsletters :: Recently Added newsletter saved to 'newsletter_83f9505e.html' 2018-06-07 00:57:18 - INFO :: Thread-2 : Tautulli Notifiers :: Email notification sent.
The saved newsletter is also a mess. The Newsletter log only records a successful test. Looks pretty normal but. If you need the full logs, I’ll have to figure out Gist.

You need to enable image hosting like the warning says. The false footer message has already been fixed for the next release.

@JonnyWong16 said:

You need to enable image hosting like the warning says. The false footer message has already been fixed for the next release.

You don’t get the image place holders except in the preview then? Can I just remove the images completely?

Tautulli is great, BTW! Thanks for the quick reply.

Fixed: I fortunately do have a public domain so I hosted the header there. But it’s too much trouble to be moving images around every week so edited the template to remove the poster cards. Everything looks okay now. The way the warning was phrased it sounded like only the images wouldn’t work, not that the whole newsletter would be fubar. Especially since the preview looks fine, it’s confusing. Might want to make that clearer to avoid support requests like this one. Or, better yet, have an option not to have any graphics.

Ignore what I said before. I understood now how it works. on the management of notifications, is there any file that I can more easily manage the registered emails? on the web gets a bit tricky to add and remove addresses.

I searched the files and did not find where it was stored.

@MajorEvent said:
@JonnyWong16 said:

You need to enable image hosting like the warning says. The false footer message has already been fixed for the next release.

You don’t get the image place holders except in the preview then? Can I just remove the images completely?

Tautulli is great, BTW! Thanks for the quick reply.

Fixed: I fortunately do have a public domain so I hosted the header there. But it’s too much trouble to be moving images around every week so edited the template to remove the poster cards. Everything looks okay now. The way the warning was phrased it sounded like only the images wouldn’t work, not that the whole newsletter would be fubar. Especially since the preview looks fine, it’s confusing. Might want to make that clearer to avoid support requests like this one. Or, better yet, have an option not to have any graphics.

That is exactly how it works. If the image hosting setting is disabled then images won’t show up. I already said that the error has been fixed for the next release.

please delete…

@pbenzschawel said:
I am having an issue where my “Live Sessions” are not clearing from the history tab. I have to manually flush the sessions to get them to remove. Everything else appears to be working. This is on Ubuntu Server 18.04 LTS running the latest PMS version 1.13. Anybody else seeing this? Again, this is with Live sessions only. All other logging is working great!

Anybody else seeing this? I am still seeing it. My live sessions still show as being played in the History Tab. I have to restart Tautulli or flush them in the general tab. All other streams disappear after playback has stopped other than live TV.

@pbenzschawel said:

@pbenzschawel said:
I am having an issue where my “Live Sessions” are not clearing from the history tab. I have to manually flush the sessions to get them to remove. Everything else appears to be working. This is on Ubuntu Server 18.04 LTS running the latest PMS version 1.13. Anybody else seeing this? Again, this is with Live sessions only. All other logging is working great!

Anybody else seeing this? I am still seeing it. My live sessions still show as being played in the History Tab. I have to restart Tautulli or flush them in the general tab. All other streams disappear after playback has stopped other than live TV.

Already been fixed for the next release.

This looks quite interesting and I think I might dabble with it. My question is do I need an account from the image hosting sites(e.g., Imgur) to be able to use the newsletter with poster artwork?

Disregard.

Just curious, is there a way to have conditional formatting of the alerts that are sent? So if the title of a show is ‘pilot’ I can change the text being sent to something else other than the show title of ‘pilot’, something like “the series pilot”, without setting up a bunch of separate alerts ?

@SwiftPanda16 I am testing notifications with Zapier, and when the notification is sent to LinkedIn, Zapier says:

comment: play
content__submitted_image_url: https://res.cloudinary.com/dndipf06u/image/upload/f_auto,q_auto/v1528411889/poster_2350.png
content__title: Tautulli (Vahalla)
visibility__code: anyone
content__description: Steve (Chrome) started playing Archer - Archer Vice: Baby Shower.

api.linkedin.com returned (400) Bad Request and said “‘submitted-url’ can not be empty”

I have the Zap template set up as it shows in the screenshot.

@JonnyWong16 said:

@tycho1974 said:

@JamminR said:

@tycho1974 said:
using a non-Gmail SMTP server with no TFA, with login credentials that work perfectly fine when I run PlexEmail. Am I literally the only experiencing this issue?

So far, yes, likely.
You even stated you tried Gmail somewhere in a previous post. If you can’t get THAT working, following the Wiki setup instructions for a Gmail account, something is wrong somewhere on your end that none of us have encountered before, and unfortunately, the logs don’t really help. It’s almost as though you, your ISP, malware, or overprotective web proxy, is preventing the connection.

I guess the part that’s the most infuriating to me is that my PlexEmail script works just fine with the same login credentials and SMTP information. I don’t know anything about Python, or scripting, so I’m having a hard time understanding why PlexEmail gives me no errors, but Tautulli returns that error message.

I’m going to assume that this is a Python issue. So my question is: How can this be possible? I believe (I could be wrong) that both are using the same version of Python, so to my non-educated thinking this means that there is something particular in the Tautulli script that is the cause of this error. I’m assuming @JonnyWong16 is no longer interested in troubleshooting this, so is there anyone else here who has some Python knowledge that can shed any light on this? I agree with @JamminR that PlexEmail’s user friendliness is lacking, and that Tautulli’s user experience is leagues ahead, so this is killing me.

It’s not that I’m no longer interested. I don’t know what is wrong, and I don’t see anything wrong on my end. I have no way to test it unless you give me access to your email (which is probably a really bad idea).

@JonnyWong16 — So I’ve spent the past week testing sporadically, and I found this solution:

  1. Windows Defender (the only anti-virus running on my server) must be turned off.
  2. Email address used by the newsletter agent must be a non-gmail account (Email using office365.com for SMTP works; my Gmail-based email account on my custom domain does not).

This is literally the only combination of options that works. I simply cannot get the agent to work using my Gmail-based email account at all, and Windows Defender must be deactivated. I’d prefer not to deactivate my anti-virus completely, so what should I allow access, and where?

@NewPlaza said:
This looks quite interesting and I think I might dabble with it. My question is do I need an account from the image hosting sites(e.g., Imgur) to be able to use the newsletter with poster artwork?

You can either host on your own server, same one Tautulli runs from, use IMgur, or Cloudinary.
Imgur will limit how many images you can post in one go (8?)
I recommend cloudinary, and yes, it requires an account and key.

@tycho1974 said:

  1. Windows Defender (the only anti-virus running on my server) must be turned off.
  2. Email address used by the newsletter agent must be a non-gmail account (Email using office365.com for SMTP works; my Gmail-based email account on my custom domain does not).

This is literally the only combination of options that works. I simply cannot get the agent to work using my Gmail-based email account at all, and Windows Defender must be deactivated. I’d prefer not to deactivate my anti-virus completely, so what should I allow access, and where?

Re: #1
That’s just not right. I’m not saying you’re not experiencing the issue, but it’s just not right.
I run on a Win10 Pro box, I’ve used the Python2.6 installer to install python, and I’m pretty sure it opened the access needed in defender firewall to allow traffic into and out from python.exe and pythonw.exe
That, or I was properly asked to allow access to the network when I first ran the Tautulli (PlexPy at the time) python scripts.
I use Win defender + another security app with no issue.

Re: #2
The only things I can think of are
A ) You don’t have Gmail ‘allow insecure access’ enabled
B ) You aren’t using username@yourdomain.com as your gmail login (required for Gmail custom)
C ) Your custom domain gmail account has some additional security/2fa/or no SMTP access allowed (due to custom)

@JamminR said:

@tycho1974 said:

  1. Windows Defender (the only anti-virus running on my server) must be turned off.
  2. Email address used by the newsletter agent must be a non-gmail account (Email using office365.com for SMTP works; my Gmail-based email account on my custom domain does not).

This is literally the only combination of options that works. I simply cannot get the agent to work using my Gmail-based email account at all, and Windows Defender must be deactivated. I’d prefer not to deactivate my anti-virus completely, so what should I allow access, and where?

Re: #1
That’s just not right. I’m not saying you’re not experiencing the issue, but it’s just not right.
I run on a Win10 Pro box, I’ve used the Python2.6 installer to install python, and I’m pretty sure it opened the access needed in defender firewall to allow traffic into and out from python.exe and pythonw.exe
That, or I was properly asked to allow access to the network when I first ran the Tautulli (PlexPy at the time) python scripts.
I use Win defender + another security app with no issue.

On this note, what should I be looking for? I see no outbound rules in my Windows Defender firewall settings related to python.exe or pythonw.exe. The only place I can find anything is in the “Monitoring>Firewall” section.

Re: #2
The only things I can think of are
A ) You don’t have Gmail ‘allow insecure access’ enabled
B ) You aren’t using username@yourdomain.com as your gmail login (required for Gmail custom)
C ) Your custom domain gmail account has some additional security/2fa/or no SMTP access allowed (due to custom)

A: I do have “allow less secure apps access” enabled.
B: I am using the full username (username@customdomain.com) for login.
C: I mostly use Mozilla Thunderbird to access this email, and sending email using SMTP works just fine; the account uses no 2FA. (The SMTP is googlemail.com, and not the standard gmail.com.)

hi

i want to add the file path / file size (like in the email) of each entry within the newsletter. i just downloaded the “recently_added.html” but im not sure where and how i have to do this :slight_smile: maybe someone can give me a hint. THX :wink: