How to set up tautulli newsletter templates

Anyone knows how to setup the tautulli newsletter templates?

I have the newsletter setup, I created a folder inside my /config folder called custom_templates and added the recently_added.html there.

then, in the tautulli configuration, I added the path /config/custom_templates as the custom templates path.

But I got an error that tautulli can’t find that path.

Anyone was able to set a custom newsletter template with tautulli installed through the home assistant store?

thanks for the help!

This thread is from 2020… But did you find a solution?

thanks

yeah I have a solution. Will send you what I did when I’ll arrive home. not documented very well but changing the template is easy once you know where it is and how to change it.

so when I home and have access to the file-system, will send an update on this thread

I am just trying to set my newsletter for plex also…wouldn’t expect to find solutions here …but if you can share something it would be helpful…thanks in advance

I don’t think he ever made it home :stuck_out_tongue_winking_eye:

Did you get home yet?
I would love to see the solution.
Thanks

1 Like

Here’s what you need to do:

1. You need to deploy tautulli with a custom binding:

docker run -d --name=tautulli --restart=unless-stopped -v $PWD/config-tautulli:/config -e TZ=Asia/Jerusalem -p 8181:8181 tautulli/tautulli

This is specific to windows (because of the $PWD but besides that should work the same for any system). You can replace $PWD with any folder you want.

The point of this docker run command is to bind the internal /config folder in the container to a folder on the host machine you can modify. Without this, you really don’t have access to the custom_templates folder inside the configuration folder. That’s why we’re binding the entire config folder instead of what tautulli on plex does which is bind only parts of that folder.

2. Create a custom template

After running the docker container, go into the folder you attached to the internal config. Tautulli should have created some files there. If you don’t have a custom_templates folder, create one.

Create an HTML template inside of it. name it recently_added.html.
If you want to customize the default newsletter, you can fetch the default one from here.

Tautulli uses Mako Templates, so you can check the documentation on how to write the template syntax and investigate the default template for fetching the actual data. Basically, there’s a block at the start of the file that you can check to see the variable names and more.

3. Set up your newsletter on Tautulli

Go ahead and setup a newsletter. Go to the Test Newsletter tab and try sending the newsletter or seeing a preview of it. Make sure you see the changes you made to the newsletter in your test.

Hope this helps.
And sorry for the long wait :rofl:
I stopped working on Tautulli because of server changes (my old machine died after 7 years so had to replace it). Took a while to get things back to a working state. Also, unfortunately, other life events happened that took most of my time.

But better late than never :kissing_closed_eyes:

1 Like