[Plugin] Plex Streams


Recommended Posts

Hi @dorgan great work but im having issues on one of mine.

first my Plex set up:

I I have two plex dockers one on each of my two unraid servers as seen in my signature the red one Freya one is strictly for 4K the other, Thor is the busy one with all my shared users and 720/1080p TV/Movies etc.. for the 4K one its using the default host networking and i can have the plugin on that server access it just fine. using https://<unraidIP>:32400 

 

On my Thor server im using a custom br0 network for my Plex Docker (using same subnet as my unraid servers 10.0.0.0/24) this is so I can assign a FQDN to the ip I specified in in the container on my Pi-Hole Lan.list file im am using 10.0.0.80 for Plex on that server. (it makes loading Plex much easier than logging into unraid clicking docker then clicking Plex and webGUI). Anyways when i try to use https://10.0.0.80:32400 on that server i get this error on the Plex streams tab:
 

Warning: file_get_contents(https://10.0.0.80:32400/status/sessions?X-Plex-Token=(my token): failed to open stream: No route to host in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 35
There are currently no active streams

if i use the https://10.0.0.80:32400 on my 4K server to point to the main Plex one it works. and displays the streams without issues.

 

 

if i set the url to https://app.plex.tv:32400 it simply displays 

 

Streams
There are currently no active streams

 


What I would like to do is have the main server host the streams from itself without having to change the work type back to hist from br0 if that is possible (I have had it like that for almost 3 years and I am just kind of accustommed to it.

I too use Tautulli as well as Varys for iOS to get current streams/stats about the server but I love the dash and tab option you included so hoping there is a workaround for it.

thank you in advance.

Link to comment

Hi again @dorgan 

 

I also wonder if you can update the plugin to support dynamic arragment of the streams it only goes left to right and leaves a lot of potential space below plus scroll wheel is easier than clicking and dragging the horizontal scroll bar on the browser

 

(using Chrome for macOS Catalina on a MacBook Air in the screenshot below)

 

Screen Shot 2020-05-24 at 15.26.45.png

Link to comment
29 minutes ago, Can0nfan said:

Hi again @dorgan 

 

I also wonder if you can update the plugin to support dynamic arragment of the streams it only goes left to right and leaves a lot of potential space below plus scroll wheel is easier than clicking and dragging the horizontal scroll bar on the browser

 

(using Chrome for macOS Catalina on a MacBook Air in the screenshot below)

 

Screen Shot 2020-05-24 at 15.26.45.png

This is a bug, should only be three streams max.  I'll look into this.

Link to comment
36 minutes ago, Can0nfan said:

Hi @dorgan great work but im having issues on one of mine.

first my Plex set up:

I I have two plex dockers one on each of my two unraid servers as seen in my signature the red one Freya one is strictly for 4K the other, Thor is the busy one with all my shared users and 720/1080p TV/Movies etc.. for the 4K one its using the default host networking and i can have the plugin on that server access it just fine. using https://<unraidIP>:32400 

 

On my Thor server im using a custom br0 network for my Plex Docker (using same subnet as my unraid servers 10.0.0.0/24) this is so I can assign a FQDN to the ip I specified in in the container on my Pi-Hole Lan.list file im am using 10.0.0.80 for Plex on that server. (it makes loading Plex much easier than logging into unraid clicking docker then clicking Plex and webGUI). Anyways when i try to use https://10.0.0.80:32400 on that server i get this error on the Plex streams tab:
 


Warning: file_get_contents(https://10.0.0.80:32400/status/sessions?X-Plex-Token=(my token): failed to open stream: No route to host in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 35
There are currently no active streams

if i use the https://10.0.0.80:32400 on my 4K server to point to the main Plex one it works. and displays the streams without issues.

 

 

if i set the url to https://app.plex.tv:32400 it simply displays 

 


Streams
There are currently no active streams

 


What I would like to do is have the main server host the streams from itself without having to change the work type back to hist from br0 if that is possible (I have had it like that for almost 3 years and I am just kind of accustommed to it.

I too use Tautulli as well as Varys for iOS to get current streams/stats about the server but I love the dash and tab option you included so hoping there is a workaround for it.

thank you in advance.

I knew there would come a time for multi server support.  I have a plan to implement this.

Link to comment
On 5/25/2020 at 10:26 AM, dorgan said:

Curious, do you have a Plex Pass?

Yep, sure do.  I'm currently a version behind latest, waiting to update after everyone here goes to bed, lol.  I've verified that I do have director information on my movies, so not sure why it's getting an error on that line.

 

Updated this morning to the latest Plex Pass version, and still the same.

 

 

Edited by heffe2001
Link to comment
On 5/24/2020 at 5:23 PM, Can0nfan said:

Hi @dorgan great work but im having issues on one of mine.

first my Plex set up:

I I have two plex dockers one on each of my two unraid servers as seen in my signature the red one Freya one is strictly for 4K the other, Thor is the busy one with all my shared users and 720/1080p TV/Movies etc.. for the 4K one its using the default host networking and i can have the plugin on that server access it just fine. using https://<unraidIP>:32400 

 

On my Thor server im using a custom br0 network for my Plex Docker (using same subnet as my unraid servers 10.0.0.0/24) this is so I can assign a FQDN to the ip I specified in in the container on my Pi-Hole Lan.list file im am using 10.0.0.80 for Plex on that server. (it makes loading Plex much easier than logging into unraid clicking docker then clicking Plex and webGUI). Anyways when i try to use https://10.0.0.80:32400 on that server i get this error on the Plex streams tab:
 


Warning: file_get_contents(https://10.0.0.80:32400/status/sessions?X-Plex-Token=(my token): failed to open stream: No route to host in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 35
There are currently no active streams

if i use the https://10.0.0.80:32400 on my 4K server to point to the main Plex one it works. and displays the streams without issues.

 

 

if i set the url to https://app.plex.tv:32400 it simply displays 

 


Streams
There are currently no active streams

 


What I would like to do is have the main server host the streams from itself without having to change the work type back to hist from br0 if that is possible (I have had it like that for almost 3 years and I am just kind of accustommed to it.

I too use Tautulli as well as Varys for iOS to get current streams/stats about the server but I love the dash and tab option you included so hoping there is a workaround for it.

thank you in advance.

Please go ahead an install 2020.0.27a once it appears in CA.  You will need to go back to the setting page and pick a server.

Link to comment
On 5/24/2020 at 5:23 PM, Can0nfan said:

Hi @dorgan great work but im having issues on one of mine.

first my Plex set up:

I I have two plex dockers one on each of my two unraid servers as seen in my signature the red one Freya one is strictly for 4K the other, Thor is the busy one with all my shared users and 720/1080p TV/Movies etc.. for the 4K one its using the default host networking and i can have the plugin on that server access it just fine. using https://<unraidIP>:32400 

 

On my Thor server im using a custom br0 network for my Plex Docker (using same subnet as my unraid servers 10.0.0.0/24) this is so I can assign a FQDN to the ip I specified in in the container on my Pi-Hole Lan.list file im am using 10.0.0.80 for Plex on that server. (it makes loading Plex much easier than logging into unraid clicking docker then clicking Plex and webGUI). Anyways when i try to use https://10.0.0.80:32400 on that server i get this error on the Plex streams tab:
 


Warning: file_get_contents(https://10.0.0.80:32400/status/sessions?X-Plex-Token=(my token): failed to open stream: No route to host in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 35
There are currently no active streams

if i use the https://10.0.0.80:32400 on my 4K server to point to the main Plex one it works. and displays the streams without issues.

 

 

if i set the url to https://app.plex.tv:32400 it simply displays 

 


Streams
There are currently no active streams

 


What I would like to do is have the main server host the streams from itself without having to change the work type back to hist from br0 if that is possible (I have had it like that for almost 3 years and I am just kind of accustommed to it.

I too use Tautulli as well as Varys for iOS to get current streams/stats about the server but I love the dash and tab option you included so hoping there is a workaround for it.

thank you in advance.

go ahead and try this with 2020.05.27a

Link to comment
On 5/20/2020 at 1:07 AM, hawihoney said:

Tried to Install and received the following error during Setup:

 

**EDIT** Sorry, had to use internal IP. Works now.

 

With the latest version you now select the server.  I'll be updating soon to support multiple servers, but right now only one at a time.

Link to comment
On 5/20/2020 at 11: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.

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.

Link to comment
28 minutes ago, 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.

Try an additional refresh after the page loads.  Unfortunately the plugin code runs after the menu.

Link to comment
1 hour ago, Nelinski said:

Nope - still there. Not a major issue so don't worry about it.

If you could document the steps I will try to recreate exactly what you are seeing, and I may not be following your issue.  Then once i can reproduce I can figure out next steps

 

Link to comment
Just now, dorgan said:

If you could document the steps I will try to recreate exactly what you are seeing, and I may not be following your issue.  Then once i can reproduce I can figure out next steps

 

 

1 hour ago, Nelinski said:

Nope - still there. Not a major issue so don't worry about it.

Nevermind now I understand.... OK let me see if I can introduce something that looks at the config file during install...

 

  • Like 1
Link to comment
On 5/27/2020 at 3:44 PM, dorgan said:

go ahead and try this with 2020.05.27a

fixed i had to use my external IP but its working and now showing what on the same server I have it set up on thank you !!!

I still see the bug when more than 3 streams are present and it has the scroll to the right only to see the additional streams

Link to comment

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

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.