plex_generate_vid_previews
plex_generate_vid_previews copied to clipboard
[Feature Request] Ability to force/overwrite bif files
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
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!!
@ravensorb lmk? ^
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).
is this why I get this?
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?
Closing this out due to no reply. This feature was added, please report if you hit issues.