jellyfin-chromecast icon indicating copy to clipboard operation
jellyfin-chromecast copied to clipboard

can't cast images to Chromecast

Open jlvivero opened this issue 2 years ago • 1 comments

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/<some UUID>/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

jlvivero avatar Nov 05 '22 21:11 jlvivero

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.

YouKnowBlom avatar Dec 06 '22 23:12 YouKnowBlom