2012-03-20, 23:09
I am running Eden RC2. My albums contain about 2,000 .MP3 files which are stored on a remote nfs share. The library is stored on a remote mysql database. I can not get the music library search function to work. I have re-built the library and cleaned the library with no help.
As an example, I did a search for "Stone" and xbmc became so busy that it was unresponsive to the keyboard, mouse or remote control. I let it go for 20 minutes and noticed the clock stopped updating. To break out of this I had to kill the xbmc process via ssh. The string "Stone" is present several places in all of the album, artist and song tables of the library, yet it was not found. With debug logging enabled, xbmc is seen searching all 3 tables repeatedly.
1) This search should not fail.
2) If a search does fail, there should be a timeout with an appropriate user message.
As an example, I did a search for "Stone" and xbmc became so busy that it was unresponsive to the keyboard, mouse or remote control. I let it go for 20 minutes and noticed the clock stopped updating. To break out of this I had to kill the xbmc process via ssh. The string "Stone" is present several places in all of the album, artist and song tables of the library, yet it was not found. With debug logging enabled, xbmc is seen searching all 3 tables repeatedly.
Code:
mysql> SELECT * FROM artist WHERE strArtist like "%Stone%";
+----------+--------------------+
| idArtist | strArtist |
+----------+--------------------+
| 31 | Rolling Stones |
| 35 | The Rolling Stones |
| 332 | Joss Stone |
+----------+--------------------+
2) If a search does fail, there should be a timeout with an appropriate user message.