Skip to content

feat: SG-42883: [RV] Leverage if thumbnail is already existing along-side the media#1225

Draft
chenlj1 wants to merge 22 commits intoAcademySoftwareFoundation:mainfrom
chenlj1:SG-42883
Draft

feat: SG-42883: [RV] Leverage if thumbnail is already existing along-side the media#1225
chenlj1 wants to merge 22 commits intoAcademySoftwareFoundation:mainfrom
chenlj1:SG-42883

Conversation

@chenlj1
Copy link
Copy Markdown
Contributor

@chenlj1 chenlj1 commented Apr 13, 2026

SG-42883: [RV] Leverage if thumbnail is already existing along-side the media

Summarize your change.

Added an optional persistent cache for generated thumbnails and filmstrips in local_thumbnail_gen.py.
When the RV_PERSISTENT_PREVIEW_CACHE environment variable is set, previews are saved to an rv_previews/ folder next to the source media instead of a temporary directory. This allows previews to be reused across RV sessions instead of being regenerated each time.

Describe the reason for the change.

Previously, previews were stored in a temp directory and deleted after each session. We wanted to add an option for persistent caching to avoid unnecessary regeneration and improves load times.

Describe what you have tested and on which operating system.

Tested on macOS to confirm that default temp file behavior remains unchanged when RV_PERSISTENT_PREVIEW_CACHE is not set.
When the env var is enabled, verified that the persistent rv_previews/ directory is created for each local source and that previews are reused across sessions without regeneration.

chenlj1 added 22 commits April 2, 2026 13:14
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
…style to qss files

Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
…sable

Signed-off-by: chenl1 <ling.jie.chen@autodesk.com>
@compaga compaga added the PR: In Progress PR is being reviewed by code reviewer. label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: In Progress PR is being reviewed by code reviewer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants