[Plugin] Plex Streams


Recommended Posts

5 hours ago, bbrodka said:

Thanks for the great plugin, any chance you can add the name of the plex server to the plugin for those of us thay monitor more then one plex server this would be helpful to kow which of the servers are being used.
 

Thanks

This has now been implemented, you will need to go to settings and just hit save, as I have some additional details saving to the cfg file in order to make this work.
 image.png.a27851252bd21760d8b3c0790866bc9f.png

image.png.7984ce657d67a895c8c6a489260f2c1b.png

 

Cc: @bonienl

Edited by dorgan
  • Like 1
Link to comment
14 minutes ago, bbrodka said:

Wow! thanks for the quick implimentation! 
I see i when I hover over strream in the plex streams tab, but not on the dashboard widget, or has that not yet been implimented yet?

What version of unRAID are you running.  I tested this on 6.12rc2 something might not be working for 6.11 and lower, I can certainly check once you confirm though.

Link to comment
36 minutes ago, bbrodka said:

Wow! thanks for the quick implimentation! 
I see i when I hover over strream in the plex streams tab, but not on the dashboard widget, or has that not yet been implimented yet?

Actually just found the problem its definitely an issue with version of unraid less than 6.12.  Update to version 2023.03.28b and it should show on the dashboard widget now.

Link to comment
35 minutes ago, dorgan said:

Maybe try clearing your cache, I've seen the JavaScript file gets cached and that's what updates that piece.

Tried that on chrome [ctrl] [F5] on windows 10
also tried on my ipad, still not viable on dashboard
ver 2023.03.28b
Headed out the door for work

Link to comment
9 hours ago, dorgan said:

Maybe try clearing your cache, I've seen the JavaScript file gets cached

 

The GUI has a function to automatically load updated versions of a file and eliminate the need to refresh the browser because of cached versions.

 

Change

<script src="/plugins/plexstreams/js/plex.js"></script>

 

Into

<script src="<?autov('/plugins/plexstreams/js/plex.js')?>"></script>

 

This will load automatically the latest version of "plex.js" bypassing the browser's cache.

 

Link to comment
39 minutes ago, bonienl said:

 

The GUI has a function to automatically load updated versions of a file and eliminate the need to refresh the browser because of cached versions.

 

Change

<script src="/plugins/plexstreams/js/plex.js"></script>

 

Into

<script src="<?autov('/plugins/plexstreams/js/plex.js')?>"></script>

 

This will load automatically the latest version of "plex.js" bypassing the browser's cache.

 

What is the name and location of the file to edit?
Thanks again

Link to comment

FCP is actually correct on that

    {
        "TemplatePath": "/tmp/appFeed/templates/dorgansRepository/unraid-plexstreams-template.xml",
        "errors": [
            "StartTag: invalid element name"
        ],
        "FirstSeen": null
    },

The xml is invalid (invalid xml syntax) and I've issued a PR

  • Like 1
Link to comment
10 hours ago, Squid said:

FCP is actually correct on that

    {
        "TemplatePath": "/tmp/appFeed/templates/dorgansRepository/unraid-plexstreams-template.xml",
        "errors": [
            "StartTag: invalid element name"
        ],
        "FirstSeen": null
    },

The xml is invalid (invalid xml syntax) and I've issued a PR

Fixed.

Link to comment
11 minutes ago, bbrodka said:

@dorgan 2023.03.29a fixed it, I see plays from both servers on dashboard widget.
Unraid  6.12.0-rc2 Win 10 Chrome Browser
Thanks again

Excellent, please dont hesitate to suggest more features/improvements.  I am always willing to add more to this plugin.

  • Like 1
Link to comment
On 8/11/2020 at 8:01 AM, Zotarios said:
rm: cannot remove ´usr/local/emhttp/plugins/plexstreams/Plex_Streams.page.off´: No such file or directory

I'm getting this error on boot.

image.png.4f2668fd703399534b79a55b9cd83cab.png

Version 2020.07.23

 

On 8/11/2020 at 8:35 AM, dorgan said:

Ok I will look into this, what version of unraid are you on?

 

On 8/14/2020 at 1:22 PM, Zotarios said:

Forgot about that!

I'm on 6.8.3

 

Seems like you might be issuing de "rm" not on the root path. Adding "/" to "usr" would do it (I suspect)

 

 

Hi all, wondering if you guys found a solution that can be shared here.

I have had this error on boot since I started using this plugin.

 

rm: cannot remove ´usr/local/emhttp/plugins/plexstreams/Plex_Streams.page.off´: No such file or directory

 

 

Thanks in Advance ! 😊

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.