Tautulli - Monitor your Plex Media Server

Nope. Will only work with 2.7
Check out installation steps on https://github.com/Tautulli/Tautulli-Wiki/wiki/Installation

Specifically it mentions " This guide assume you have Python 2.7 installed already. Python 3.x is not supported."

Thanks for reply.
I saw the need 2.7, but assumed 3.7 was backwardly compatible. And the post had just aged.
You may get want to mention this.
Never saw anything in my searching for help about needing 2.7 and not later versions.
Just a thought:-)
Thanks again

The big bold text at the top sounds pretty obvious to me


This guide assume you have Python 2.7 installed already. Python 3.x is not supported.

It’s also the very first answer in our FAQ.

1 Like

Python 3.7 uninstalled, Python 2.7 installed, rebooted
same error
C:\PlexPy>C:\Python27\python.exe C:\plexpy\tautulli\plexpy.py
Traceback (most recent call last):
File “C:\plexpy\tautulli\plexpy.py”, line 24, in
from Tautulli import main
File “C:\plexpy\tautulli\Tautulli.py”, line 35, in
import plexpy
File “C:\plexpy\tautulli\plexpy_init_.py”, line 33, in
from apscheduler.schedulers.background import BackgroundScheduler
File “C:\plexpy\tautulli\lib\apscheduler_init_.py”, line 1, in
from pkg_resources import get_distribution, DistributionNotFound
ImportError: No module named pkg_resources

C:\PlexPy>C:\Python27\python.exe C:\plexpy\tautulli\Tautulli.py
Traceback (most recent call last):
File “C:\plexpy\tautulli\Tautulli.py”, line 35, in
import plexpy
File “C:\plexpy\tautulli\plexpy_init_.py”, line 33, in
from apscheduler.schedulers.background import BackgroundScheduler
File “C:\plexpy\tautulli\lib\apscheduler_init_.py”, line 1, in
from pkg_resources import get_distribution, DistributionNotFound
ImportError: No module named pkg_resources

You need to install the setuptools module for your Python 2.7 installation.

Did you install the latest Python 2.7 (i.e. Python 2.7.15)? And not Python 2.7.0 from over 8 years ago?

2.7.0 not .15

Can Tautulli import history from before it was installed?

Plex itself doesn’t store this information, so you can only get that sort of data after Tautulli was installed and has recorded 7 days of data.

If you still have the entirety of the Plex logs from that time period and you had logging turned up high enough (verbose or higher), you could put that information somewhat together by parsing the logs.

Generally though if you have the logs at a high enough level to see that information they roll over fast enough that you only have a few hours at most of logs.

Just noticed a minor labeling issue on the LIBRARIES ‘tab’ 
 Music libraries are labeled “Artist” instead of “Music”. Movie libraries show as “Movie”; TV shows as “Show” and photos as “Photo” but for some strange reason, Music libraries show as “Artist” Strange. Both Plex and Tautulli say there are no updates available, here’s the Tautulli version info from mine:

VERSION V2.1.18 Changelog

TAUTULLI CONFIGURATION

Git Branch: master
Git Commit Hash: a8a676b79496b4dc3dea9596dfd09a4eeeae60e0
Configuration File: E:\Tautulli\config.ini
Database File: E:\Tautulli\tautulli.db
Log File: E:\Tautulli\logs\tautulli.log
Backup Directory: E:\Tautulli\backups
Cache Directory: E:\Tautulli\cache
Newsletter Directory: E:\Tautulli\newsletters
GeoLite2 Database: E:\Tautulli\GeoLite2-City.mmdb Reinstall / Update Uninstall
Platform: Windows 10 (10.0.17134)
Python Version: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
Resources: Tautulli Website GitHub Source GitHub Issues GitHub Wiki FeatHub Feature Requests
Support: Tautulli Discord Server Tautulli Subreddit Plex Forums

That’s correct. That’s what they are called in Plex. Triple click on the “All Libraries” header to view the raw XML data.

Thanks! That was the expected answer, but it doesn’t make the choice any less strange, whether it was a Plex or Tautulli choice. At least Plex is capable of using a different name in its presentation of the MUSIC libraries, despite using a different INTERNAL name for them.

OK, so I am not sure how I missed out on the Newsletter feature, but very cool idea I must say. I enabled it and decided to throw my own custom newsletter-header.png in the mix. What I can’t figure out is why the preview shows it, but if I test the newsletter it comes with with the default Tautulli header in my e-mail. I have looked high and low trying to figure this out, but I am out of ideas. Can someone please help?

EDIT: Answered my own question. With a little more digging I found that the header image is referenced to a Tautulli.com address in the HTML file. I uploaded my new PNG header to Cloudinary and changed the URL in the HTML. Bingo!

Hello,

I have the PMS and Tautulli running on the same server (QNAP TVS 1282T).

All was working well until I changed the IP address of the server. I have gone to settings to try and verify the new server address, and it sees the server at the new address in the drop down, however if I hit it and select verify it does not find the server. It just goes red after trying to verify the server.

PMS is running and visible across the network (both externally and across multiple VLAN’s). So I’m not sure what to do next. I have stopped and restarted the Tautulli process, even rebooted the server.

Any Ideas. Log attached from just after a reboot and failed verification of server
tautulli.log (623.0 KB)

Edit: Disreagrd all of the above. It has suddenly started working again. Not sure why, but it has. Forum Karma strikes again.

First of all, congratulations on this awesome app!

I have noticed that on the Activity Panel it shows when live tv is being played, but then it doesn’t take the fact of playing live tv into account for the Watch Statistics.
I think it would be very nice to have this added. Is this a feature you have in mind for the future? or maybe it is way too complicated?

Thanks for your effort and support @SwiftPanda16!

@lopezhak - Please see the FAQ for Tautulli.

Why don’t Live TV or Channels show in history?

Deleted my plexpy installation that probably was a year old and installed the latest version.

Installation went fine, both my plex sign in was successful and my local server was found during installation.
But then I can’t see any server info like library,users etc.
If I try to verify my server in the Server settings I get the following error:

Server found but unable to connect websocket

I can see following error in the logg

Websocket connection test failed: Handshake status 401

Any idea whats causing this ?

Answered in the FAQ.

Thanks for the fast reply.

Unfortunately I forgot to mention that I have tried this several times times without any success.
I have tried everything on that settings-page but I still can’t connect to my server with the same socket error.