Video Capture Device lags because of too often rerenders of text/artwork
Hi! The built-in camera of Mac lags with interval 1 (default value). Probably because it tries too often to get new artwork and rerender it. Interval 10 is okay.
Possible fixes:
- Add cashing for the tracks. Do not rerender on the same track
- Add a note about lags with a small interval
Thank you for the script!
I got this problem too. When I use this plugin, I got a severe rendering lag. Here is my log.
Before:
After:(With severe rendering lag)
Sorry for the delay, I just did some investigation, the lag isn't caused by the re-render, but you are right about the caching. The lag was caused by the communications between the script and Spotify rather than the re-renders. The script lookup for the current track info every [interval] seconds, somehow Spotify is slow to return the result. So far I have no idea how to fix this...