Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Plex Streams

Featured Replies

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.

  • Replies 454
  • Views 83.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I am planning a rewrite of this plugin, and will add that to the list of support besides also being able to support other media server platforms

  • 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.

  • It does just work for MANY. Have you tried my suggestion yet? I definitely want to assist in getting this issue resolved for many, but as I stated it is the results coming back from Plex that are th

Posted Images

  • Author
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.

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.

  • Author
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.

I have completed all these steps and still do not see any streams on my plex stream on the unraid dash board.

I have reload my token and I have selected my servers ans still nothing shows

 

  • 3 weeks later...

I just set up a brand new UnRaid server and Plex server. When I use the Get Plex Token option and log into plex, it is generating a token that doesn't match my server and therefor my server never shows up to connect. Can you help me with this issue?

  • 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!

  • Author
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

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

  • Author
2 hours ago, Simmer said:

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

That version of unraid is over 3 years old and honestly no longer supported.  

On 10/20/2023 at 1:30 PM, dorgan said:

That version of unraid is over 3 years old and honestly no longer supported.  

Ah, I didn't know it was EOL already. Do you think this is why I'm having the issue? There's not anything else config-wise I could do?

  • 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.

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

  • Author
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

  • Author
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.

  • Author
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.

  • 1 month later...

Works great on 6.12.6. Thanks Dev.

 

Edited by wuudogg

  • 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

  • 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.

  • 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

  • 4 weeks later...

@dorganWould be great to rename to Media Streams and add support for Jellyfin or Emby.   Jellyfin also has some REST API to know what' playin, etc.  You could add tabs in the settings, for each media server.

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

 

  • Author
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.

  • 2 weeks later...

@dorgan that was an easy fix for a stupid error on my Side ;) Thx again!

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.