Posts: 137
Joined: Aug 2009
Reputation:
13
In the path table in the database, there is a hash field. How is this field calculated? I've tried using MD5, but that doesn't seem to be it.
Or, is it even required? I have a need to add new paths to the table.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
It's populated by the scanner based on the contents of the folder (file names, file size, file date primarily). You don't require it if you are populating it directly.
Cheers,
Jonathan
Posts: 1
Joined: Aug 2024
Reputation:
0
I had to move my video files to another server, so all the paths have to change.
Rather then doing everything from scratch I would like to update the paths. Then I do need to recalculate the hash?
It looks like an MD5 hash, but what is the input string exactly?
Posts: 5,435
Joined: Jul 2012
Reputation:
378
Not 100% on this, but pretty sure what happens is the first time you scan your source (for example scan for new content) Kodi will recursively open every path looking for video files and compute/store a new hash. Subsequent scans will skip paths with matching hash. So mainly the time required to scan the path/compute new hash the first go-round.
scott s.
.