[bug] Plex Mix availability on newly added media items

system/os: UnRaid 6.2
Plex web: 2.8.1 / 2.9.3 (via Plex.tv interface)
Plex server: 1.1.4.2757

So, this is a bug that I’ve noticed before but did not report as I assumed it would be corrected in subsequent updated. It obviously hasn’t been so far.

The first part of it occurs when a new item is added to a media library (music). Most items will have the plex mix option available immediately upon library refresh, even when the plex mix itself for is not available for the item. This is not desired behaviour as the option should only be available when the song has a plex mix.

An additional issue is that the error message associated with the plex mix availability is inconsistently shown in the web interface.

If you attempt to trigger a plex mix directly from the album/song list (the additional options under “…” on individual songs) you will only get a partial player interface at the bottom of the screen, with a loading animation. The API request to playQueues correctly responds with “Sorry, there is no Plex Mix available for this track.” message but the exception is obviously not handled correctly.
Additional for devs, your Sentry error calls are not useful in this instance, due to constant rate limiting (429 response)

If the same song is already playing and you attempt to us the “Queue Plex Mix” from the player, the error message displays normally.

Now I’m quite aware that indexing additions to a large library (in my case 3.5K albums) is time-consuming and may take a while as a background process, so my complaint is not related to speed, but rather to the UX/API response exception handling issue presented in my notes above.

A completely separate issue is that I’ve looked at albums added 30 days ago and there are some that exhibit the same behavior (while others have normal Plex Mix function). This seems like a very long period so I’m wondering what is the recommended fix in those cases (re-indexing?).

Let me know if I need to attach logs.

UPDATE:

  • Plex server log attached

At the risk of being flamed, have you followed the steps in the guide on how to report an error?

Specifically:

  • Enable the debug log
  • Restart the server
  • Reproduce the problem

Probably a good idea to download and attach the logs to your post too.

In the end, it’s just about saving time, and gathering as much accurate info as possible.

I personally cant help you, but the more information you provide, the more people that might be able to.

Good luck, and I hope others can help you out :slight_smile:

[edit]
Out of curiosity, I followed the steps you mentioned about Plex Mix.

I added a new song, and let it refresh. Even after refresh, the Plex Mix option was not available (see attached)

Is this the functionality you were talking about? Does it not do this for you?

No risk of flaming at all @ntrevena :slight_smile: I’ve attached the log to the original post. And this issue has been reproduced numerous times on my end, with server restarts, etc.

On your last comment (the test you did). That is actually expected behaviour if the song doesn’t have Plex Mix available. This is normal and I have a number of songs that don’t have the option present. My issue is that there is a large number of songs (especially on newly scanned/added albums) that have the option present but with the behaviour described in my original post.

Bump.
So I’m still experiencing this with latest updated versions. Is there any input from Plex staff on this.

And Merry Christmas to all.