xbmc/xbmc — pull request #984 by MichaelAnders (2012-05-20 08:34:33+00:00)
Title: Supporting using MySQL for Textures table; use static DB connection for cached images

My HTPC (AMD A-350) was unable to handle XBMC properly. Although I am using MySQL on a separate server + have all the files stored there, XBMC was hitting 100% CPU usage and causing heavy file access to the sqlite tables whenever I saw thumbnails etc.

This code allows usage of MySQL for the textures table. Additionally, as GetCachedImage and SetCachedImage are static methods make the DB connection as well static.

To enable it: in advancedsettings.xml add the entry "" as already done for "".

Result: My HTPC has no hits anymore to the local DB tables and performance of XBMC has improved up quite a bit (more work to follow though, not happy yet).

Hope that this "pullrequest" works the way I expect it to...