Kodi Community Forum
Reorganization of video library - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Reorganization of video library (/showthread.php?tid=372599)



Reorganization of video library - BartZorn - 2023-03-19

Hello,

I want to reorganize my video library, which results in changes of the path for each object in the library.

Is there a way to bulk-edit the path in the library database?

TIA,

Bart


RE: Reorganization of video library - Klojum - 2023-03-19

(2023-03-19, 13:17)BartZorn Wrote: Is there a way to bulk-edit the path in the library database?

Sure... if you know your way around SQL database queries/statements. You will need to edit the content of 3-4 tables. You will also need to (re)cache your Thumbnails as their hashes are "calculated" using the paths to each video. Most of that should be done automatically.

Or, you could first do a video export to separate nfo files (and backup your current video database). Then drop the video database, and have Kodi rescrape your video collection. That way, all the old & unnecessary stuff will disappear and a clean video database will appear.


RE: Reorganization of video library - BartZorn - 2023-03-19

(2023-03-19, 13:46)Klojum Wrote:
(2023-03-19, 13:17)BartZorn Wrote: Is there a way to bulk-edit the path in the library database?

Sure... if you know your way around SQL database queries/statements. You will need to edit the content of 3-4 tables. You will also need to (re)cache your Thumbnails as their hashes are "calculated" using the paths to each video. Most of that should be done automatically.

Or, you could first do a video export to separate nfo files (and backup your current video database). Then drop the video database, and have Kodi rescrape your video collection. That way, all the old & unnecessary stuff will disappear and a clean video database will appear.

Thanks!

No, I am not enough familiar with SQL, so I will try the second option.

Regards,

Bart