[Plugin] Plex Streams


Recommended Posts

On 6/30/2023 at 3:23 PM, Zonediver said:

Well... i think, there is an other problem...

I saw this several times today...

It seems the plugin did not delete played streams...

Two active streams but four shown 😉

 

grafik.png.54c7eeb4a259b5c05391cdeedf8dc147.png

 

I am / have been encountering this as well....
Unraid 6.12.3 using plex streams version 2023.06.29 on Firefox.

When I hit refresh, it will update and pull correct current streams, however, I keep having to refresh the page for it to remove the played lines.

Link to comment
On 8/27/2023 at 12:08 AM, Anthwerp said:

I am / have been encountering this as well....
Unraid 6.12.3 using plex streams version 2023.06.29 on Firefox.

When I hit refresh, it will update and pull correct current streams, however, I keep having to refresh the page for it to remove the played lines.

Typically seeing duplicate streams is because there is a configuration setting wrong.  Please make sure you do not have servers selected in the servers list as well as populated in the Customer Servers field.

  • Thanks 1
Link to comment
4 hours ago, dorgan said:

Typically seeing duplicate streams is because there is a configuration setting wrong.  Please make sure you do not have servers selected in the servers list as well as populated in the Customer Servers field.

Yes, there are no servers selected and the custom server field is filled in.

The issue is not a duplicate stream.. rather the old streams that are finished playing don't get cleared off from the list and so when the next stream plays, the list just gets longer.

 

When you refresh the page, then the old streams get cleared off.

As a note, this was not an issue on 6.11 but I've started encountering this on 6.12.3 after I upgraded.

Link to comment
On 8/28/2023 at 1:53 PM, Anthwerp said:

Yes, there are no servers selected and the custom server field is filled in.

The issue is not a duplicate stream.. rather the old streams that are finished playing don't get cleared off from the list and so when the next stream plays, the list just gets longer.

 

When you refresh the page, then the old streams get cleared off.

As a note, this was not an issue on 6.11 but I've started encountering this on 6.12.3 after I upgraded.

ok now that I know how to re-create it I can look into it.  There was a bunch of changes in moving from unraid 6.12 for this plugin, so somthing probably got a little messy.  I'll try to get it correct in the next week or two.

  • Thanks 1
Link to comment
  • 3 weeks later...
  • 4 weeks later...

Hi - I'm receiving this error

Quote

Warning: simplexml_load_string(): Entity: line 1: parser error : StartTag: invalid element name in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 180

Warning: simplexml_load_string(): <!doctype html> in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 180

Warning: simplexml_load_string(): ^ in /usr/local/emhttp/plugins/plexstreams/includes/common.php on line 180

 

I've removed and reinstalled the plugin but it still populates. The plugin still functions and shows me the streams as they're occuring on the Plex Streams tab, however on the main dashboard it does not work. I'm running the latest version of the plugin at 2023.06.29

 

Let me know if I can provide additional logs or anything. Thank you!

Link to comment
54 minutes ago, Simmer said:

Hi - I'm receiving this error

 

I've removed and reinstalled the plugin but it still populates. The plugin still functions and shows me the streams as they're occuring on the Plex Streams tab, however on the main dashboard it does not work. I'm running the latest version of the plugin at 2023.06.29

 

Let me know if I can provide additional logs or anything. Thank you!

What version of unraid are you running.  Also can you post a screenshot of your Plex Stream Settings page, blur out anything sensitive

Edited by dorgan
Typo
Link to comment
On 10/17/2023 at 10:05 AM, dorgan said:

What version of unraid are you running.  Also can you post a screenshot of your Plex Stream Settings page, blur out anything sensitive

I'm on unraid 6.9.2 and here is the screenshot. It looks different than some settings pages I've seen in this thread, not sure why.

plexsettings.JPG

Link to comment
  • 1 month later...

This was working in the past but noticed this morning that it no longer shows streams. When I go to the Plex Streams Settings page the servers animation just spins. I tried to remove the token to see if I could re-add my servers and I get sent to an /update.php page that never loads.

 

In the system logs I see this event:

root: error: /update.php: missing csrf_token

 

FixCommonProblems doesn't find anything. I've tried removing the plugin, restarting unraid, and re-adding but no joy.

 

Unraid version 6.15.4. Server is otherwise running perfectly, but I did a 2 pass memtest just to be sure. Any help is appreciated.

Link to comment

Hello,

Just installed on 6.12.4 and I'm having the same issue as iceperson above. 

The servers animation just spins and clicking on the Get Plex Token button doesn't do anything. I tried a different browser as well.

Clicking on Save or Remove Token also loads a blank page. 

Also tried removing the plugin, restarting unraid, re-installing but no change.

Thanks for the help.

plex-streams.PNG

Link to comment
45 minutes ago, rud said:

Hello,

Just installed on 6.12.4 and I'm having the same issue as iceperson above. 

The servers animation just spins and clicking on the Get Plex Token button doesn't do anything. I tried a different browser as well.

Clicking on Save or Remove Token also loads a blank page. 

Also tried removing the plugin, restarting unraid, re-installing but no change.

Thanks for the help.

plex-streams.PNG

I've been down with flu and bronchitis and haven't really been on the computer much, but I can confirm I am now seeing this on my side too, so let me take a look and see what's going on

  • Like 1
Link to comment
2 hours ago, rud said:

Hello,

Just installed on 6.12.4 and I'm having the same issue as iceperson above. 

The servers animation just spins and clicking on the Get Plex Token button doesn't do anything. I tried a different browser as well.

Clicking on Save or Remove Token also loads a blank page. 

Also tried removing the plugin, restarting unraid, re-installing but no change.

Thanks for the help.

plex-streams.PNG

OK just pushed out 2023.11.27 which should fix this issue.

Link to comment
3 hours ago, iceperson said:

This was working in the past but noticed this morning that it no longer shows streams. When I go to the Plex Streams Settings page the servers animation just spins. I tried to remove the token to see if I could re-add my servers and I get sent to an /update.php page that never loads.

 

In the system logs I see this event:

root: error: /update.php: missing csrf_token

 

FixCommonProblems doesn't find anything. I've tried removing the plugin, restarting unraid, and re-adding but no joy.

 

Unraid version 6.15.4. Server is otherwise running perfectly, but I did a 2 pass memtest just to be sure. Any help is appreciated.

go ahead and try version 2023.11.27 which should fix this issue.

Link to comment
  • 1 month later...
  • 1 month later...
On 11/27/2023 at 5:01 PM, rud said:

Hello,

Just installed on 6.12.4 and I'm having the same issue as iceperson above. 

The servers animation just spins and clicking on the Get Plex Token button doesn't do anything. I tried a different browser as well.

Clicking on Save or Remove Token also loads a blank page. 

Also tried removing the plugin, restarting unraid, re-installing but no change.

Thanks for the help.

plex-streams.PNG

 

Im also having this issue. On 6.12.6. It actually added the Token now but doesn't detect the server. Seems like the token is wrong?

Edited by Sptz87
Link to comment
  • 2 weeks later...

I'm not really sure how to report this "error"

 

I can't even be sure it is one.

 

My Plex Streams plugin works as intended. However. It sometimes takes 3 minutes to find active streams on the Dashboard Tab. And viewing active streams through the Plex Streams Tab freezes my browser entirely for 3 minutes. (Both on PC and Mobile)

 

Is this a known bug? Is there a fix? 

 

I've tried uninstalling and reinstalling the plugin but that didn't help.

Link to comment
  • 3 weeks later...

Not sure where/how to report this error but there seems to be an issue with how the plugin represents music streams. It almost seems like it's storing the information as an array and somehow the music streams add an empty entry that moves all the content over one column's worth? Add that with not clearing done/ended music streams as it reaches the next song and you get this behavior in the UI (song names highlighted): 

image.thumb.png.3d3a41497515b64335e60ed91dbefb57.png

 

Happy to provide any extra info if it would help with debugging! Other than this the plugin has been great, appreciate it!

 

EDIT: Additional info: everything is fixed on a page reload and I'm using the Brave browser, Unraid 6.12.8, and the latest plugin version 2023.11.27

Edited by scd780
additional info
Link to comment
  • 4 weeks later...
1 hour ago, Teffi71 said:

Any clue why Plex Streams shows the one stream twice?
 

1634442266_Screenshot2024-03-27at21_18_33.thumb.png.a1e4453aba248beab9fc370073902394.png

 

153418846_Screenshot2024-03-27at21_18_47.thumb.png.fa75ae7c70a6d0bf714040c92032c8bb.png

 

Check your settings, if you already have a server selected in the list, you do not need to fill it in inside the custom servers field.

  • Like 1
Link to comment
  • 2 weeks later...

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.