2023-03-09, 20:47
Good day all!
I have a question regarding my library taking forever to update.
First of all, I have a NAS at home and I have few Android boxes using Kodi. I have created an SQL database on my NAS and all Android boxes have the advancedsettings.xml file in the Kodi folder so all devices connect to one database.
On my NAS, I have a shared folder called Videos and under that folder, I have another folder called Movies, then multiple folders for the type of movies (Action, Drama, Comedy, War, etc) and then one folder per movie. (Videos>Movies>Drama>Movie Name).
I have 3 sources for videos in Kodi and they are set as follows:
After few readings in the Kodi Wiki, I noticed there his an entry available for the advancedsettings.xml file under video library named: usefasthash. This is basically for: !-- defaults to true. Set to false in order to skip hashing based on the folders modification time.
So I made sure this key was set to true but my question is: when Kodi checks for updating the library, how does it work? Does it check at the Source folder (i.e. MOVIES) and then compare its registered hashing to see if something was modified or it does not care and goes to all folders to check if it was modified or not?
In my case, as my file structure is set this way (Videos>Movies>Drama>Movie Name), I want the hashing to be completed/compared at the "Drama" folder, not any other folder. That way, Kodi would only have to check 10 to 15 folders to see if it needs to update the library or not. Right now, even if there has been no updates in my file structure (no new movie added/deleted), when the auto-update of the library runs, Kodi will scan all folders even if the hashing has not changed at all... And it takes forever to complete even if my home network is all 1Gbps based. So I need to know here that hashing comparison occurs... If it is as the SOURCE level, I will create multiple sources (ACTION, DRAMA, COMEDY, etc.) and then will let the hashing comparison to do its magic...
Am I missing something?
Thanks for your help!
Jeff.
I have a question regarding my library taking forever to update.
First of all, I have a NAS at home and I have few Android boxes using Kodi. I have created an SQL database on my NAS and all Android boxes have the advancedsettings.xml file in the Kodi folder so all devices connect to one database.
On my NAS, I have a shared folder called Videos and under that folder, I have another folder called Movies, then multiple folders for the type of movies (Action, Drama, Comedy, War, etc) and then one folder per movie. (Videos>Movies>Drama>Movie Name).
I have 3 sources for videos in Kodi and they are set as follows:
- Movies: smb://server_ip/videos/movies
- TV Shows: smb://server_ip/videos/tv_shows
- Family Videos: smb://server_ip/videos/family_videos
After few readings in the Kodi Wiki, I noticed there his an entry available for the advancedsettings.xml file under video library named: usefasthash. This is basically for: !-- defaults to true. Set to false in order to skip hashing based on the folders modification time.
So I made sure this key was set to true but my question is: when Kodi checks for updating the library, how does it work? Does it check at the Source folder (i.e. MOVIES) and then compare its registered hashing to see if something was modified or it does not care and goes to all folders to check if it was modified or not?
In my case, as my file structure is set this way (Videos>Movies>Drama>Movie Name), I want the hashing to be completed/compared at the "Drama" folder, not any other folder. That way, Kodi would only have to check 10 to 15 folders to see if it needs to update the library or not. Right now, even if there has been no updates in my file structure (no new movie added/deleted), when the auto-update of the library runs, Kodi will scan all folders even if the hashing has not changed at all... And it takes forever to complete even if my home network is all 1Gbps based. So I need to know here that hashing comparison occurs... If it is as the SOURCE level, I will create multiple sources (ACTION, DRAMA, COMEDY, etc.) and then will let the hashing comparison to do its magic...
Am I missing something?
Thanks for your help!
Jeff.