OpenELEC Forum
New Labels for external USB HDDs - Database broke - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: STORAGE (https://forum.openelec.tv/forumdisplay.php?fid=60)
+--- Thread: New Labels for external USB HDDs - Database broke (/showthread.php?tid=77619)



New Labels for external USB HDDs - Database broke - rantanplan - 07-23-2015

Hi,

I've got a question:
I want to rearrange the labelling structure if my external USB HDDs to HDD1,2,etc, because now it is quite random. I tried to do it, but the database is then broken, because it is related to the labels.. Is there a possibility to fix this or is it easier to relabel the drives and then set up a new database?

Can someone here help me?
Thank you


New Labels for external USB HDDs - Database broke - klojum - 07-23-2015

The video library works with full paths to the video files. Meaning, any change in that path will cause Kodi to not find the videos any more.

So you can either delete the video database file and fully rescan your sources, or directly alter the contents of the database itself using a database SQLite tool. The latter option is of course only for those with sufficient SQL skills.
http://kodi.wiki/view/HOW-TO:Update_SQL_databases_when_files_move