Browser TIF Support #6521
computamike
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi -
I have been playing with setting up Jellyfin for family photos - and it works great. I'm scanning in a huge collection of physical photographs, and my scanner stores them as TIF/TIFF (I'll refer to them as TIF files).
Jellyfin does seem to support TIF images - but the web front end does render them correctly - that's not a huge surprise though, as most browsers don't support TIF. So I wanted to add TIF support, so I downloaded the code and started hacking to see what I could see.
I'm a bit confused by the front end plugins - the behaviour seems strange to me.
My understanding is :
Jellyfin has a collection of plugins that expose functionality specific to the image types - so for instance there is a PDF Renderer, which when it renders to the screen writes a canvas element and uses a JS library to render PDF's -
I added and registered a plugin that could be used to potentially render TIF images - however My new plugin wasn't being selected for photos - rather the existing photoplayer was being selected. This is because the photo provider doesn't implement
canPlayItem- so I added an implementation into photo player, and now the plugin manager can pick the tifplayer for tif files, or photoplayer for other photofiles that aren't tif.but that's all for naught - because the playerbackmanager then calls playOther - which then attempts to find a player, but doesn't pass the item path along, and so now the provider that is picked is photoplayer - again.
I feel like the plugin architecture seems like a good idea - but then there are sections that seem to ignore that, and we have some plugins that don't seem to implement the plugin requirements fully.
Any guidance about updating the web front end to support tif?
Beta Was this translation helpful? Give feedback.
All reactions