Jump to content

On-demand BIF generation during playback


Recommended Posts

slevin7
Posted (edited)

 Currently, BIF files (video preview thumbnails) are only generated during library scans or via scheduled task. This causes problems when   
  files are renamed - Emby treats them as new files and regenerates all BIFs, which can take days for large libraries.                       
                                                                                                                                             
  Request:                                                                                                                                   
  Add an option for on-demand BIF generation:                                                                                                
  - Generate BIF only when user first seeks/scrubs in a video                                                                                
  - Cache it for future use                                                                                                                  
  - Lower priority background generation                                                                                                     
                                                                                                                                             
  Benefits:                                                                                                                                  
  - Faster library scans after bulk file renames                                                                                             
  - Reduced server load (only generate what's actually used)                                                                                 
  - Better user experience for large libraries                                                                                               

Edited by slevin7
  • Agree 1
Neminem
Posted (edited)

Well it is on demand.

Just turn off the Schedule task and turn it off in your library settings.

Then you can run the Scheduled task manually " On demand " 😉

Edit this might not work.

Edited by Neminem
brothom
Posted (edited)

In my experience the bif generation is pretty iffy anyway.
Moving media sometimes "breaks" the media item on my end and once moved, Emby might generate new bif files but these are never connected / related to the media items themselves eventhough they exist.

But yes, you'd expect you could run it directly from Emby Server -> Scheduled Tasks: image.png.d4a2cee4326f011d88271b0ae75a87c8.png

You can, but if you were to set "Video Preview Thumbnails" to "Never", the Scheduled Task doesn't seems to work either. 

It might be better if there were a third and fourth option for "manually" run the task with maybe a max duration or item count and "on demand".

Edited by brothom
TMCsw
Posted
6 hours ago, slevin7 said:

This causes problems when files are renamed

Why (or how) are you adding files to Emby that aren't named properly?

And if you set:

image.thumb.png.2ba198b054f496e7516a04ac0807e80c.png

Just rename the bif too when you rename the file.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...