2011-02-02, 09:25
I've been using my own video plugin in library mode (alongside my regular, non plugin library content) for a while and noticed lately that performance was degrading for video library operations (I'm running on xbox -- I know that's not supported here anymore, but I think this problem is universal to all platforms).
After a bit of investigation tonight, I found that the URLs to content returned by my plugin were still in the 'files' and 'path' tables in the videos database. Since these URLs are time-sensitive, the tables were just filling up with useless data.
Furthermore, I peeked through the thumbnail cache and found that there too were very many of the thumbnails returned from my plugin.
What I'm wondering is:
1) Is this a known issue?
2) Is there a way for my plugin to avoid adding entries to the 'files' and 'path' tables?
3) Is there a way for my plugin to ensure that it's thumbnails do not linger in the cache?
After a bit of investigation tonight, I found that the URLs to content returned by my plugin were still in the 'files' and 'path' tables in the videos database. Since these URLs are time-sensitive, the tables were just filling up with useless data.
Furthermore, I peeked through the thumbnail cache and found that there too were very many of the thumbnails returned from my plugin.
What I'm wondering is:
1) Is this a known issue?
2) Is there a way for my plugin to avoid adding entries to the 'files' and 'path' tables?
3) Is there a way for my plugin to ensure that it's thumbnails do not linger in the cache?