dorgan

Community Developer
  • Posts

    351
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by dorgan

  1. 18 minutes ago, feins said:

    Simple question I had 1 movie streaming buy why Plex Streams report 2 Active? Is this normal?

     

    image.png.7bf0e0aef7c93cda014dab7046596d5f.pngimage.thumb.png.cb25bd41c7a629b2d3931025c17edd2e.png

    No this is not normal, can you make sure you only have one of the servers IP addresses selected in the options.

  2. 1 hour ago, Squid said:

    I've been sick for the last week, so missed this.

     

    I'm not seeing the graphs populating on 6.11.0-rc4 when installing this, but IIRC my system was always having issues with this plugin for some reason.  I'll leave it in CA and continue to monitor the situation with it.

    Currently it no longer generates the graphs, and just outputs texts. This was a quick work around to remove the dependency issues, I'll be adding graphs back in a future release, using a different approach.

    • Like 3
  3. 4 hours ago, sticklyman said:

    Hi. Thanks for creating this plugin!

     

    It looks like the most recent version of the pluigin has the wrong ownerships set, and is hence changing the ownership of /, /usr, etc to printer:1000 (in my case at least). The result is that things like SSHing into the unraid server with a keyfile no longer work, for example. File ownerships should be root:root (I believe) for / and /usr.


    image.png.740d7e0a393c31979c6477173caaada4.png

     

    image.png.6467f2ef6b55b09782e992b1f3198fed.png

     

    A temporary fix (for anyone else who faces this issue) is to run the following commands:

    # Don't recursively apply to / because we don't want to clobber permissions on /mnt!!!
    chown root:root /
    chown root:root -R /usr

     

    Please fix this in the plugin, thanks :)

    Fix is out there for this now.

  4. Just now, Hoopster said:

    Yeah, I had tried that via the popup and it got a token but still no server information was populated in Plex Streams after several minutes.  I opened the Plex Web UI first and tried it again and this time it worked.

     

    Thanks.

    Once it gets the token you should see it trying to reload the servers list, is that happening?  What browser are you using?  Essentially that servers list is populated by a call to the central plex API, to get the list of servers from them.

  5. On 8/29/2022 at 11:20 PM, Hoopster said:

    I have installed this plugin but am having trouble getting it to detect my Plex server.

     

    My server is on a docker VLAN (192.168.3.xxx) and my unRAID server is on the 192.168.1.xxx subnet.

     

    Plex Stream will not detect my server.  When I tell it to get a token, it wants to login to Plex at 192.168.1.10 (my unRAID server IP).

     

    Even if I specify the custom IP:port address of my Plex server (192.168.3.110:32400) nothing happens.

     

    What am I doing incorrectly?

     

    image.thumb.png.8bc0279c095b6a1dda6a5c392fd11918.png

    Yes, you need to login to plex as that's how it gets a token.  It works against plex's apis.

  6. 15 minutes ago, sticklyman said:

    Hi. Thanks for creating this plugin!

     

    It looks like the most recent version of the pluigin has the wrong ownerships set, and is hence changing the ownership of /, /usr, etc to printer:1000 (in my case at least). The result is that things like SSHing into the unraid server with a keyfile no longer work, for example. File ownerships should be root:root (I believe) for / and /usr.


    image.png.740d7e0a393c31979c6477173caaada4.png

     

    image.png.6467f2ef6b55b09782e992b1f3198fed.png

     

    A temporary fix (for anyone else who faces this issue) is to run the following commands:

    # Don't recursively apply to / because we don't want to clobber permissions on /mnt!!!
    chown root:root /
    chown root:root -R /usr

     

    Please fix this in the plugin, thanks :)

    I'll get a fix out for this today

  7. 2 hours ago, jgillman said:

    Bug report! Seems like the "title" attribute (code here) is leaking when there's HTML in the stream title. I've only been using Plex Streams for a couple days but I would imagine that "stream.title" isn't expected to have HTML in it.

     

    I love being able to see the streams on my dashboard!

    Screen Shot 2022-08-29 at 3.23.12 PM.png

    Updated plugin has been released to address this issue.  Sorry I dont use plex for audio too much and there is where the issue occurred.

  8. 1 hour ago, jgillman said:

    Bug report! Seems like the "title" attribute (code here) is leaking when there's HTML in the stream title. I've only been using Plex Streams for a couple days but I would imagine that "stream.title" isn't expected to have HTML in it.

     

    I love being able to see the streams on my dashboard!

    Screen Shot 2022-08-29 at 3.23.12 PM.png

    Thanks I'll get this fixed ASAP.

  9. @Squid the dependency problem exists only when I was trying to use the vnstati commend, which is what was actually generating the images.  While that will still get installed with the vnstat package I am no longer going to rely on it/use it, thus removing the requirement to install other packages.

  10. OK everyone motivated me to get off my behind and really update this plugin.  Update coming this week. It's a work in progress, but I have figured out a can get a json response from the cli tool and will use that to display some out put.  This initial release will just be text, but I'll look into putting back in much better looking graphs and such in a future release.

    image.thumb.png.0dc36d9fb19cc136adee6e29441dc850.png

    • Like 1
  11. 2 hours ago, David Bott said:

     

    So sad to see so many Dynamix going away for non-development.  I had mentioned this issue some time back in the Dynamix thread with no reply. 

     

    Same with the TEMP and FAN control plugins.  Which is MUCH NEEDED and SHOULD BE already part of the unRAID system.  Yet...Nope.  Just another dead plugin(s).  I am not even sure unRAID is being looked after these days.  :(  (IMHO) 

    This is not a dynamix plugin.

     

    But I believe there may be hope, I just havent had time to really look into things.  Unfortunately with 6.10 they removed a bunch of these dependencies that vnstati needs to run, its what generates the images.  So I am thinking if I can parse the output from just vnstat then maybe i can get this working again.  So I'm not tapping out yet.  Stay tuned for more!!!

    • Like 1
  12. 1 hour ago, ibphantom said:

    Been having trouble lately @dorgan
    Sometimes the streams show properly, other times I see double entries.

     

    Today, I noticed that there's definitely streams running, but the plugin isn't picking them up.

    In the plugin settings, I removed the token entirely, saved, then grabbed the token again using the "Get Plex Token" button, no problem.

    The plugin finds the local IP, External IP, and External Domain name. I select Local IP and Save, and then the entire server gets sluggish.

    If I'm quick and refresh the Plex Streams Dashboard or NAV just as I save I can catch active streams, but refreshing again.. the server is still being slow...eventually the page refreshes and I no longer notice a slowdown to the unraid gui, but the streams do not show in the Dashboard or NAV.

     

    Let me know if you need any info from my server to help, if you don't mind helping. Thanks!

    Ok yes I can look into this can you please provide the unraid version as well as Plex version on your side.  Also the local IP is that server on your local network or remote VPN?

  13. currently because of dependency changes from 6.9 to 6.10, this plugin isnt fully working by itself at least the image outputs arent.  in order to fix the outputs you would have to install the missing dependencies.  After discussion with others i dont think this plugin should do dependency management for this because of the dependencies its needs.  That being said here is a scrip tthat you can run install stall the missing dependencies.

     

    #!/bin/bash
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/gd-2.2.1-x86_64-1.txz
    upgradepkg --install-new gd-2.2.1-x86_64-1.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/fontconfig-2.11.1-x86_64-2.txz
    upgradepkg --install-new fontconfig-2.11.1-x86_64-2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/harfbuzz-1.2.7-x86_64-1.txz
    upgradepkg --install-new harfbuzz-1.2.7-x86_64-1.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/freetype-2.6.3-x86_64-1.txz
    upgradepkg --install-new freetype-2.6.3-x86_64-1.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXpm-3.5.11-x86_64-2.txz
    upgradepkg --install-new libXpm-3.5.11-x86_64-2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libX11-1.6.3-x86_64-2.txz
    upgradepkg --install-new libX11-1.6.3-x86_64-2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libxcb-1.11.1-x86_64-1.txz
    upgradepkg --install-new libxcb-1.11.1-x86_64-1.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXau-1.0.8-x86_64-2.txz
    upgradepkg --install-new libXau-1.0.8-x86_64-2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXdmcp-1.1.2-x86_64-2.txz
    upgradepkg --install-new libXdmcp-1.1.2-x86_64-2.txz

     

    • Like 4
  14. With the release of unraid 6.10-rc2 I took a leap and upgraded my server and was able to determine the issue.  It seems with 6.10 there are a bunch of dependancies that have been removed from unraid as they aren't used.  I've mentioned this in the unraid 6.10-rc3 forum post and it seems a further conversation is really needed around plugin dependency management.  I'll bump this again with them to see how I/we can go about fixing this without me just added all these additional system libraries to this plugin.  For now on my system I am utilizing the User Scripts plugin to execute the following script when the system starts up, which then gets the images working again.

     

    The other thing I can do, is look into is parsing the text data that is available and creating my own images instead of vnstati, or just provide the table output.

     

    Anyways, here is the script:

    #!/bin/bash
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/gd-2.2.1-x86_64-1.txz
    upgradepkg --install-new gd-2.2.1-x86_64-1.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/fontconfig-2.11.1-x86_64-2.txz
    upgradepkg --install-new fontconfig-2.11.1-x86_64-2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/harfbuzz-1.2.7-x86_64-1.txz
    upgradepkg --install-new harfbuzz-1.2.7-x86_64-1.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/freetype-2.6.3-x86_64-1.txz
    upgradepkg --install-new freetype-2.6.3-x86_64-3_slack14.2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXpm-3.5.11-x86_64-2.txz
    upgradepkg --install-new libXpm-3.5.11-x86_64-2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libX11-1.6.3-x86_64-2.txz
    upgradepkg --install-new libX11-1.6.3-x86_64-2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libxcb-1.11.1-x86_64-1.txz
    upgradepkg --install-new libxcb-1.11.1-x86_64-1.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXau-1.0.8-x86_64-2.txz
    upgradepkg --install-new libXau-1.0.8-x86_64-2.txz
    wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXdmcp-1.1.2-x86_64-2.txz
    upgradepkg --install-new libXdmcp-1.1.2-x86_64-2.txz

     

    • Like 1
  15. 3 minutes ago, Migz93 said:

    Sorry, I should've mentioned that initially.

    6.10.0-rc1 so likely just an issue with the latest version of Unraid.

    Yeah looks like that may be the case.  Unfortunately anytime I have upgraded to 6.10.0-rc1 my plex server starts to have issues playing my media files that are nfs mounted from my unraid box.  Unraid shows no io issues or cpu issues, but the load on my plex machine goes through the roof, and a simple downgrade to 6.9.2 fixes it, so I havent tried it for a 4th time yet, as I was waiting for the next RC to come out.

  16. 14 minutes ago, Migz93 said:

    I'm also seeing the same issue with the stats images not loading.

    Trying "vnstati" on the commandline returns:

    vnstati: error while loading shared libraries: libgd.so.3: cannot open shared object file: No such file or directory

     

    So i assume this is why the images no longer load but a quick google about that error code and I couldn't find a fix unfortunately.

    What version of unraid are you running??  I just did a clean install of the plugin and everything is working on 6.9.2

  17. 17 hours ago, alturismo said:

    ahead, thanks alot for this plugin

     

    may a question about live tv streams

     

    i see a active stream but no details on the dashboard

    image.png.aadd59e9ca96df6d669cf67328c9752f.png

     

    while in plex streams tile its detailed there

    image.png.410dfd904b9ea45f877b204dcf63fee3.png

     

    possible or not ? couldnt find the limitation about live tv yet

     

    library playback is working fine in dashboard here, just saw live tv not showing details

     

    EDIT. ok, when i readed up now i see its prolly not supported, sorry.

    I'll be looking into this as it's not the expected behavior.

    • Like 1
  18. 42 minutes ago, PilaScat said:

    The latest, tried reinstalling the plugin and rebooting, I can tell that the problem I thinks started with tinkering with dns setting (because I have a dns server), but nothing else changed

    From the error you posted it looks like it's not getting a response from Plex, but a 404 page or some other html page from another system.

  19. 59 minutes ago, PilaScat said:

    In recent days this appeared:

    image.png.a0f74975398f2cc4d37bb294277e2abc.png

     

    and opening the full page submit this:

    image.thumb.png.36e7da7f054f6679f111933a7d945d79.png

     

    tried reinstalling but nothing

    What version of Plex are you running?  Male sure your server info hasn't changed and double check settings.