Kodi Community Forum
Solved Navigation in music folders not possible - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Music Support (https://forum.kodi.tv/forumdisplay.php?fid=263)
+--- Thread: Solved Navigation in music folders not possible (/showthread.php?tid=319673)



Navigation in music folders not possible - Mendel - 2017-08-09

Dear Kodi community,

I am running Kodi 17.3 on a raspberry pi 3 with the Quartz skin. It all works as it should, apart from the music section: I am not able to navigate the folders, update the library, import a clean library or export the existing one. I think it happened when I added a folder with a lot of new music to the library which sits on a NAS - just like all other media. But, since then I am also not able to start music playback from files on a USB drive, or add a new folder to the library. Navigation via the web interface did work, but playback never started and after trying for a while, the interface looses connection. I tried to get an old, clean music library imported, but the result is that I have no music in there anymore, and no way of adding a folder because as soon I select "music", either from the home screen or via settings > media sources > music, it just freezes and not let me do anything but go back one step. I also tried to manually change the path names in the sources file on the user data folder, but all led to nothing. The skin was never the problem by the way, because the default skin also does not allow navigation in the music section, while at the same time navigation through movies and tv shows is no problem.

Before I do a complete overhaul of the system and tweak it to my liking, is there any solution or other way to fix the library?

If you need more information, please let me know, I would be super happy if this can be fixed without redoing everything!


RE: Navigation in music folders not possible - DaveBlake - 2017-08-09

Sounds like a Music database corruption of some kind, compounded with whatever you have done since. But hard to say more without more information. A debug log could help http://kodi.wiki/view/Debug-log


RE: Navigation in music folders not possible - Mendel - 2017-08-10

(2017-08-09, 20:32)DaveBlake Wrote: But hard to say more without more information. A debug log could help http://kodi.wiki/view/Debug-log
Thank you for pointing me there. The log file can be found here: https://pastebin.com/4P0y2jNr For those looking at the log: I restarted the pi, then I first tried to navigate the music folder from the home menu, then I tried to navigate the music source folders in settings, then I selected "update audio library" via the web interface, then I selected the "clean audio library" via the settings menu, and finally I ran "update library" from the home screen menu.
All help is welcome, thanks in advance!


RE: Navigation in music folders not possible - DaveBlake - 2017-08-10

(2017-08-09, 19:15)Mendel Wrote: I tried to get an old, clean music library imported, but the result is that I have no music in there anymore, and no way of adding a folder because as soon I select "music", either from the home screen or via settings > media sources > music, it just freezes and not let me do anything but go back one step.
Do you mean that you used the import facility (from system > settings> media Music Seciton) to import a previously created MusicDB.xml file, or something else? Import does not restore the music library, it simply tries to reapply previously scraped additional artist and album information to the library it has.

I can't see much of use in the log, but I'm not that familiar with the Chorus calls so it was not obvious to me what was happening. Anyway "Update Library" is not going to help with a db corruption.

My suggestion: stop Kodi, ssh onto your Pi and remove the Music60.db file. Since you have no music at the moment you have nothing to loose but you could take a copy first if you like. Edit sources.xml removing the <source>... </source> sections under <music>. Restart Kodi, it will create a new empty music library.

At that point you should be able to add a music source, scan to lib etc. and start your music library afreash.

Report back how you get on.


RE: Navigation in music folders not possible - Mendel - 2017-08-10

Thanks for the quick reply Dave, I did what you advised but the result is still the same: I cannot navigate up or down when I am in the music folders, so there is also no way to add a new source. I also tried with a keyboard because I thought is was the keymap-addon, but that made no difference.


RE: Navigation in music folders not possible - Mendel - 2017-08-10

I found the problem, it was in the keymaps addon after all: when I deleted the keymap.xml, it worked again and I was able to reconfigure and navigate as before. Thank you for your time!