Music library empty
Hi happy people!

Some time ago I installed the HTPT skin, just to try, and what was my surprise when I saw that it had changed everything in my kodi installation. I unistalled it and now everything is ok except my music library. If I go to /storage/.kodi/userdata/library/music there is nothing there. I´ve tryed to add a new music source, kodi scans it but there is no artist/albums in the collection view, is empty.
I´ve delete all the sources, recreated, but no luck. The funny thing is that the music.db is /storage/.kodi/userdata/Database and the widgets loads the album whith no problem, but when I go to Music, I only can see the Music addons option.

I don´t know if there is a way to recreate these XML files, but I need them and I don´t want to re-install kodi.
The permissions are correct and when I try to access to Music > Artios using kodi, I get this errors in the log:

20:20:08 T:140615139711040   ERROR: GetDirectory - Error getting library://music/artists.xml
20:20:08 T:140615139711040   ERROR: CGUIMediaWindow::GetDirectory(library://music/artists.xml) failed
20:20:08 T:140613703382784   ERROR: GetDirectory - Error getting addons://sources//extrafanart/

Could somebody help me?
Your best bet is to turn on debugging, quit Kodi, restart it and either add some music or try to access artists in the music library, then upload the log to or pastebin. If you are unsure about this, read debug log (wiki).
Learning Linux the hard way !!
Here is the log:

Thanks for your help Smile
Hmm, the default nodes (which appear to be missing) should be in '/usr/share/kodi/system/library/music'. Can you confirm if that is the case ?
Learning Linux the hard way !!
There they are, what can I do with those files?

-rw-r--r-- 1 root root 219 May 1 16:45 albums.xml
-rw-r--r-- 1 root root 221 May 1 16:45 artists.xml
-rw-r--r-- 1 root root 244 May 1 16:45 compilations.xml
-rw-r--r-- 1 root root 182 May 1 16:45 files.xml
-rw-r--r-- 1 root root 244 May 1 16:45 genres.xml
drwxr-xr-x 2 root root 178 May 1 16:45 musicvideos
-rw-r--r-- 1 root root 200 May 1 16:45 playlists.xml
-rw-r--r-- 1 root root 244 May 1 16:45 recentlyaddedalbums.xml
-rw-r--r-- 1 root root 246 May 1 16:45 recentlyplayedalbums.xml
-rw-r--r-- 1 root root 227 May 1 16:45 singles.xml
-rw-r--r-- 1 root root 217 May 1 16:45 songs.xml
drwxr-xr-x 2 root root 79 May 1 16:45 top100
-rw-r--r-- 1 root root 241 May 1 16:45 years.xml

Logout Mark Read Team Forum Stats Members Help
Music library empty0
This forum uses Lukasz Tkacz MyBB addons.