Image source not updating when original file is delete then replaced with the same filename
Operating System Info
Windows 11
Other OS
No response
OBS Studio Version
Other
OBS Studio Version (Other)
3.0.2
OBS Studio Log URL
https://obsproject.com/logs/UeJ2YTFr3iqrFvjI
OBS Studio Crash Log URL
No response
Expected Behavior
I expect that the image source in OBS will be updated in about 1-2 seconds after overwriting the source file.
Current Behavior
When the source file is deleted and replaced with the same filename, image source in OBS does not update
Steps to Reproduce
- Create image source in OBS
- Select any image file as source
- Delete image file
- Create new image file with the same filename
- OBS does not update image source ...
Anything else we should know?
This workflow is different from saving/overwriting from imaging software like Photoshop. My workflow requires the original file to be deleted and then replaced with another file of the same filename. My workflow is similar to GrandyB sheets.io
Just noting that I would not expect this to work. I don't think we're watching image sources for file changes once loaded, and doing so is likely non-trivial.
I don't think we're watching image sources for file changes once loaded, and doing so is likely non-trivial.
OBS is comparing file timestamps to watch image sources for changes. If the file timestamps changes, which should happen if the file is deleted and recreated, then OBS should reload the image.
This could be related to the bug I encountered and opened a PR for: https://github.com/obsproject/obs-studio/pull/8783