Moving all my medias. Which tool to update the db ? - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Discussions (/forumdisplay.php?fid=222)
+--- Forum: Kodi related discussions (/forumdisplay.php?fid=6)
+--- Thread: Moving all my medias. Which tool to update the db ? (/showthread.php?tid=102339)
Moving all my medias. Which tool to update the db ? - miljbee - 2011-05-27 16:21
I am thinking of moving all my media Files to my NAS.
Today, I have all my Vids in d:\Videos.
If I move them onto the NAS, they will be located to R:\Videos.
Is there a way to update the Library DB without rescrapping ?
- Hudson_Hawk04 - 2011-05-27 17:01
you are going to need to change the paths of your shares, doing that "may" allow you to update without re scraping...don't quote me though.
- miljbee - 2011-05-27 17:04
of course, I can map the d:\ to the NAS, but that's not what I want.
I need to keep my D:\ as a local drive for other things that runs on the same computer.
- Tuxon86 - 2011-05-27 18:07
Couldn't you just export the DB and do a search and replace of the path and then import it after clearing it?
- jhsrennie - 2011-05-27 18:18
Tuxon86 Wrote:Couldn't you just export the DB and do a search and replace of the path and then import it after clearing it?
Yes, export the library and choose the export to single file option. Then open the XML file in your favourite text editor and replace D:\ by R:\. Then delete the old database and import your edited version.
Actually I'd backup rather than delete the old database just in case.
- miljbee - 2011-05-30 11:02
Thank you for the export/import tip, that's exactly what I need.
I will let you know if it worked or not when I will do it.
- miljbee - 2011-06-23 15:34
the export/import trick worked great. It's easy to do.
Thanks for your help.