plex_generate_vid_previews icon indicating copy to clipboard operation
plex_generate_vid_previews copied to clipboard

[Feature Request] Ability to force/overwrite bif files

Open ravensorb opened this issue 6 months ago • 3 comments

Any thoughts to adding support for overwriting an existing bif file with the newly generated one?

It looks like it might be as simple as adding something to line 401:

if not os.path.isfile(index_bif):

I was thinking something as simple as:

if not os.path.isfile(index_bif) or os.environ.get('FORCE', '0').lower() in ['true', '1']:

Does that look write? or is there more to it (ex: deleting the sub folders to clear out all of the old info)?

Might also be a cool feature to be able to filter to only process specific libraries and media

ravensorb avatar May 09 '25 22:05 ravensorb

I've just pushed v1.5 to support this. you can set REGENERATE_THUMBNAILS to true

I wasn't able to test this, if you can please test and report back here. Thanks!!

stevezau avatar May 10 '25 02:05 stevezau

@ravensorb lmk? ^

stevezau avatar May 13 '25 22:05 stevezau

Sorry was off line for a few days. Let me take a look. Note, was also going to submit a PR that allowed for setting the console width (makes it easier when logs in docker if the wrap is 180 or greater).

ravensorb avatar May 18 '25 18:05 ravensorb

Image

is this why I get this?

Paradoxum avatar Jul 01 '25 01:07 Paradoxum

Hi @Paradoxum sorry i missed this. re col width, perfect, ill look for that PR when you open it.

re REGENERATE_THUMBNAILS. Can you try again and let me know if you hit issues?

stevezau avatar Aug 29 '25 23:08 stevezau

Closing this out due to no reply. This feature was added, please report if you hit issues.

stevezau avatar Sep 04 '25 21:09 stevezau