ADanaLife
New Member
I have a custom chatbot that creates files on my machine that appear on stream. For example, the bot can write to `message.txt` and then I have a corresponding Text box on my stream that is wired to read from that file. Removing the file or changing the content will change what appears on stream.
This system works pretty well, and even works for static images. I can write `image.png` and have it appear on stream, and when I remove the file it gets removed from the stream. (I use symlinks for this to be faster)
Now I'd like to go one step further and add an animation (Media Source). This works once, but when I remove the file the image stays visible. I guess OBS is loading it into memory and not checking the file contents anymore?
Is there a way for me to load/unload an animation via the filesystem? Is there a better way to do what I am doing?
Thanks!
-Dana
This system works pretty well, and even works for static images. I can write `image.png` and have it appear on stream, and when I remove the file it gets removed from the stream. (I use symlinks for this to be faster)
Now I'd like to go one step further and add an animation (Media Source). This works once, but when I remove the file the image stays visible. I guess OBS is loading it into memory and not checking the file contents anymore?
Is there a way for me to load/unload an animation via the filesystem? Is there a better way to do what I am doing?
Thanks!
-Dana