RaunoT / plex-rewind

Present Plex user statistics and habits in a beautiful and organized manner.
GNU General Public License v3.0
187 stars 8 forks source link

New image proxy broken for posters of requested movies #187

Closed SnippetSpace closed 4 months ago

SnippetSpace commented 4 months ago

Plex Rewind Version

2.4.0-develop.6

Description

Some posters not loading with new image proxy. They seem to all have the "request" label

Steps to reproduce

  1. do not expose tautulli publicly and use new rewind proxy
  2. have requested movie in the top 5 in either dashboard or rewind

Screenshots

Plex rewind dashboard: image

Plex rewind - rewind: image

Image does show in Tautulli: image

Logs

Edge error:

Failed to load resource: the server responded with a status of 400 ()
https://rewind.URL.com/_next/image?url=%2Fapi%2Fimage%3Furl%3Dhttp%253A%252F%252F192.168.1.77%253A18181%252Fpms_image_proxy%253Fimg%253D%252Flibrary%252Fmetadata%252F287990%252Fthumb%252F1697158626%2526width%253D300&w=256&q=75

Platform

desktop

Device

PC

Operating System

Windows 11

Browser and version

Edge v126

Additional context

No response

RaunoT commented 4 months ago

This error happens, because Tautulli doesn't return the image.

If you think about it, it kind of makes sense, that images are missing for items showing the Request button. The visibility of the request button means that the show/movie is no longer available on Plex. After being deleted, Tautulli (or Plex for that matter) might have deleted the image alongside it.

I'm not quite sure on how long Tautulli retains images for deleted items, but it does seem to do so for at least some time. I guess as a workaround, what we could do in these cases, is return the poster from TMDB instead.

image image image image
SnippetSpace commented 4 months ago

@RaunoT not sure I understand the mechanism. All these items exist in Plex, they have not been deleted.

They also show as available in overseerr.

image

image

RaunoT commented 4 months ago

That's rather interesting. The request button should only be shown for deleted items. Will look into it under this same ticket.

SnippetSpace commented 4 months ago

Any logs I can send your way or something to debug?

github-actions[bot] commented 4 months ago

:tada: This issue has been resolved in version 2.4.0-develop.7 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

RaunoT commented 4 months ago

:tada: This issue has been resolved in version 2.4.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: