Win How to keep library intact when transfering files to a new external hd?
#1
Lightbulb 

Hi, everyone.

I have read several topics here about changing files from one external hd to another, but the discussions usually come with terms related to altering xml and other stuff I don´t really understand (yes, I´m a noob Confused ).

I´d like to keep my library as it is now, with the watched files checked, library items scanned, and so on.

I had to get a new external hd, and I´d really love to organize everything properly.

Can someone help me find a solution? I still haven´t moved the files and tried to use kodi, but I guess files will be duplicated as soon as I rescan my library, and all hell will soon after break loose.

Thanks in advance.
Reply
#2
easy way to keep watched status:

http://kodi.wiki/view/Add-on:trakt

To do a migration, you're going to need to modify an XML or your database.
It's not very difficult, just do some reading up and you should be able to follow it!

Good luck Smile
4x R-Pi4b LibreELEC v10 | Aeon Nox: SiLVO | Flirc cases
Storage Synology DS411 | 4 x WD RED 6TB
Software MariaDB 10.4.19 | Filebot | Ember Media Manager
wiki (wiki) | First time user (wiki) | Debug_Log (wiki) | mysql (wiki) | artwork (wiki)
Reply
#3
The latest version of our add-on (Video database Cleaner) has the ability to change paths within your database. Basically, you set in the advanced settings of the add-on the old path and the new path. The add-on will then walk your database and change all the paths from the old one to the new one.

So you can do something like this -

Old path = C:/somefolder/someotherfolder/movies

New path = E:/movies

All instances of 'old path' will be changed to 'new path' after your database has been automatically backed-up (just in case Wink). This version is still in testing and not yet on our repo because of that but you can get it from my github -> https://github.com/the-black-eagle/scrip...se.cleaner

Notes -

Changing paths is a one-shot deal, meaning that the add-on turns that option OFF once you have done it so as to not try to do it multiple times.
Don't put a slash at the end of the paths. This is explained in the documentation but is easy to miss.
If you abort the add-on at the summary window, a log file will be created in Kodi's 'temp' directory showing you exactly what will be changed. This can be used to make sure that you have set the paths correctly and that the add-on is outputting the correct new path.

If you have any questions or feedback, we have a support thread here -> http://forum.kodi.tv/showthread.php?tid=272112
Learning Linux the hard way !!
Reply

Logout Mark Read Team Forum Stats Members Help
How to keep library intact when transfering files to a new external hd?0