Tautulli - Monitor your Plex Media Server

@thomy22 said:
@JonnyWong16

Thank you for the update to Cloudinary for the newsletter. This works much better now.

I still have one wish for the newsletter.

Currently, it simply combines all film and series libraries. I would like to separate this. That is, if I have 2 libraries for series, they will be displayed separately. Say series Complete and series running or Top 50 films and new on cinema. Users would immediately know which library to look in.
For example, he would also separate documentaries and feature films, since I have separated them, etc. The overview for the users would definitely increase this.

Thanks for your great work and keep up the good work.

Create your own custom template.

https://www.reddit.com/r/Tautulli/comments/8e51eq/question_re_newsletters/dxshjsb/

@JonnyWong16

Thanks for the tip. Unfortunately, I am not really good with HTML and all programming technology. Can you maybe tell me where I need to make some adjustments? I just want to display the libraries and your news one by one.

@boblinthewild

I already know that. But I would like to receive a newsletter with all libraries. Don’t want my users to spam with 20 mails :slight_smile:

Is there any way to view HH:MM per item other than the top 5 on the homepage? :slight_smile:

@JonnyWong16 I got the following error using the new beta.

2018-05-02 21:28:11 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 3 watched.
2018-05-02 21:28:12 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Looking up The Movie Database info for imdb_id ‘tt0089530’.
2018-05-02 21:28:12 - DEBUG :: Thread-1 : Tautulli NotificationHandler :: Looking up The Movie Database info for themoviedb_id ‘9355’.
2018-05-02 21:28:13 - ERROR :: Thread-1 : Tautulli Helpers :: Unable to upload image ‘Mad Max Beyond Thunderdome’ (poster) to Cloudinary: sequence item 1: expected string, int found
2018-05-02 21:28:13 - INFO :: Thread-1 : Tautulli NotificationHandler :: Preparing notifications for notifier_id 1.
2018-05-02 21:28:14 - INFO :: Thread-1 : Tautulli Notifiers :: Twitter notification sent.
2018-05-02 21:39:50 - DEBUG :: Thread-3 : Tautulli ActivityHandler :: Session 3 stopped.

@bnbgbllbg said:
Is there any way to view HH:MM per item other than the top 5 on the homepage? :slight_smile:

I’m pretty sure there isn’t - the closest you could get is number of plays in the library tab - pick any library - history view - it shows number of plays. May not be great though, as it may not be grouping plays like the history tab does.
Add it to the feathub if it’s not already there and I’ll vote for it.

"Should Tautulli run all the time in order to do reporting? "

Or can I turn it on a few times a week to see what has been going on on my Plex server?

Unless it’s running, it’s not going to know what’s happening on your server.

@DJF3 said:
"Should Tautulli run all the time in order to do reporting? "
GitHub - Tautulli/Tautulli-Wiki: Wiki for Tautulli

Linked to a specific, but I’d recommend reading all those for education

@JonnyWong16
-EDIT - NEVERMIND.
I was using date and time where it should be datestamp and timestamp - sorry.
Carry on

Just started playing with Newsletters. Not sure when, but it hit me today or yesterday in the main branch.

Before I go making feathub requests:
Are there any plans to allow for a custom SINGLE output location for self-hosting?
Not the random /newsletter/hashcode every time currently?
(I have my own http server, configured/locked/secured the way I want it - I’d like to output one single index.html/css into a directory I have on it (like PlexEmail allows me to depending on which config I use)

For self-hosting, are there any plans to still allow for remote image hosting (Cloudinary)? I use PlexEmail, and am wanting to start using Tautulli newsletter, however, PlexEmail lets me host images on Cloudinary (to save bandwidth of X users all loading my recently added ) whether I’m outputting HTML to an email or my local http server.

@JamminR said:
Just started playing with Newsletters. Not sure when, but it hit me today or yesterday in the main branch.

Released today.

https://www.reddit.com/r/PleX/comments/8h9ejy/op_delivers_tautulli_v21_with_newsletters/

Before I go making feathub requests:
Are there any plans to allow for a custom SINGLE output location for self-hosting?
Not the random /newsletter/hashcode every time currently?
(I have my own http server, configured/locked/secured the way I want it - I’d like to output one single index.html/css into a directory I have on it (like PlexEmail allows me to depending on which config I use)

I answered this before. It doesn’t make sense to have a single output because you can have multiple newsletters configured.

https://www.reddit.com/r/Tautulli/comments/8c8q4u/newsletter_help/dxegmuk/?context=1000

For self-hosting, are there any plans to still allow for remote image hosting (Cloudinary)? I use PlexEmail, and am wanting to start using Tautulli newsletter, however, PlexEmail lets me host images on Cloudinary (to save bandwidth of X users all loading my recently added ) whether I’m outputting HTML to an email or my local http server.

Noted.

@JonnyWong16 said:
Released today.

Reddit - Dive into anything

Sorry. I don’t live at reddit like I do the Plex forums.
Awesome.

I answered this before. It doesn’t make sense to have a single output because you can have multiple newsletters configured.

Reddit - Dive into anything

I’ll review, but, it makes perfect sense for many of us.
Edit - I can’t read the entire post - Reddit has a nasty ‘login or signup’ left menu covering 1/4th the page.
If there’s an X button, I can’t find it in my high contrast theme.

/I want static file locations for my hosting.
I’m using a static http landing page that links to various tools/toys for my shared users.
Besides a self hosted speed test, host check, link to Tautulli, and my server and global system bandwidth usage, on that page I have links to two different “Recent” history pages.
First, a link to the past weeks. It’s index file gets updated by scripted PlexEmail process nightly, and shows, aptly enough, the past 7 days of new additions.
Second, a link to “Added over last month” - it’s content is updated at 23:30 on the last day of the month, and it shosing the recently added from the first of that same month.
Then separately, I have an email go out every Friday night with html in the email.

With Tautulli’s dynamic /hash URLs, how do I configure my static page to link to those 2 self-hosted automatically?
I don’t want to have to manually edit URLs every day, and end of month.
I shouldn’t have to create a PHP project just to look for the latest files, or guess which one of 2 on the end of the month is the file I need.

EDIT - Additionally, my co-workers I share with, and a few other people I share with, can’t purview tautulli content due to work firewalls blocking non-standard ports (8181). They can view my public server, hosted on SSL 443, and is allowed. We can ‘goof off’ during our lunch breaks, planning what to watch for the night or weekend.

The option to be able to write out to a single, separate of each newsletter agent if we want, file/location would be great.

For self-hosting, are there any plans to still allow for remote image hosting (Cloudinary)? I use PlexEmail, and am wanting to start using Tautulli newsletter, however, PlexEmail lets me host images on Cloudinary (to save bandwidth of X users all loading my recently added ) whether I’m outputting HTML to an email or my local http server.

Noted.

So, yes to feathub from me, or, nah, that’s ok.

Have been waiting for the newsletter to come out of beta and I totally love it.
Signed up to cloudinary free and it works like a charm.
Now just got to figure out what I need to do with gmail.
Not got 2 factor authentication. Will probably need to go there but think it might break other tools I have sending stuff to gmail.
Also not keen to ‘allow “less secure apps”’ through.
I am not sure what the requirements are for becoming a ‘secure’ app but is there any likelihood that the newsletter might conform to this in the future or the two options above going to be the only options going forward?
Not a criticism. It’s my problem, just want to be informed to make the right decision.

@borochris - I’m pretty sure, from reading this question on stackexchange, Tautulli, and most other python scripts here on the forums, will likely never use what Gmail calls ‘secure’ authentication. It requires the end-user to jump through hoops that even I as a privacy paranoid reasonably tech-savvy geek would not do just so I don’t have to disable “allow less secure apps” through.
I see the support questions here on the forum now at times and have to smile in knowing at how devs must be shaking thier head (or fist) and/or facepalming due to the technical inexperience of most - I can’t imagine having to support an end user through that mess that OAuth requires.

@JamminR said:

@JonnyWong16 said:
Released today.

Reddit - Dive into anything

Sorry. I don’t live at reddit like I do the Plex forums.
Awesome.

I answered this before. It doesn’t make sense to have a single output because you can have multiple newsletters configured.

Reddit - Dive into anything

I’ll review, but, it makes perfect sense for many of us.
Edit - I can’t read the entire post - Reddit has a nasty ‘login or signup’ left menu covering 1/4th the page.
If there’s an X button, I can’t find it in my high contrast theme.

/I want static file locations for my hosting.
I’m using a static http landing page that links to various tools/toys for my shared users.
Besides a self hosted speed test, host check, link to Tautulli, and my server and global system bandwidth usage, on that page I have links to two different “Recent” history pages.
First, a link to the past weeks. It’s index file gets updated by scripted PlexEmail process nightly, and shows, aptly enough, the past 7 days of new additions.
Second, a link to “Added over last month” - it’s content is updated at 23:30 on the last day of the month, and it shosing the recently added from the first of that same month.
Then separately, I have an email go out every Friday night with html in the email.

With Tautulli’s dynamic /hash URLs, how do I configure my static page to link to those 2 self-hosted automatically?
I don’t want to have to manually edit URLs every day, and end of month.
I shouldn’t have to create a PHP project just to look for the latest files, or guess which one of 2 on the end of the month is the file I need.

I’m considering it, but it’s not that easy. You can send the newsletter to a script notification agent with the {newsletter_uuid} as a parameter. The script could update your link, or move/rename the file, etc.

EDIT - Additionally, my co-workers I share with, and a few other people I share with, can’t purview tautulli content due to work firewalls blocking non-standard ports (8181). They can view my public server, hosted on SSL 443, and is allowed. We can ‘goof off’ during our lunch breaks, planning what to watch for the night or weekend.

The option to be able to write out to a single, separate of each newsletter agent if we want, file/location would be great.

Shouldn’t your server be proxying to Tautulli on port 443? That seems like the better way to handle it.

For self-hosting, are there any plans to still allow for remote image hosting (Cloudinary)? I use PlexEmail, and am wanting to start using Tautulli newsletter, however, PlexEmail lets me host images on Cloudinary (to save bandwidth of X users all loading my recently added ) whether I’m outputting HTML to an email or my local http server.

Noted.

So, yes to feathub from me, or, nah, that’s ok.

Nah, I got it.

@JonnyWong16 -
Re: Proxy/443.
I use a free reasonably simple http server that doesn’t have proxying unless paid for.
Though I’m a geek, and could install a free one that will proxy (apache/nginx), that then means I have to spend hours/days learning how to configure and test that (though capable, both I mention have always seemed complex).
I now have two open servers, both mine on 443 and Tautulli’s on a non standard, both use my Let’s encrypt cert.
It’s more open, but less time consuming.
I already spend too much time “geeking” as it is. :slight_smile:

Re: Newsletter output.
Please imagine the majority of ‘end users’.
The “I’m a no-IT experience end user”
The “I can edit in a directory name and file name in a config, and create that directory name following a guide” user.
I get the idea that’s what many of PlexEmail (potential Tautulli newsletter) users are. It’s what Plex Email allows.
Writing a separate python script to do what your suggesting is beyond even my capability currently. (reference my recent foray into killing a single session, 5 hours off and on over a day for 4 line changes), even for a pre-written script that already exists and ‘should have worked’.
Asking the masses to do it, if they wanted to host a static file web page that can be linked from a general site like I describe, shouldn’t be “expected”.
If you included a “newsletter script for dummies”, where by the script would take the newsletter output, and allow to write out to user specified directory, and file name, allowing for multiple depending on each agent addition, that would suffice. I/we could then use 1 - Script “newsletter script for dummies” - outputs past7days to /7days/past7.html and 2 - Script “newsletter script for dummies” - outputs 30days to /pastmonth/index.html, directory and path either specified in the script (making copies of each script and editing, which we do for the various plexemail configs now), but, config within Tautulli would be even prettier, that would be ideal and awesome.

I am attempting to install Tautulli, but am not able to get py27-openssl from a repository


`Instructions by Supa on the FreeNAS forums.

Tautulli will be installed to /usr/local/share/Tautulli.

Create a new jail for Tautulli (you can also install it within the PMS jail if you wish)
Open the jail shell.
Install pre-requisites: pkg install python2 py27-sqlite3 py27-openssl py27-pycryptodome security/ca_root_nss git
Type: cd /usr/local/share/
Type: git clone https://github.com/Tautulli/Tautulli.git
Fix permissions:
Allow all users to run: chmod -R 777 Tautulli OR
Allow only a certain user to run: chown -R user:group Tautulli
Type: cd Tautulli
Type: python2 Tautulli.py
Tautulli will be loaded in your browser or listening on http://localhost:8181 (http://[JAIL-IP]:8181)
To start Tautulli on startup, refer to Install as a daemon`

The error I am getting:
plexmediaserver_1:/usr/local/share # pkg install py27-openssl Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. pkg: No packages available to install matching 'py27-openssl' have been found in the repositories
I have attempted to install openssl instead, whicih succeeds, but then fail at the git command.

plexmediaserver_1:/usr/local/share # git clone http://github.com/Tautulli/Tautulli.git Cloning into 'Tautulli'... fatal: unable to access 'https://github.com/Tautulli/Tautulli.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Anyone able to assist or point out where I am going wrong?

Thank you

@bandion It looks like you are using an out of date jail template. If I remember correctly your jail needs to be at least FreeBSD 9.3. If you are on the current version of FreeNAS just create a jail using iocage as their current “regular” templates are broken and they are refusing to fix them.

I am trying to send Newsletter advising new additions. i am getting this error

Tautulli DataFactory :: Unable to execute database query for get_img_info: service not provided

Help pls