jellyfin / jellyfin-chromecast

Chromecast Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
132 stars 40 forks source link

can't cast images to Chromecast #380

Open jlvivero opened 1 year ago

jlvivero commented 1 year ago

when casting images to Chromecast, it doesn't really work, pressing play does nothing and pressing shuffle returns an error

Screenshot_20221105-135833

on the server logs I get something like

Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL POST /Items//PlaybackInfo System.InvalidCastException: Unable to cast object of type: MediaBrowser.Controller.Entities.Photo to type MediaBrowser.Controller.Entities.IHasMediaSources

there's more but basically seems to be a type issue

YouKnowBlom commented 1 year ago

If I remember correctly the support for images was ripped out during the CAF migration (and wasn't working very well to begin with). With that said it shouldn't be too hard to reimplement. We'd need a new view for images as well as the logic around that since I don't think there is a native way to display it via the CAF library.