It is currently September 1st, 2024, 12:35 am
Tautulli Desktop Monitoring for Plex Media Server
-
- Posts: 9
- Joined: May 12th, 2020, 12:12 pm
Re: Tautulli Desktop Monitoring for Plex Media Server
No joy I'm afraid. Still the same result.
-
- Posts: 76
- Joined: January 8th, 2017, 2:31 am
- Location: Charlotte, NC
Re: Tautulli Desktop Monitoring for Plex Media Server
Your Variables file should look like this:
Code: Select all
; ------------------------------------------------------------------------
;888 d8b d8b 888 888
;888 Y8P Y8P 888 888
;888 888 888
;888 888 88888b.d88b. 888 888888 888 .d88b. .d8888b .d8888b
;888 888 888 "888 "88b 888 888 888 d8P Y8b 88K 88K
;888 888 888 888 888 888 888 888 88888888 "Y8888b. "Y8888b.
;888 888 888 888 888 888 Y88b. 888 Y8b. X88 X88
;888 888 888 888 888 888 "Y888 888 "Y8888 88888P' 88888P'
; _______________________________________________________________
;|_______________________________________________________________|
;
; About:
; Sets Plex and Tautulli variables and makes them available to skins that
; include the "tautulli_variables.inc" file.
;
; ex. @Include1=#@#tautulli_variables.inc
;
; Rainmeter Forum Post:
; https://forum.rainmeter.net/viewtopic.php?f=27&t=25813
;
; ------------------------------------------------------------------------
[Variables]
; The address to access Plex (Public or Local IP)
; ex: PlexAddress=http://127.0.0.1:32400/web
PlexAddress=
; The address to access Tautulli (Public or Local IP)
; ex: TautulliAddress=http://127.0.0.1:8181
TautulliAddress=
; This isnt working yet.. If you can fix it go ahead! =)
localTautulliAddress=192.168.0.12
; Your Tautulli API key from Tautulli Settings -> Access Control
; ex: APIKey=d81kakcmxhiuw3941645291xmb12330sx
APIKey=
; How often you want Rainmeter to poll Tautulli and Update the API Information that
; this skin uses.
; Default = 1
RefreshRate=1
; Don't like that pesky white bar tracker that follows the stream changes?
; Set to 0 to Show the Histogram
; Set to 1 to Hide the Histogram
HideHistogram=0
; ------------------------------------------------------------------------
; Please note, if you want to use SSL with your setup (and I highly recommend you do) check out Cloudflare,
; they offer included HTTPS Certificates for all domains and if that doesnt appease you, check out:
;
; PKISharp's Windows LetsEncrypt ACME Project
; https://github.com/PKISharp/win-acme
;
; This has been verified by me to work on Windows!
;
; This makes it very easy to retrieve SSL Certificates for your home network, just start using a Dynamic DNS Service (dyndns or others) and
; allow port 80 through your firewall (or DMZ your computer inside of your Router).
; ------------------------------------------------------------------------
![Image](https://i.imgur.com/ZDSHd53.png)
-
- Posts: 9
- Joined: May 12th, 2020, 12:12 pm
Re: Tautulli Desktop Monitoring for Plex Media Server
Here's mine right now and I've also attached a screenshot from Rainmeter:
; ------------------------------------------------------------------------
;888 d8b d8b 888 888
;888 Y8P Y8P 888 888
;888 888 888
;888 888 88888b.d88b. 888 888888 888 .d88b. .d8888b .d8888b
;888 888 888 "888 "88b 888 888 888 d8P Y8b 88K 88K
;888 888 888 888 888 888 888 888 88888888 "Y8888b. "Y8888b.
;888 888 888 888 888 888 Y88b. 888 Y8b. X88 X88
;888 888 888 888 888 888 "Y888 888 "Y8888 88888P' 88888P'
; _______________________________________________________________
;|_______________________________________________________________|
;
; About:
; Sets Plex and Tautulli variables and makes them available to skins that
; include the "tautulli_variables.inc" file.
;
; ex. @Include1=#@#tautulli_variables.inc
;
; Rainmeter Forum Post:
; https://forum.rainmeter.net/viewtopic.php?f=27&t=25813
;
; ------------------------------------------------------------------------
[Variables]
; The address to access Plex (Public or Local IP)
PlexAddress=http://127.0.0.1:32400/web
; The address to access Tautulli (Public or Local IP)
TautulliAddress=http://127.0.0.1:8181
; This isnt working yet.. If you can fix it go ahead! =)
localTautulliAddress=192.168.0.2
; Your Tautulli API key from Tautulli Settings -> Access Control
APIKey=68150049522047a3948be88b669f45d2
; How often you want Rainmeter to poll Tautulli and Update the API Information that
; this skin uses.
; Default = 1
RefreshRate=15
; Don't like that pesky white bar tracker that follows the stream changes?
; Set to 0 to Show the Histogram
; Set to 1 to Hide the Histogram
HideHistogram=0
; ------------------------------------------------------------------------
; Please note, if you want to use SSL with your setup (and I highly recommend you do) check out Cloudflare,
; they offer included HTTPS Certificates for all domains and if that doesnt appease you, check out:
;
; PKISharp's Windows LetsEncrypt ACME Project
; https://github.com/PKISharp/win-acme
;
; This has been verified by me to work on Windows!
;
; This makes it very easy to retrieve SSL Certificates for your home network, just start using a Dynamic DNS Service (dyndns or others) and
; allow port 80 through your firewall (or DMZ your computer inside of your Router).
; ------------------------------------------------------------------------
; ------------------------------------------------------------------------
;888 d8b d8b 888 888
;888 Y8P Y8P 888 888
;888 888 888
;888 888 88888b.d88b. 888 888888 888 .d88b. .d8888b .d8888b
;888 888 888 "888 "88b 888 888 888 d8P Y8b 88K 88K
;888 888 888 888 888 888 888 888 88888888 "Y8888b. "Y8888b.
;888 888 888 888 888 888 Y88b. 888 Y8b. X88 X88
;888 888 888 888 888 888 "Y888 888 "Y8888 88888P' 88888P'
; _______________________________________________________________
;|_______________________________________________________________|
;
; About:
; Sets Plex and Tautulli variables and makes them available to skins that
; include the "tautulli_variables.inc" file.
;
; ex. @Include1=#@#tautulli_variables.inc
;
; Rainmeter Forum Post:
; https://forum.rainmeter.net/viewtopic.php?f=27&t=25813
;
; ------------------------------------------------------------------------
[Variables]
; The address to access Plex (Public or Local IP)
PlexAddress=http://127.0.0.1:32400/web
; The address to access Tautulli (Public or Local IP)
TautulliAddress=http://127.0.0.1:8181
; This isnt working yet.. If you can fix it go ahead! =)
localTautulliAddress=192.168.0.2
; Your Tautulli API key from Tautulli Settings -> Access Control
APIKey=68150049522047a3948be88b669f45d2
; How often you want Rainmeter to poll Tautulli and Update the API Information that
; this skin uses.
; Default = 1
RefreshRate=15
; Don't like that pesky white bar tracker that follows the stream changes?
; Set to 0 to Show the Histogram
; Set to 1 to Hide the Histogram
HideHistogram=0
; ------------------------------------------------------------------------
; Please note, if you want to use SSL with your setup (and I highly recommend you do) check out Cloudflare,
; they offer included HTTPS Certificates for all domains and if that doesnt appease you, check out:
;
; PKISharp's Windows LetsEncrypt ACME Project
; https://github.com/PKISharp/win-acme
;
; This has been verified by me to work on Windows!
;
; This makes it very easy to retrieve SSL Certificates for your home network, just start using a Dynamic DNS Service (dyndns or others) and
; allow port 80 through your firewall (or DMZ your computer inside of your Router).
; ------------------------------------------------------------------------
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9
- Joined: May 12th, 2020, 12:12 pm
Re: Tautulli Desktop Monitoring for Plex Media Server
Here's the output for http://127.0.0.1:8181/api/v2?apikey=68150049522047a3948be88b669f45d2&cmd=get_activity:
{"response": {"message": null, "data": {"sessions": [], "stream_count": "0", "total_bandwidth": 0, "stream_count_transcode": 0, "wan_bandwidth": 0, "stream_count_direct_play": 0, "lan_bandwidth": 0, "stream_count_direct_stream": 0}, "result": "success"}}
{"response": {"message": null, "data": {"sessions": [], "stream_count": "0", "total_bandwidth": 0, "stream_count_transcode": 0, "wan_bandwidth": 0, "stream_count_direct_play": 0, "lan_bandwidth": 0, "stream_count_direct_stream": 0}, "result": "success"}}
-
- Posts: 9
- Joined: May 12th, 2020, 12:12 pm
Re: Tautulli Desktop Monitoring for Plex Media Server
I did a Wireshark capture and I'm seeing an HTTP Error 406 from Tautulli.
I've checked the Tautulli logs but not seeing anything to explain this. Hopefully someone has seen this before.
I've checked the Tautulli logs but not seeing anything to explain this. Hopefully someone has seen this before.
-
- Posts: 9
- Joined: May 12th, 2020, 12:12 pm
Re: Tautulli Desktop Monitoring for Plex Media Server
Here's an HTTP extraction from the packet capture:
GET /home/api/v2?apikey=68150049522047a3948be88b669f45d2&cmd=get_activity HTTP/1.1
User-Agent: Rainmeter WebParser plugin
Host: localhost:8181
X-P2P-PeerDist: Version=1.1
X-P2P-PeerDistEx: MinContentInformation=1.0, MaxContentInformation=2.0
Accept-Encoding: peerdist
HTTP/1.1 406 Not Acceptable
Content-Length: 729
Server: CherryPy/5.1.0
Date: Fri, 15 May 2020 15:02:47 GMT
Content-Type: text/html;charset=utf-8
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>406 Not Acceptable</title>
<style type="text/css">
#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}
#traceback {
color: red;
}
</style>
</head>
<body>
<h2>406 Not Acceptable</h2>
<p>identity, gzip</p>
<pre id="traceback"></pre>
<div id="powered_by">
<span>
Powered by <a href="http://www.cherrypy.org">CherryPy 5.1.0</a>
</span>
</div>
</body>
</html>
GET /home/api/v2?apikey=68150049522047a3948be88b669f45d2&cmd=get_activity HTTP/1.1
User-Agent: Rainmeter WebParser plugin
Host: localhost:8181
X-P2P-PeerDist: Version=1.1
X-P2P-PeerDistEx: MinContentInformation=1.0, MaxContentInformation=2.0
Accept-Encoding: peerdist
HTTP/1.1 406 Not Acceptable
Content-Length: 729
Server: CherryPy/5.1.0
Date: Fri, 15 May 2020 15:02:47 GMT
Content-Type: text/html;charset=utf-8
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>406 Not Acceptable</title>
<style type="text/css">
#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}
#traceback {
color: red;
}
</style>
</head>
<body>
<h2>406 Not Acceptable</h2>
<p>identity, gzip</p>
<pre id="traceback"></pre>
<div id="powered_by">
<span>
Powered by <a href="http://www.cherrypy.org">CherryPy 5.1.0</a>
</span>
</div>
</body>
</html>
-
- Posts: 9
- Joined: May 12th, 2020, 12:12 pm
Re: Tautulli Desktop Monitoring for Plex Media Server
In an effort to eliminate factors I installed Rainmeter 4.3.1 and TDM 2.0 onto another server. I configured the variables to point back to the server running PMS and Tautulli (where TDM doesn't work) and on this server I'm getting data back no problem. This suggests PMS and Tautulli are ok but Rainmeter is having some sort of issue. I've uninstalled Rainmeter on the original server and moved the skin directory away so it's as vanilla as possible. However, after I reinstall Rainmeter and TDM and configure the variables again it's still broken. It seems to be something going wrong with the WebParser sending the request to Tautulli that results in the HTTP Error 406 Not Acceptable message but I have no idea what.
-
- Posts: 76
- Joined: January 8th, 2017, 2:31 am
- Location: Charlotte, NC
Re: Tautulli Desktop Monitoring for Plex Media Server
This is an interesting case. I would like to discuss this further over Discord if possible?Cragalaka wrote: ↑May 15th, 2020, 5:39 pm In an effort to eliminate factors I installed Rainmeter 4.3.1 and TDM 2.0 onto another server. I configured the variables to point back to the server running PMS and Tautulli (where TDM doesn't work) and on this server I'm getting data back no problem. This suggests PMS and Tautulli are ok but Rainmeter is having some sort of issue. I've uninstalled Rainmeter on the original server and moved the skin directory away so it's as vanilla as possible. However, after I reinstall Rainmeter and TDM and configure the variables again it's still broken. It seems to be something going wrong with the WebParser sending the request to Tautulli that results in the HTTP Error 406 Not Acceptable message but I have no idea what.
Discord: limitless#0128
![Image](https://i.imgur.com/ZDSHd53.png)
-
- Posts: 1
- Joined: May 17th, 2020, 11:58 pm
- Location: São Paulo, Brazil
Re: Tautulli Desktop Monitoring for Plex Media Server
I've installed the latest version, and I'm keeping getting those errors:
![Image](https://i.imgur.com/rTP41ri.png)
I've edited the configuration file like:
![Image](https://i.imgur.com/FNvMSlL.png)
But I keep with the error in the log and this:
![Image](https://i.imgur.com/fCdWeJB.png)
Have anyone had this problem too?
![Image](https://i.imgur.com/rTP41ri.png)
I've edited the configuration file like:
![Image](https://i.imgur.com/FNvMSlL.png)
But I keep with the error in the log and this:
![Image](https://i.imgur.com/fCdWeJB.png)
Have anyone had this problem too?
-
- Posts: 9
- Joined: May 12th, 2020, 12:12 pm