2009-01-08, 13:27
Hello,
I am working on an web interface that allows to search for songs.
Of course I use the QueryMusicDatabase command which correctly search for records into this file:
C:\Documents and Settings\....\XBMC\userdata\Database\MyMusic7.db
Using SQLiteSpy I inspected "MyMusic7.db" and I discovered that not all the song files stored on the disk are present into the views and tables. In fact it seems that those mp3 which do not have any tag at all, are not considered by XBMC when building the database.
For example if I have a folder on disk which contains 10 mp3 where 6 of them do not have any tag at all, I only find 4 records into the db file.
This means that I could not actually build a serch engine "for files" (however they are).
It seems strange, am I wrong anywhere?
I am working on an web interface that allows to search for songs.
Of course I use the QueryMusicDatabase command which correctly search for records into this file:
C:\Documents and Settings\....\XBMC\userdata\Database\MyMusic7.db
Using SQLiteSpy I inspected "MyMusic7.db" and I discovered that not all the song files stored on the disk are present into the views and tables. In fact it seems that those mp3 which do not have any tag at all, are not considered by XBMC when building the database.
For example if I have a folder on disk which contains 10 mp3 where 6 of them do not have any tag at all, I only find 4 records into the db file.
This means that I could not actually build a serch engine "for files" (however they are).
It seems strange, am I wrong anywhere?