[Plugin] Plex Streams


Recommended Posts

5 hours ago, robbert de boer said:

Thanks for creating this plugin! I do have an issue however. After installing an linking to my plex server I get the following error:

I have hidden the token to be sure. I understand there should be an ip adress/port behind the server name? Any stuff that I should try? 
Already reinstalled the plugin/relinked. 

 

Thanks!

Schermafbeelding 2020-06-06 om 11.01.28.png

Can you show me the full drop-down for server selection?

Link to comment
On 5/20/2020 at 3:16 PM, dorgan said:

This has been added as well as turning on/off the dashboard widget in 2020.05.20b.  If you turn it off you can access it through the widget or under Tools->System Information.

Today I had to restart my server and noticed that the nav link reappears even with the setting for it to be hidden. I had to enable it the re-disable it to hide it. This setting doesn't appear to be persistent during reboots.

Link to comment
16 minutes ago, remati said:

Today I had to restart my server and noticed that the nav link reappears even with the setting for it to be hidden. I had to enable it the re-disable it to hide it. This setting doesn't appear to be persistent during reboots.

Yes I am aware of this, a fix will be coming soon, hopefully tomorrow if I get some time.

Link to comment
21 hours ago, remati said:

Today I had to restart my server and noticed that the nav link reappears even with the setting for it to be hidden. I had to enable it the re-disable it to hide it. This setting doesn't appear to be persistent during reboots.

This should now be fixed in 2020.06.07

Link to comment
On 5/28/2020 at 3:28 PM, Nelinski said:

I think I've found a small bug. When you disable Plex Stream so it doesn't appear on the menu at the top, it disappears as expected. When I restart my Unraid server it shows in the menu again. I need to re-enable it then disable it for it to disappear. Tiny issue but thought it's worth mentioning nonetheless.

This should be fixed with 2020.06.07

  • Thanks 1
Link to comment
On 6/6/2020 at 11:24 AM, robbert de boer said:

Thanks for creating this plugin! I do have an issue however. After installing an linking to my plex server I get the following error:

I have hidden the token to be sure. I understand there should be an ip adress/port behind the server name? Any stuff that I should try? 
Already reinstalled the plugin/relinked. 

 

Thanks!

Schermafbeelding 2020-06-06 om 11.01.28.png

Same here. Any ideas?

 

Thanks!

Link to comment

Hi, just installed this pluging.  It was able to fetch the Token, see my Server IP (both Internal and External in a dropdown).  The issue is that in the Dashboard page, it show 501 active stream(s) !!  In reality, i have 2 stream right now.  Also, it doesn't show the list of the stream like in your screenshot in first post.

Link to comment
57 minutes ago, dorgan said:

I will look into this.  It seems like plex isn't reporting back server IPs.  Just curious do you have remote access enabled or disabled?

Ha! I had remote access disabled. Just enabled it and now I can choose between my external or internal IP address for the server. It works now, no matter which one I choose.

Link to comment
56 minutes ago, NeXuS93 said:

Ha! I had remote access disabled. Just enabled it and now I can choose between my external or internal IP address for the server. It works now, no matter which one I choose.

Ok thanks, I will try to recreate this locally and get a fix out there.

Link to comment

It return File Not Found.   But, my WebUI is on Port 90 and my Https is disabled, it will give this output if I put this URL :

 

http://192.168.2.211:90/plugins/plexstreams/ajax.php

 

Return is :

 

Warning: file_get_contents(http://192.168.2.211:32400/status/sessions?X-Plex-Token=9egdfhgdfg55ijpP3J&_m=1591720835): failed to open stream: HTTP request failed! in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/emhttp/plugins/plexstreams/includes/common.php:92) in /usr/local/emhttp/plugins/plexstreams/ajax.php on line 14
[]

 

Link to comment
1 hour ago, Pducharme said:

It return File Not Found.   But, my WebUI is on Port 90 and my Https is disabled, it will give this output if I put this URL :

 

http://192.168.2.211:90/plugins/plexstreams/ajax.php

 

Return is :

 


Warning: file_get_contents(http://192.168.2.211:32400/status/sessions?X-Plex-Token=9egdfhgdfg55ijpP3J&_m=1591720835): failed to open stream: HTTP request failed! in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/emhttp/plugins/plexstreams/includes/common.php:92) in /usr/local/emhttp/plugins/plexstreams/ajax.php on line 14
[]

 

This is fixed with version 2020.06.09

Link to comment
On 6/6/2020 at 1:04 PM, robbert de boer said:

Sure, but it's the same, just one. It had two before but I removed an old server from my plex. Reinstalled this plugin after I did that btw. 

Schermafbeelding 2020-06-06 om 19.02.55.png

This is fixed with version 2020.06.09

Link to comment
14 minutes ago, dorgan said:

This is fixed with version 2020.06.09

Hi, I upgraded to 2020.06.09, still errors.  Now dashboard is at 503 stream(s), also, if I click at the top the PLEX_STREAMS, I got this :

 


Streams

Warning: file_get_contents(/status/sessions?X-Plex-Token=REDACTEDTOKEN&_m=1591727486): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 103
Change Server: 
SharedPlex.tv (http://192.168.2.211:32400)
 
There are currently no active streams

 

I also tried removing the Plugin, deleting files on the USB stick related to the plugin, and reinstall the last version.  

Link to comment
15 minutes ago, Pducharme said:

Hi, I upgraded to 2020.06.09, still errors.  Now dashboard is at 503 stream(s), also, if I click at the top the PLEX_STREAMS, I got this :

 



Streams

Warning: file_get_contents(/status/sessions?X-Plex-Token=REDACTEDTOKEN&_m=1591727486): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 103
Change Server: 
SharedPlex.tv (http://192.168.2.211:32400)
 
There are currently no active streams

 

I also tried removing the Plugin, deleting files on the USB stick related to the plugin, and reinstall the last version.  

Go so settings page and try changing/setting the server.

Link to comment
13 minutes ago, Pducharme said:

@dorgan That doesn't fix it.  Try selecting the External IP, Then Apply.,  Then tried selecting Internal IP, then Apply.  That doesn't change anything, same error and Warning about file.

yeah looks like its having a problem identifying the server as that /status/ url should have an IP in front of it....What version of Plex are you running?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.