Calculating the hash for a path in the database
#1
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.
Reply
#2
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
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
jmarshall Wrote: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

Thanks for the quick response Jonathan. So the hash (and I assume) other fields are really only used by the scraper?
Reply
#4
Correct.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Calculating the hash for a path in the database0